| /* Copyright (c) 2012, Code Aurora Forum. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| |
| /dts-v1/; |
| |
| /include/ "msm9625.dtsi" |
| |
| / { |
| model = "Qualcomm MSM 9625 MTP"; |
| compatible = "qcom,msm9625-mtp", "qcom,msm9625"; |
| qcom,msm-id = <134 7 0>, <152 7 0>; |
| }; |
| |
| /* PM8019 GPIO and MPP configuration */ |
| &pm8019_gpios { |
| gpio@c000 { /* GPIO 1 */ |
| }; |
| |
| gpio@c100 { /* GPIO 2 */ |
| }; |
| |
| gpio@c200 { /* GPIO 3 */ |
| }; |
| |
| gpio@c300 { /* GPIO 4 */ |
| /* ext_2p95v regulator enable config */ |
| qcom,mode = <1>; /* Digital output */ |
| qcom,output-type = <0>; /* CMOS */ |
| qcom,invert = <0>; /* Output low */ |
| qcom,out-strength = <1>; /* Low */ |
| qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ |
| qcom,src-select = <0>; /* Constant */ |
| qcom,master-en = <1>; /* Enable GPIO */ |
| }; |
| |
| gpio@c400 { /* GPIO 5 */ |
| }; |
| |
| gpio@c500 { /* GPIO 6 */ |
| }; |
| }; |
| |
| &pm8019_mpps { |
| mpp@a000 { /* MPP 1 */ |
| }; |
| |
| mpp@a100 { /* MPP 2 */ |
| }; |
| |
| mpp@a200 { /* MPP 3 */ |
| }; |
| |
| mpp@a300 { /* MPP 4 */ |
| }; |
| |
| mpp@a400 { /* MPP 5 */ |
| }; |
| |
| mpp@a500 { /* MPP 6 */ |
| }; |
| }; |