blob: e5f083a5a37a389725ead29f27d92516e11a48c3 [file] [log] [blame]
Stepan Moskovchenko632d4162013-01-24 16:00:08 -08001/* 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
Stepan Moskovchenko920a1012013-04-26 14:34:14 -070013/include/ "skeleton64.dtsi"
Stepan Moskovchenko632d4162013-01-24 16:00:08 -080014
15/ {
Stepan Moskovchenkoe90cd652013-04-18 12:54:47 -070016 model = "Qualcomm APQ 8084";
17 compatible = "qcom,apq8084";
Stepan Moskovchenko632d4162013-01-24 16:00:08 -080018 interrupt-parent = <&intc>;
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070019 soc: soc { };
20};
21
22/include/ "apq8084-ion.dtsi"
Jeff Hugo94686722013-05-17 17:37:33 -060023/include/ "apq8084-smp2p.dtsi"
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070024
25&soc {
26 #address-cells = <1>;
27 #size-cells = <1>;
Stepan Moskovchenko920a1012013-04-26 14:34:14 -070028 ranges = <0 0 0 0xffffffff>;
Stepan Moskovchenko632d4162013-01-24 16:00:08 -080029
30 intc: interrupt-controller@f9000000 {
31 compatible = "qcom,msm-qgic2";
32 interrupt-controller;
33 #interrupt-cells = <3>;
34 reg = <0xF9000000 0x1000>,
35 <0xF9002000 0x1000>;
36 };
37
38 msmgpio: gpio@fd510000 {
39 compatible = "qcom,msm-gpio";
40 gpio-controller;
41 #gpio-cells = <2>;
42 interrupt-controller;
43 #interrupt-cells = <2>;
44 reg = <0xfd510000 0x4000>;
45 ngpio = <146>;
46 interrupts = <0 208 0>;
47 qcom,direct-connect-irqs = <8>;
48 };
49
50 timer {
51 compatible = "arm,armv7-timer";
52 interrupts = <1 2 0 1 3 0>;
53 clock-frequency = <19200000>;
54 };
55
56 serial@f991f000 {
57 compatible = "qcom,msm-lsuart-v14";
58 reg = <0xf991f000 0x1000>;
59 interrupts = <0 109 0>;
60 status = "disabled";
61 };
62
63 qcom,cache_erp {
64 compatible = "qcom,cache_erp";
65 interrupts = <1 9 0>, <0 2 0>;
66 interrupt-names = "l1_irq", "l2_irq";
67 };
68
69 qcom,cache_dump {
70 compatible = "qcom,cache_dump";
71 qcom,l1-dump-size = <0x100000>;
72 qcom,l2-dump-size = <0x500000>;
73 qcom,memory-reservation-type = "EBI1";
74 qcom,memory-reservation-size = <0x600000>; /* 6M EBI1 buffer */
75 };
76
77 rpm_bus: qcom,rpm-smd {
78 compatible = "qcom,rpm-smd";
79 rpm-channel-name = "rpm_requests";
80 rpm-channel-type = <15>; /* SMD_APPS_RPM */
81 rpm-standalone;
82 };
83
Stepan Moskovchenkob8dd6a92013-03-18 18:53:34 -070084 qcom,msm-imem@fe805000 {
85 compatible = "qcom,msm-imem";
86 reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
Laura Abbott2fd1fc62013-03-05 14:30:47 -080087 };
88
89 qcom,msm-rtb {
90 compatible = "qcom,msm-rtb";
91 qcom,memory-reservation-type = "EBI1";
92 qcom,memory-reservation-size = <0x100000>; /* 1M EBI1 buffer */
93 };
Stepan Moskovchenkob8dd6a92013-03-18 18:53:34 -070094
Venkat Gopalakrishnand7ba4e32013-03-29 19:51:19 -070095 sdcc1: qcom,sdcc@f9824000 {
96 cell-index = <1>; /* SDC1 eMMC slot */
97 compatible = "qcom,msm-sdcc";
98 reg = <0xf9824000 0x800>;
99 reg-names = "core_mem";
100 interrupts = <0 123 0>;
101 interrupt-names = "core_irq";
102
103 qcom,bus-width = <8>;
104 status = "disabled";
105 };
106
107 sdcc2: qcom,sdcc@f98a4000 {
108 cell-index = <2>; /* SDC2 SD card slot */
109 compatible = "qcom,msm-sdcc";
110 reg = <0xf98a4000 0x800>;
111 reg-names = "core_mem";
112 interrupts = <0 125 0>;
113 interrupt-names = "core_irq";
114
115
116 qcom,bus-width = <4>;
117 status = "disabled";
118 };
Kenneth Heitke72e12c02013-04-22 17:30:58 -0600119
Yan He43173652013-06-05 17:52:41 -0700120 qcom,sps@f9980000 {
121 compatible = "qcom,msm_sps";
122 reg = <0xf9984000 0x15000>,
123 <0xf9999000 0xb000>;
124 interrupts = <0 94 0>;
125 qcom,pipe-attr-ee;
126 };
127
Kenneth Heitke72e12c02013-04-22 17:30:58 -0600128 spmi_bus: qcom,spmi@fc4c0000 {
129 cell-index = <0>;
130 compatible = "qcom,spmi-pmic-arb";
131 reg-names = "core", "intr", "cnfg";
132 reg = <0xfc4cf000 0x1000>,
133 <0Xfc4cb000 0x1000>,
134 <0Xfc4ca000 0x1000>;
135 /* 190,ee0_krait_hlos_spmi_periph_irq */
136 /* 187,channel_0_krait_hlos_trans_done_irq */
137 interrupts = <0 190 0>, <0 187 0>;
138 qcom,not-wakeup;
139 qcom,pmic-arb-ee = <0>;
140 qcom,pmic-arb-channel = <0>;
141 #address-cells = <1>;
142 #size-cells = <0>;
143 interrupt-controller;
144 #interrupt-cells = <3>;
145 };
Hemant Kumar303c9412013-04-19 12:33:31 -0700146
Gilad Avidovc3bbe602013-05-16 17:17:13 -0600147 i2c_0: i2c@f9925000 { /* BLSP1 QUP3 */
148 cell-index = <0>;
149 compatible = "qcom,i2c-qup";
150 #address-cells = <1>;
151 #size-cells = <0>;
152 reg-names = "qup_phys_addr";
153 reg = <0xf9925000 0x1000>;
154 interrupt-names = "qup_err_intr";
155 interrupts = <0 97 0>;
156 qcom,i2c-bus-freq = <100000>;
157 qcom,i2c-src-freq = <50000000>;
158 qcom,sda-gpio = <&msmgpio 10 0>;
159 qcom,scl-gpio = <&msmgpio 11 0>;
160 };
161
Hemant Kumar303c9412013-04-19 12:33:31 -0700162 usb3: qcom,ssusb@f9200000 {
163 compatible = "qcom,dwc-usb3-msm";
164 reg = <0xf9200000 0xfc000>,
165 <0xfd4ab000 0x4>;
166 #address-cells = <1>;
167 #size-cells = <1>;
168 ranges;
169 interrupts = <0 133 0>;
170 interrupt-names = "hs_phy_irq";
171 ssusb_vdd_dig-supply = <&pma8084_s1>;
172 SSUSB_1p8-supply = <&pma8084_l6>;
173 hsusb_vdd_dig-supply = <&pma8084_s1>;
174 HSUSB_1p8-supply = <&pma8084_l6>;
175 HSUSB_3p3-supply = <&pma8084_l24>;
176 qcom,dwc-usb3-msm-dbm-eps = <4>;
177 qcom,vdd-voltage-level = <0 900000 1050000>;
178
179 dwc3@f9200000 {
180 compatible = "synopsys,dwc3";
181 reg = <0xf9200000 0xfc000>;
182 interrupt-parent = <&intc>;
183 interrupts = <0 131 0>, <0 179 0>;
184 interrupt-names = "irq", "otg_irq";
185 tx-fifo-resize;
186 };
187 };
188
189 android_usb {
190 compatible = "qcom,android-usb";
191 };
Neeti Desai3db510c2013-04-29 14:31:31 -0700192
Siddartha Mohanadoss6ee10912013-05-16 08:07:08 -0700193 tsens: tsens@fc4a8000 {
194 compatible = "qcom,msm-tsens";
195 reg = <0xfc4a8000 0x2000>,
196 <0xfc4b8000 0x1000>;
197 reg-names = "tsens_physical", "tsens_eeprom_physical";
198 interrupts = <0 184 0>;
199 qcom,sensors = <11>;
200 qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200
201 3200 3200>;
202 qcom,calib-mode = "fuse_map1";
203 };
204
Neeti Desai3db510c2013-04-29 14:31:31 -0700205 qcom,ocmem@fdd00000 {
206 compatible = "qcom,msm-ocmem";
207 reg = <0xfdd00000 0x2000>,
208 <0xfdd02000 0x2000>,
209 <0xfe039000 0x400>,
210 <0xfec00000 0x200000>;
211 reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
212 interrupts = <0 76 0 0 77 0>;
213 interrupt-names = "ocmem_irq", "dm_irq";
214 qcom,ocmem-num-regions = <0x4>;
215 qcom,ocmem-num-macros = <0x20>;
216 qcom,resource-type = <0x706d636f>;
217 #address-cells = <1>;
218 #size-cells = <1>;
219 ranges = <0x0 0xfec00000 0x200000>;
220
221 partition@0 {
222 reg = <0x0 0x180000>;
223 qcom,ocmem-part-name = "graphics";
224 qcom,ocmem-part-min = <0x80000>;
225 };
226
227 partition@80000 {
228 reg = <0x180000 0x80000>;
229 qcom,ocmem-part-name = "lp_audio";
230 qcom,ocmem-part-min = <0x80000>;
231 };
232
233 partition@100000 {
234 reg = <0x180000 0x80000>;
235 qcom,ocmem-part-name = "video";
236 qcom,ocmem-part-min = <0x55000>;
237 };
238
239 };
Laura Abbott8fadcbc2013-05-17 17:44:16 -0700240
241 memory_hole: qcom,msm-mem-hole {
242 compatible = "qcom,msm-mem-hole";
243 qcom,memblock-remove = <0x0dc00000 0x2000000>; /* Address and Size of Hole */
244 };
Jeff Hugo762c2cd2013-05-17 13:25:36 -0600245
246 qcom,ipc-spinlock@fd484000 {
247 compatible = "qcom,ipc-spinlock-sfpb";
248 reg = <0xfd484000 0x400>;
249 qcom,num-locks = <8>;
250 };
Jeff Hugoa1d67b32013-05-17 17:26:34 -0600251
252 qcom,smem@fa00000 {
253 compatible = "qcom,smem";
254 reg = <0xfa00000 0x200000>,
255 <0xf9011000 0x1000>,
256 <0xfc428000 0x4000>;
257 reg-names = "smem", "irq-reg-base", "aux-mem1";
258
259 qcom,smd-adsp {
260 compatible = "qcom,smd";
261 qcom,smd-edge = <1>;
262 qcom,smd-irq-offset = <0x8>;
263 qcom,smd-irq-bitmask = <0x100>;
264 qcom,pil-string = "adsp";
265 interrupts = <0 156 1>;
266 };
267
268 qcom,smsm-adsp {
269 compatible = "qcom,smsm";
270 qcom,smsm-edge = <1>;
271 qcom,smsm-irq-offset = <0x8>;
272 qcom,smsm-irq-bitmask = <0x200>;
273 interrupts = <0 157 1>;
274 };
275
276 qcom,smd-rpm {
277 compatible = "qcom,smd";
278 qcom,smd-edge = <15>;
279 qcom,smd-irq-offset = <0x8>;
280 qcom,smd-irq-bitmask = <0x1>;
281 interrupts = <0 168 1>;
282 qcom,irq-no-suspend;
283 };
284 };
Stepan Moskovchenko632d4162013-01-24 16:00:08 -0800285};
David Collinsce8b1162013-04-23 09:01:57 -0700286
287/include/ "msm-pma8084.dtsi"
David Collinsb8e4fe52013-04-23 09:04:30 -0700288/include/ "apq8084-regulator.dtsi"
Siddartha Mohanadoss6298e992013-05-16 08:38:36 -0700289
290&pma8084_vadc {
291 chan@b0 {
292 label = "apq_therm";
293 reg = <0xb0>;
294 qcom,decimation = <0>;
295 qcom,pre-div-channel-scaling = <0>;
296 qcom,calibration-type = "ratiometric";
297 qcom,scale-function = <2>;
298 qcom,hw-settle-time = <2>;
299 qcom,fast-avg-setup = <0>;
300 };
301
302 chan@b3 {
303 label = "quiet_therm";
304 reg = <0xb3>;
305 qcom,decimation = <0>;
306 qcom,pre-div-channel-scaling = <0>;
307 qcom,calibration-type = "ratiometric";
308 qcom,scale-function = <2>;
309 qcom,hw-settle-time = <2>;
310 qcom,fast-avg-setup = <0>;
311 };
312};
313
314&pma8084_adc_tm {
315 chan@8 {
316 label = "die_temp";
317 reg = <8>;
318 qcom,decimation = <0>;
319 qcom,pre-div-channel-scaling = <0>;
320 qcom,calibration-type = "absolute";
321 qcom,scale-function = <3>;
322 qcom,hw-settle-time = <0>;
323 qcom,fast-avg-setup = <3>;
324 qcom,btm-channel-number = <0x48>;
325 };
326
327 chan@b0 {
328 label = "apq_therm";
329 reg = <0xb0>;
330 qcom,decimation = <0>;
331 qcom,pre-div-channel-scaling = <0>;
332 qcom,calibration-type = "ratiometric";
333 qcom,scale-function = <2>;
334 qcom,hw-settle-time = <2>;
335 qcom,fast-avg-setup = <3>;
336 qcom,btm-channel-number = <0x68>;
337 qcom,thermal-node;
338 };
339
340 chan@b3 {
341 label = "quiet_therm";
342 reg = <0xb3>;
343 qcom,decimation = <0>;
344 qcom,pre-div-channel-scaling = <0>;
345 qcom,calibration-type = "ratiometric";
346 qcom,scale-function = <2>;
347 qcom,hw-settle-time = <2>;
348 qcom,fast-avg-setup = <3>;
349 qcom,btm-channel-number = <0x70>;
350 qcom,thermal-node;
351 };
352};