blob: de7270d4f684be69abcd7cee7f7e1785d1bab7d2 [file] [log] [blame]
Hanumant Singhce222232013-03-19 14:19:59 -07001/* Copyright (c) 2013, The Linux Foundation. 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/ "msm8610.dtsi"
16
17/ {
18 model = "Qualcomm MSM 8610 MTP";
Stepan Moskovchenkoa971a752013-04-03 16:51:37 -070019 compatible = "qcom,msm8610-mtp", "qcom,msm8610", "qcom,mtp";
David Ng6ff163e2013-04-08 20:30:37 -070020 qcom,msm-id = <147 8 0>, <165 8 0>;
Hanumant Singhce222232013-03-19 14:19:59 -070021
22 serial@f991f000 {
23 status = "ok";
24 };
25};
26
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -070027&sdhc_1 {
28 vdd-supply = <&pm8110_l17>;
29 qcom,vdd-always-on;
30 qcom,vdd-lpm-sup;
31 qcom,vdd-voltage-level = <2900000 2900000>;
32 qcom,vdd-current-level = <200 400000>;
33
34 vdd-io-supply = <&pm8110_l6>;
35 qcom,vdd-io-always-on;
36 qcom,vdd-io-voltage-level = <1800000 1800000>;
37 qcom,vdd-io-current-level = <200 60000>;
38
39 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
40 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
41 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
42 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
43
44 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
45 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
46 qcom,nonremovable;
47
Venkat Gopalakrishnan587b2252013-04-05 12:16:50 -070048 status = "ok";
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -070049};
50
51&sdhc_2 {
52 vdd-supply = <&pm8110_l18>;
53 qcom,vdd-voltage-level = <2950000 2950000>;
54 qcom,vdd-current-level = <15000 400000>;
55
56 vdd-io-supply = <&pm8110_l21>;
57 qcom,vdd-io-always-on;
58 qcom,vdd-io-lpm-sup;
59 qcom,vdd-io-voltage-level = <1800000 2950000>;
60 qcom,vdd-io-current-level = <200 50000>;
61
62 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
63 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
64 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
65 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
66
67 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
68
69 #address-cells = <0>;
70 interrupt-parent = <&sdhc_2>;
71 interrupts = <0 1 2>;
72 #interrupt-cells = <1>;
73 interrupt-map-mask = <0xffffffff>;
74 interrupt-map = <0 &intc 0 125 0
75 1 &intc 0 221 0
76 2 &msmgpio 42 0x3>;
77 interrupt-names = "hc_irq", "pwr_irq", "status_irq";
78 cd-gpios = <&msmgpio 42 0x1>;
79
Venkat Gopalakrishnan587b2252013-04-05 12:16:50 -070080 status = "ok";
Venkat Gopalakrishnana6ce5f22013-04-04 14:24:57 -070081};
Xiaozhe Shif7d9daf2013-04-08 15:29:55 -070082
83&pm8110_chg {
84 status = "ok";
Xiaozhe Shi8bc042a2013-04-18 15:44:08 -070085 qcom,charging-disabled;
Xiaozhe Shif7d9daf2013-04-08 15:29:55 -070086
Xiaozhe Shi8bc042a2013-04-18 15:44:08 -070087 qcom,chgr@1000 {
Xiaozhe Shif7d9daf2013-04-08 15:29:55 -070088 status = "ok";
89 };
90
Xiaozhe Shi8bc042a2013-04-18 15:44:08 -070091 qcom,buck@1100 {
Xiaozhe Shif7d9daf2013-04-08 15:29:55 -070092 status = "ok";
93 };
94
Xiaozhe Shi8bc042a2013-04-18 15:44:08 -070095 qcom,bat-if@1200 {
Xiaozhe Shif7d9daf2013-04-08 15:29:55 -070096 status = "ok";
97 };
98
Xiaozhe Shi8bc042a2013-04-18 15:44:08 -070099 qcom,usb-chgpth@1300 {
Xiaozhe Shif7d9daf2013-04-08 15:29:55 -0700100 status = "ok";
101 };
102
103 qcom,chg-misc@1600 {
104 status = "ok";
105 };
106};