blob: 2ce52680e4e3eb06566c47b95ee9f436d96cf734 [file] [log] [blame]
Sathish Ambley9d69ac32012-03-21 10:28:26 -07001/* 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 */
Sathish Ambley4df614c2011-10-07 16:30:46 -070012
13/include/ "skeleton.dtsi"
David Collins153d45a2012-03-26 11:57:50 -070014/include/ "msm-pm8841.dtsi"
15/include/ "msm-pm8941.dtsi"
16/include/ "msmcopper-regulator.dtsi"
Michael Bohan8b909b42012-04-18 17:39:12 -070017/include/ "msmcopper-gpio.dtsi"
Sathish Ambley4df614c2011-10-07 16:30:46 -070018
19/ {
20 model = "Qualcomm MSM Copper";
Sathish Ambley9d69ac32012-03-21 10:28:26 -070021 compatible = "qcom,msmcopper";
Sathish Ambley4df614c2011-10-07 16:30:46 -070022 interrupt-parent = <&intc>;
23
24 intc: interrupt-controller@F9000000 {
25 compatible = "qcom,msm-qgic2";
26 interrupt-controller;
Michael Bohanc7224532012-01-06 16:02:52 -080027 #interrupt-cells = <3>;
Sathish Ambley4df614c2011-10-07 16:30:46 -070028 reg = <0xF9000000 0x1000>,
29 <0xF9002000 0x1000>;
30 };
Sathish Ambley3d50c762011-10-25 15:26:00 -070031
Michael Bohan0425f6f2012-01-17 14:36:39 -080032 msmgpio: gpio@fd400000 {
33 compatible = "qcom,msm-gpio";
34 interrupt-controller;
35 #interrupt-cells = <2>;
36 reg = <0xfd400000 0x4000>;
37 };
38
Sathish Ambley098f9bd2011-11-09 16:32:53 -080039 timer {
Sathish Ambley2f27a172012-03-16 10:46:28 -070040 compatible = "qcom,msm-qtimer", "arm,armv7-timer";
Michael Bohanc7224532012-01-06 16:02:52 -080041 interrupts = <1 2 0>;
Sathish Ambley2f27a172012-03-16 10:46:28 -070042 clock-frequency = <19200000>;
Sathish Ambley098f9bd2011-11-09 16:32:53 -080043 };
44
David Brown225abee2012-02-09 22:28:50 -080045 serial@f991f000 {
Sathish Ambley3d50c762011-10-25 15:26:00 -070046 compatible = "qcom,msm-lsuart-v14";
David Brown225abee2012-02-09 22:28:50 -080047 reg = <0xf991f000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080048 interrupts = <0 109 0>;
Sathish Ambley3d50c762011-10-25 15:26:00 -070049 };
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053050
Sathish Ambley9d69ac32012-03-21 10:28:26 -070051 serial@f995e000 {
52 compatible = "qcom,msm-lsuart-v14";
53 reg = <0xf995e000 0x1000>;
54 interrupts = <0 114 0>;
55 };
56
David Brown225abee2012-02-09 22:28:50 -080057 usb@f9a55000 {
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053058 compatible = "qcom,hsusb-otg";
David Brown225abee2012-02-09 22:28:50 -080059 reg = <0xf9a55000 0x400>;
Michael Bohanc7224532012-01-06 16:02:52 -080060 interrupts = <0 134 0>;
Michael Bohane66a3a92012-03-26 12:47:28 -070061 HSUSB_VDDCX-supply = <&pm8841_s2>;
62 HSUSB_1p8-supply = <&pm8941_l6>;
63 HSUSB_3p3-supply = <&pm8941_l24>;
Pavankumar Kondetieaea7fe2011-10-27 14:46:45 +053064
65 qcom,hsusb-otg-phy-type = <2>;
66 qcom,hsusb-otg-mode = <1>;
67 qcom,hsusb-otg-otg-control = <1>;
68 };
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053069
David Brown225abee2012-02-09 22:28:50 -080070 qcom,sdcc@f980b000 {
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053071 cell-index = <1>;
72 compatible = "qcom,msm-sdcc";
David Brown225abee2012-02-09 22:28:50 -080073 reg = <0xf980b000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080074 interrupts = <0 123 0>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053075
Vikram Mulukutlab452a842012-04-17 11:36:30 -070076 qcom,sdcc-clk-rates = <400000 25000000 50000000 96000000 192000000>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053077 qcom,sdcc-sup-voltages = <3300 3300>;
78 qcom,sdcc-bus-width = <8>;
Subhash Jadavani56e0eaa2012-03-13 18:06:04 +053079 qcom,sdcc-hs200;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053080 qcom,sdcc-nonremovable;
81 qcom,sdcc-disable_cmd23;
82 };
83
David Brown225abee2012-02-09 22:28:50 -080084 qcom,sdcc@f984b000 {
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053085 cell-index = <3>;
86 compatible = "qcom,msm-sdcc";
David Brown225abee2012-02-09 22:28:50 -080087 reg = <0xf984b000 0x1000>;
Michael Bohanc7224532012-01-06 16:02:52 -080088 interrupts = <0 127 0>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053089
Vikram Mulukutlab452a842012-04-17 11:36:30 -070090 qcom,sdcc-clk-rates = <400000 25000000 50000000>;
Sujit Reddy Thumma7285c2e2011-11-04 10:18:15 +053091 qcom,sdcc-sup-voltages = <3300 3300>;
92 qcom,sdcc-bus-width = <4>;
93 qcom,sdcc-disable_cmd23;
94 };
Yan He1466daa2011-11-30 17:25:38 -080095
David Brown225abee2012-02-09 22:28:50 -080096 qcom,sps@f9980000 {
Yan He1466daa2011-11-30 17:25:38 -080097 compatible = "qcom,msm_sps";
David Brown225abee2012-02-09 22:28:50 -080098 reg = <0xf9984000 0x15000>,
99 <0xf9999000 0xb000>;
Michael Bohanc7224532012-01-06 16:02:52 -0800100 interrupts = <0 94 0>;
Yan He1466daa2011-11-30 17:25:38 -0800101
102 qcom,bam-dma-res-pipes = <6>;
103 };
104
Harini Jayaraman5f98dbb2011-12-20 13:38:19 -0700105 spi@f9924000 {
106 compatible = "qcom,spi-qup-v2";
107 reg = <0xf9924000 0x1000>;
Michael Bohan857c8ac2012-01-23 16:57:34 -0800108 interrupts = <0 96 0>;
Harini Jayaraman5f98dbb2011-12-20 13:38:19 -0700109 spi-max-frequency = <24000000>;
110 };
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700111
Sagar Dhariaa316a962012-03-21 16:13:22 -0600112 slim@fe12f000 {
113 cell-index = <1>;
114 compatible = "qcom,slim-msm";
115 reg = <0xfe12f000 0x35000>,
116 <0xfe104000 0x20000>;
117 reg-names = "slimbus_physical", "slimbus_bam_physical";
118 interrupts = <0 163 0 0 164 0>;
119 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
120 qcom,min-clk-gear = <10>;
121 };
122
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700123 qcom,spmi@fc4c0000 {
124 cell-index = <0>;
125 compatible = "qcom,spmi-pmic-arb";
126 reg = <0xfc4cf000 0x1000>,
127 <0Xfc4cb000 0x1000>;
128 /* 190,ee0_krait_hlos_spmi_periph_irq */
129 /* 187,channel_0_krait_hlos_trans_done_irq */
130 interrupts = <0 190 0 0 187 0>;
131 qcom,pmic-arb-ee = <0>;
132 qcom,pmic-arb-channel = <0>;
Gilad Avidova11c0b52012-02-15 15:30:49 -0700133 qcom,pmic-arb-ppid-map = <0x13000000>, /* PM8941_LDO1 */
134 <0x13100001>, /* PM8941_LDO2 */
135 <0x13200002>, /* PM8941_LDO3 */
136 <0x13300003>, /* PM8941_LDO4 */
137 <0x13400004>, /* PM8941_LDO5 */
138 <0x13500005>, /* PM8941_LDO6 */
139 <0x13600006>, /* PM8941_LDO7 */
140 <0x13700007>, /* PM8941_LDO8 */
141 <0x13800008>, /* PM8941_LDO9 */
142 <0x13900009>, /* PM8941_LDO10 */
143 <0x13a0000a>, /* PM8941_LDO11 */
144 <0x13b0000b>, /* PM8941_LDO12 */
145 <0x13c0000c>, /* PM8941_LDO13 */
146 <0x13d0000d>, /* PM8941_LDO14 */
147 <0x13e0000e>, /* PM8941_LDO15 */
148 <0x13f0000f>, /* PM8941_LDO16 */
149 <0x14000010>, /* PM8941_LDO17 */
150 <0x14100011>, /* PM8941_LDO18 */
151 <0x14200012>, /* PM8941_LDO19 */
152 <0x14300013>, /* PM8941_LDO20 */
153 <0x14400014>, /* PM8941_LDO21 */
154 <0x14500015>, /* PM8941_LDO22 */
155 <0x14600016>, /* PM8941_LDO23 */
156 <0x14700017>, /* PM8941_LDO24 */
157 <0x14800018>, /* PM8941_LDO25 */
158 <0x14900019>, /* PM8941_LDO26 */
159 <0x0c00001a>, /* PM8941_GPIO1 */
160 <0x0c10001b>, /* PM8941_GPIO2 */
161 <0x0c20001c>, /* PM8941_GPIO3 */
162 <0x0c30001d>, /* PM8941_GPIO4 */
163 <0x0c40001e>, /* PM8941_GPIO5 */
164 <0x0c50001f>, /* PM8941_GPIO6 */
165 <0x0c600020>, /* PM8941_GPIO7 */
166 <0x0c700021>, /* PM8941_GPIO8 */
167 <0x0c800022>, /* PM8941_GPIO9 */
168 <0x0c900023>, /* PM8941_GPIO10 */
169 <0x0ca00024>, /* PM8941_GPIO11 */
170 <0x0cb00025>, /* PM8941_GPIO12 */
171 <0x0cc00026>, /* PM8941_GPIO13 */
172 <0x0cd00027>, /* PM8941_GPIO14 */
173 <0x0ce00028>, /* PM8941_GPIO15 */
174 <0x0cf00029>, /* PM8941_GPIO16 */
175 <0x0d00002a>, /* PM8941_GPIO17 */
176 <0x0d10002b>, /* PM8941_GPIO18 */
177 <0x0d20002c>, /* PM8941_GPIO19 */
178 <0x0d30002d>, /* PM8941_GPIO20 */
179 <0x0d40002e>, /* PM8941_GPIO21 */
180 <0x0d50002f>, /* PM8941_GPIO22 */
181 <0x0d600030>, /* PM8941_GPIO23 */
182 <0x0d700031>, /* PM8941_GPIO24 */
183 <0x0d800032>, /* PM8941_GPIO25 */
184 <0x0d900033>, /* PM8941_GPIO26 */
185 <0x0da00034>, /* PM8941_GPIO27 */
186 <0x0db00035>, /* PM8941_GPIO28 */
187 <0x0dc00036>, /* PM8941_GPIO29 */
188 <0x0dd00037>, /* PM8941_GPIO30 */
189 <0x0de00038>, /* PM8941_GPIO31 */
190 <0x0df00039>, /* PM8941_GPIO32 */
191 <0x0e00003a>, /* PM8941_GPIO33 */
192 <0x0e10003b>, /* PM8941_GPIO34 */
193 <0x0e20003c>, /* PM8941_GPIO35 */
194 <0x0e30003d>, /* PM8941_GPIO36 */
195 <0x0280003e>, /* COINCELL */
196 <0x0100003f>, /* SMBC_OVP */
197 <0x01100040>, /* SMBC_CHG */
198 <0x01200041>, /* SMBC_BIF */
199 <0x00500042>, /* INTERRUPT */
200 <0x00100043>, /* PM8941_0 */
201 <0x20100044>, /* PM8841_0 */
202 <0x10100045>, /* PM8941_1 */
203 <0x30100046>, /* PM8841_1 */
204 <0x00800047>, /* PON0 */
205 <0x20800048>, /* PON1 */
206 <0x11000049>, /* PM8941_SMPS1 */
207 <0x1110004a>, /* PM8941_SMPS2 */
208 <0x1120004b>, /* PM8941_SMPS3 */
209 <0x3100004c>, /* PM8841_SMPS1 */
210 <0x3110004d>, /* PM8841_SMPS2 */
211 <0x3120004e>, /* PM8841_SMPS3 */
212 <0x3130004f>, /* PM8841_SMPS4 */
213 <0x31400050>, /* PM8841_SMPS5 */
214 <0x31500051>, /* PM8841_SMPS6 */
215 <0x31600052>, /* PM8841_SMPS7 */
216 <0x31700053>, /* PM8841_SMPS8 */
217 <0x05000054>, /* SHARED_XO */
218 <0x05100055>, /* BB_CLK1 */
219 <0x05200056>, /* BB_CLK2 */
220 <0x05900057>, /* SLEEP_CLK */
221 <0x07000058>, /* PBS_CORE */
222 <0x07100059>, /* PBS_CLIENT1 */
223 <0x0720005a>; /* PBS_CLIENT2 */
Kenneth Heitkef3c829c2012-01-13 17:02:43 -0700224 };
Sagar Dharia218edb92012-01-15 18:03:01 -0700225
226 i2c@f9966000 {
227 cell-index = <0>;
228 compatible = "qcom,i2c-qup";
229 reg = <0Xf9966000 0x1000>;
230 reg-names = "qup_phys_addr";
231 interrupts = <0 104 0>;
232 interrupt-names = "qup_err_intr";
233 qcom,i2c-bus-freq = <100000>;
234 qcom,i2c-src-freq = <24000000>;
235 };
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800236
Matt Wagantall48523022012-04-23 13:28:42 -0700237 qcom,acpuclk@f9000000 {
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800238 compatible = "qcom,acpuclk-copper";
239 };
Ido Shayevitzef72ddd2012-03-28 18:55:55 +0200240
241 qcom,ssusb@F9200000 {
242 compatible = "qcom,dwc-usb3-msm";
243 reg = <0xF9200000 0xCCFF>;
244 interrupts = <0 131 0>;
245 qcom,dwc-usb3-msm-dbm-eps = <4>;
246 };
Matt Wagantallc2bbdc32012-03-21 19:44:50 -0700247
248 qcom,lpass@fe200000 {
249 compatible = "qcom,pil-q6v5-lpass";
250 reg = <0xfe200000 0x00100>,
251 <0xfe000000 0x40000>,
252 <0xfd485100 0x00010>;
253
254 qcom,firmware-name = "lpass";
255 };
Tianyi Gouc1e049f82011-11-23 14:20:16 -0800256
257 qcom,pronto@fb21b000 {
258 compatible = "qcom,pil-pronto";
259 reg = <0xfb21b000 0x3000>,
260 <0xfc401700 0x4>,
261 <0xfd485300 0xc>;
262 vdd_pronto_pll-supply = <&pm8941_l12>;
263
264 qcom,firmware-name = "wcnss";
265 };
Sathish Ambley4df614c2011-10-07 16:30:46 -0700266};