Abhimanyu Kapur | 3030fd7 | 2012-09-04 11:35:10 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2012, Code Aurora Forum. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | |
| 15 | /include/ "msm9625.dtsi" |
| 16 | |
| 17 | / { |
| 18 | model = "Qualcomm MSM 9625 CDP"; |
| 19 | compatible = "qcom,msm9625-cdp", "qcom,msm9625"; |
Abhimanyu Kapur | 70ec58a | 2012-10-08 18:58:24 -0700 | [diff] [blame] | 20 | qcom,msm-id = <134 1 0>, <152 1 0>; |
Abhimanyu Kapur | 3030fd7 | 2012-09-04 11:35:10 -0700 | [diff] [blame] | 21 | }; |
David Collins | ad5d0c9 | 2012-09-24 17:08:14 -0700 | [diff] [blame] | 22 | |
| 23 | /* PM8019 GPIO and MPP configuration */ |
| 24 | &pm8019_gpios { |
| 25 | gpio@c000 { /* GPIO 1 */ |
| 26 | }; |
| 27 | |
| 28 | gpio@c100 { /* GPIO 2 */ |
| 29 | }; |
| 30 | |
| 31 | gpio@c200 { /* GPIO 3 */ |
| 32 | }; |
| 33 | |
| 34 | gpio@c300 { /* GPIO 4 */ |
Oluwafemi Adeyemi | ba1ea0c | 2012-10-12 16:04:48 -0700 | [diff] [blame] | 35 | /* ext_2p95v regulator enable config */ |
| 36 | qcom,mode = <1>; /* Digital output */ |
| 37 | qcom,output-type = <0>; /* CMOS */ |
| 38 | qcom,invert = <0>; /* Output low */ |
| 39 | qcom,out-strength = <1>; /* Low */ |
| 40 | qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ |
| 41 | qcom,src-select = <0>; /* Constant */ |
| 42 | qcom,master-en = <1>; /* Enable GPIO */ |
David Collins | ad5d0c9 | 2012-09-24 17:08:14 -0700 | [diff] [blame] | 43 | }; |
| 44 | |
| 45 | gpio@c400 { /* GPIO 5 */ |
| 46 | }; |
| 47 | |
| 48 | gpio@c500 { /* GPIO 6 */ |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | &pm8019_mpps { |
| 53 | mpp@a000 { /* MPP 1 */ |
| 54 | }; |
| 55 | |
| 56 | mpp@a100 { /* MPP 2 */ |
| 57 | }; |
| 58 | |
| 59 | mpp@a200 { /* MPP 3 */ |
| 60 | }; |
| 61 | |
| 62 | mpp@a300 { /* MPP 4 */ |
| 63 | }; |
| 64 | |
| 65 | mpp@a400 { /* MPP 5 */ |
| 66 | }; |
| 67 | |
| 68 | mpp@a500 { /* MPP 6 */ |
| 69 | }; |
| 70 | }; |