]>
Commit | Line | Data |
---|---|---|
5d0769f0 AB |
1 | /* |
2 | * Copyright 2012 Linaro Ltd | |
3 | * | |
4 | * The code contained herein is licensed under the GNU General Public | |
5 | * License. You may obtain a copy of the GNU General Public License | |
6 | * Version 2 or later at the following locations: | |
7 | * | |
8 | * http://www.opensource.org/licenses/gpl-license.html | |
9 | * http://www.gnu.org/copyleft/gpl.html | |
10 | */ | |
11 | ||
90c40257 | 12 | #include <dt-bindings/interrupt-controller/irq.h> |
807e8838 | 13 | #include "skeleton.dtsi" |
5d0769f0 AB |
14 | |
15 | / { | |
b1ba1439 | 16 | soc { |
5d0769f0 AB |
17 | #address-cells = <1>; |
18 | #size-cells = <1>; | |
7e0ce270 | 19 | compatible = "stericsson,db8500"; |
dab6487e | 20 | interrupt-parent = <&intc>; |
5d0769f0 | 21 | ranges; |
7e0ce270 | 22 | |
dab6487e LJ |
23 | intc: interrupt-controller@a0411000 { |
24 | compatible = "arm,cortex-a9-gic"; | |
25 | #interrupt-cells = <3>; | |
26 | #address-cells = <1>; | |
27 | interrupt-controller; | |
dab6487e LJ |
28 | reg = <0xa0411000 0x1000>, |
29 | <0xa0410100 0x100>; | |
30 | }; | |
31 | ||
f1949ea0 LJ |
32 | L2: l2-cache { |
33 | compatible = "arm,pl310-cache"; | |
34 | reg = <0xa0412000 0x1000>; | |
90c40257 | 35 | interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>; |
f1949ea0 LJ |
36 | cache-unified; |
37 | cache-level = <2>; | |
38 | }; | |
39 | ||
7e0ce270 LJ |
40 | pmu { |
41 | compatible = "arm,cortex-a9-pmu"; | |
90c40257 | 42 | interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
43 | }; |
44 | ||
71de5c46 LJ |
45 | timer@a0410600 { |
46 | compatible = "arm,cortex-a9-twd-timer"; | |
47 | reg = <0xa0410600 0x20>; | |
90c40257 | 48 | interrupts = <1 13 0x304>; /* IRQ level high per-CPU */ |
71de5c46 LJ |
49 | }; |
50 | ||
7e0ce270 | 51 | rtc@80154000 { |
ddb3b99c | 52 | compatible = "arm,rtc-pl031", "arm,primecell"; |
7e0ce270 | 53 | reg = <0x80154000 0x1000>; |
90c40257 | 54 | interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
55 | }; |
56 | ||
57 | gpio0: gpio@8012e000 { | |
58 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 59 | "st,nomadik-gpio"; |
7e0ce270 | 60 | reg = <0x8012e000 0x80>; |
90c40257 | 61 | interrupts = <0 119 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
62 | interrupt-controller; |
63 | #interrupt-cells = <2>; | |
61be4981 | 64 | st,supports-sleepmode; |
7e0ce270 | 65 | gpio-controller; |
c0b133bd LJ |
66 | #gpio-cells = <2>; |
67 | gpio-bank = <0>; | |
7e0ce270 LJ |
68 | }; |
69 | ||
70 | gpio1: gpio@8012e080 { | |
71 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 72 | "st,nomadik-gpio"; |
7e0ce270 | 73 | reg = <0x8012e080 0x80>; |
90c40257 | 74 | interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
75 | interrupt-controller; |
76 | #interrupt-cells = <2>; | |
61be4981 | 77 | st,supports-sleepmode; |
7e0ce270 | 78 | gpio-controller; |
c0b133bd LJ |
79 | #gpio-cells = <2>; |
80 | gpio-bank = <1>; | |
7e0ce270 LJ |
81 | }; |
82 | ||
83 | gpio2: gpio@8000e000 { | |
84 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 85 | "st,nomadik-gpio"; |
7e0ce270 | 86 | reg = <0x8000e000 0x80>; |
90c40257 | 87 | interrupts = <0 121 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
88 | interrupt-controller; |
89 | #interrupt-cells = <2>; | |
61be4981 | 90 | st,supports-sleepmode; |
7e0ce270 | 91 | gpio-controller; |
c0b133bd LJ |
92 | #gpio-cells = <2>; |
93 | gpio-bank = <2>; | |
7e0ce270 LJ |
94 | }; |
95 | ||
96 | gpio3: gpio@8000e080 { | |
97 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 98 | "st,nomadik-gpio"; |
7e0ce270 | 99 | reg = <0x8000e080 0x80>; |
90c40257 | 100 | interrupts = <0 122 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
101 | interrupt-controller; |
102 | #interrupt-cells = <2>; | |
61be4981 | 103 | st,supports-sleepmode; |
7e0ce270 | 104 | gpio-controller; |
c0b133bd LJ |
105 | #gpio-cells = <2>; |
106 | gpio-bank = <3>; | |
7e0ce270 LJ |
107 | }; |
108 | ||
109 | gpio4: gpio@8000e100 { | |
110 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 111 | "st,nomadik-gpio"; |
7e0ce270 | 112 | reg = <0x8000e100 0x80>; |
90c40257 | 113 | interrupts = <0 123 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
114 | interrupt-controller; |
115 | #interrupt-cells = <2>; | |
61be4981 | 116 | st,supports-sleepmode; |
7e0ce270 | 117 | gpio-controller; |
c0b133bd LJ |
118 | #gpio-cells = <2>; |
119 | gpio-bank = <4>; | |
7e0ce270 LJ |
120 | }; |
121 | ||
122 | gpio5: gpio@8000e180 { | |
123 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 124 | "st,nomadik-gpio"; |
7e0ce270 | 125 | reg = <0x8000e180 0x80>; |
90c40257 | 126 | interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
127 | interrupt-controller; |
128 | #interrupt-cells = <2>; | |
61be4981 | 129 | st,supports-sleepmode; |
7e0ce270 | 130 | gpio-controller; |
c0b133bd LJ |
131 | #gpio-cells = <2>; |
132 | gpio-bank = <5>; | |
7e0ce270 LJ |
133 | }; |
134 | ||
135 | gpio6: gpio@8011e000 { | |
136 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 137 | "st,nomadik-gpio"; |
7e0ce270 | 138 | reg = <0x8011e000 0x80>; |
90c40257 | 139 | interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
140 | interrupt-controller; |
141 | #interrupt-cells = <2>; | |
61be4981 | 142 | st,supports-sleepmode; |
7e0ce270 | 143 | gpio-controller; |
c0b133bd LJ |
144 | #gpio-cells = <2>; |
145 | gpio-bank = <6>; | |
7e0ce270 LJ |
146 | }; |
147 | ||
148 | gpio7: gpio@8011e080 { | |
149 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 150 | "st,nomadik-gpio"; |
7e0ce270 | 151 | reg = <0x8011e080 0x80>; |
90c40257 | 152 | interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
153 | interrupt-controller; |
154 | #interrupt-cells = <2>; | |
61be4981 | 155 | st,supports-sleepmode; |
7e0ce270 | 156 | gpio-controller; |
c0b133bd LJ |
157 | #gpio-cells = <2>; |
158 | gpio-bank = <7>; | |
7e0ce270 LJ |
159 | }; |
160 | ||
161 | gpio8: gpio@a03fe000 { | |
162 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 163 | "st,nomadik-gpio"; |
7e0ce270 | 164 | reg = <0xa03fe000 0x80>; |
90c40257 | 165 | interrupts = <0 127 IRQ_TYPE_LEVEL_HIGH>; |
93b5698a LJ |
166 | interrupt-controller; |
167 | #interrupt-cells = <2>; | |
61be4981 | 168 | st,supports-sleepmode; |
7e0ce270 | 169 | gpio-controller; |
c0b133bd LJ |
170 | #gpio-cells = <2>; |
171 | gpio-bank = <8>; | |
7e0ce270 LJ |
172 | }; |
173 | ||
8979cfef | 174 | pinctrl { |
818d99a9 | 175 | compatible = "stericsson,db8500-pinctrl"; |
8979cfef | 176 | prcm = <&prcmu>; |
5910de9e LJ |
177 | }; |
178 | ||
b32dc865 | 179 | usb_per5@a03e0000 { |
7e0ce270 LJ |
180 | compatible = "stericsson,db8500-musb", |
181 | "mentor,musb"; | |
182 | reg = <0xa03e0000 0x10000>; | |
90c40257 | 183 | interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; |
b32dc865 LJ |
184 | interrupt-names = "mc"; |
185 | ||
186 | dr_mode = "otg"; | |
187 | ||
188 | dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ | |
189 | <&dma 38 0 0x0>, /* Logical - MemToDev */ | |
190 | <&dma 37 0 0x2>, /* Logical - DevToMem */ | |
191 | <&dma 37 0 0x0>, /* Logical - MemToDev */ | |
192 | <&dma 36 0 0x2>, /* Logical - DevToMem */ | |
193 | <&dma 36 0 0x0>, /* Logical - MemToDev */ | |
194 | <&dma 19 0 0x2>, /* Logical - DevToMem */ | |
195 | <&dma 19 0 0x0>, /* Logical - MemToDev */ | |
196 | <&dma 18 0 0x2>, /* Logical - DevToMem */ | |
197 | <&dma 18 0 0x0>, /* Logical - MemToDev */ | |
198 | <&dma 17 0 0x2>, /* Logical - DevToMem */ | |
199 | <&dma 17 0 0x0>, /* Logical - MemToDev */ | |
200 | <&dma 16 0 0x2>, /* Logical - DevToMem */ | |
201 | <&dma 16 0 0x0>, /* Logical - MemToDev */ | |
202 | <&dma 39 0 0x2>, /* Logical - DevToMem */ | |
203 | <&dma 39 0 0x0>; /* Logical - MemToDev */ | |
204 | ||
205 | dma-names = "iep_1_9", "oep_1_9", | |
206 | "iep_2_10", "oep_2_10", | |
207 | "iep_3_11", "oep_3_11", | |
208 | "iep_4_12", "oep_4_12", | |
209 | "iep_5_13", "oep_5_13", | |
210 | "iep_6_14", "oep_6_14", | |
211 | "iep_7_15", "oep_7_15", | |
212 | "iep_8", "oep_8"; | |
7e0ce270 LJ |
213 | }; |
214 | ||
ba074aec LJ |
215 | dma: dma-controller@801C0000 { |
216 | compatible = "stericsson,db8500-dma40", "stericsson,dma40"; | |
7e0ce270 | 217 | reg = <0x801C0000 0x1000 0x40010000 0x800>; |
70d39a8d | 218 | reg-names = "base", "lcpa"; |
90c40257 | 219 | interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>; |
ba074aec LJ |
220 | |
221 | #dma-cells = <3>; | |
d37fcdb6 | 222 | memcpy-channels = <56 57 58 59 60>; |
7e0ce270 LJ |
223 | }; |
224 | ||
8979cfef | 225 | prcmu: prcmu@80157000 { |
7e0ce270 | 226 | compatible = "stericsson,db8500-prcmu"; |
4d26aa30 | 227 | reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>; |
e73081d9 | 228 | reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; |
90c40257 | 229 | interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 | 230 | #address-cells = <1>; |
3de3d749 | 231 | #size-cells = <1>; |
c09090bb LJ |
232 | interrupt-controller; |
233 | #interrupt-cells = <2>; | |
3de3d749 LJ |
234 | ranges; |
235 | ||
ccf74f76 | 236 | prcmu-timer-4@80157450 { |
3de3d749 LJ |
237 | compatible = "stericsson,db8500-prcmu-timer-4"; |
238 | reg = <0x80157450 0xC>; | |
239 | }; | |
7e0ce270 | 240 | |
dc1956b5 | 241 | thermal@801573c0 { |
242 | compatible = "stericsson,db8500-thermal"; | |
243 | reg = <0x801573c0 0x40>; | |
90c40257 LW |
244 | interrupts = <21 IRQ_TYPE_LEVEL_HIGH>, |
245 | <22 IRQ_TYPE_LEVEL_HIGH>; | |
dc1956b5 | 246 | interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; |
247 | status = "disabled"; | |
248 | }; | |
249 | ||
e5999f28 LJ |
250 | db8500-prcmu-regulators { |
251 | compatible = "stericsson,db8500-prcmu-regulator"; | |
252 | ||
253 | // DB8500_REGULATOR_VAPE | |
254 | db8500_vape_reg: db8500_vape { | |
da26848a | 255 | regulator-compatible = "db8500_vape"; |
e5999f28 LJ |
256 | regulator-always-on; |
257 | }; | |
258 | ||
259 | // DB8500_REGULATOR_VARM | |
260 | db8500_varm_reg: db8500_varm { | |
da26848a | 261 | regulator-compatible = "db8500_varm"; |
e5999f28 LJ |
262 | }; |
263 | ||
264 | // DB8500_REGULATOR_VMODEM | |
265 | db8500_vmodem_reg: db8500_vmodem { | |
da26848a | 266 | regulator-compatible = "db8500_vmodem"; |
e5999f28 LJ |
267 | }; |
268 | ||
269 | // DB8500_REGULATOR_VPLL | |
270 | db8500_vpll_reg: db8500_vpll { | |
da26848a | 271 | regulator-compatible = "db8500_vpll"; |
e5999f28 LJ |
272 | }; |
273 | ||
274 | // DB8500_REGULATOR_VSMPS1 | |
275 | db8500_vsmps1_reg: db8500_vsmps1 { | |
da26848a | 276 | regulator-compatible = "db8500_vsmps1"; |
e5999f28 LJ |
277 | }; |
278 | ||
279 | // DB8500_REGULATOR_VSMPS2 | |
280 | db8500_vsmps2_reg: db8500_vsmps2 { | |
da26848a | 281 | regulator-compatible = "db8500_vsmps2"; |
e5999f28 LJ |
282 | }; |
283 | ||
284 | // DB8500_REGULATOR_VSMPS3 | |
285 | db8500_vsmps3_reg: db8500_vsmps3 { | |
da26848a | 286 | regulator-compatible = "db8500_vsmps3"; |
e5999f28 LJ |
287 | }; |
288 | ||
289 | // DB8500_REGULATOR_VRF1 | |
290 | db8500_vrf1_reg: db8500_vrf1 { | |
da26848a | 291 | regulator-compatible = "db8500_vrf1"; |
e5999f28 LJ |
292 | }; |
293 | ||
294 | // DB8500_REGULATOR_SWITCH_SVAMMDSP | |
295 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { | |
da26848a | 296 | regulator-compatible = "db8500_sva_mmdsp"; |
e5999f28 LJ |
297 | }; |
298 | ||
299 | // DB8500_REGULATOR_SWITCH_SVAMMDSPRET | |
300 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { | |
da26848a | 301 | regulator-compatible = "db8500_sva_mmdsp_ret"; |
e5999f28 LJ |
302 | }; |
303 | ||
304 | // DB8500_REGULATOR_SWITCH_SVAPIPE | |
305 | db8500_sva_pipe_reg: db8500_sva_pipe { | |
da26848a | 306 | regulator-compatible = "db8500_sva_pipe"; |
e5999f28 LJ |
307 | }; |
308 | ||
309 | // DB8500_REGULATOR_SWITCH_SIAMMDSP | |
310 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { | |
da26848a | 311 | regulator-compatible = "db8500_sia_mmdsp"; |
e5999f28 LJ |
312 | }; |
313 | ||
314 | // DB8500_REGULATOR_SWITCH_SIAMMDSPRET | |
315 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { | |
e5999f28 LJ |
316 | }; |
317 | ||
318 | // DB8500_REGULATOR_SWITCH_SIAPIPE | |
319 | db8500_sia_pipe_reg: db8500_sia_pipe { | |
da26848a | 320 | regulator-compatible = "db8500_sia_pipe"; |
e5999f28 LJ |
321 | }; |
322 | ||
323 | // DB8500_REGULATOR_SWITCH_SGA | |
324 | db8500_sga_reg: db8500_sga { | |
da26848a | 325 | regulator-compatible = "db8500_sga"; |
e5999f28 LJ |
326 | vin-supply = <&db8500_vape_reg>; |
327 | }; | |
328 | ||
329 | // DB8500_REGULATOR_SWITCH_B2R2_MCDE | |
330 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { | |
da26848a | 331 | regulator-compatible = "db8500_b2r2_mcde"; |
e5999f28 LJ |
332 | vin-supply = <&db8500_vape_reg>; |
333 | }; | |
334 | ||
335 | // DB8500_REGULATOR_SWITCH_ESRAM12 | |
336 | db8500_esram12_reg: db8500_esram12 { | |
da26848a | 337 | regulator-compatible = "db8500_esram12"; |
e5999f28 LJ |
338 | }; |
339 | ||
340 | // DB8500_REGULATOR_SWITCH_ESRAM12RET | |
341 | db8500_esram12_ret_reg: db8500_esram12_ret { | |
da26848a | 342 | regulator-compatible = "db8500_esram12_ret"; |
e5999f28 LJ |
343 | }; |
344 | ||
345 | // DB8500_REGULATOR_SWITCH_ESRAM34 | |
346 | db8500_esram34_reg: db8500_esram34 { | |
da26848a | 347 | regulator-compatible = "db8500_esram34"; |
e5999f28 LJ |
348 | }; |
349 | ||
350 | // DB8500_REGULATOR_SWITCH_ESRAM34RET | |
351 | db8500_esram34_ret_reg: db8500_esram34_ret { | |
da26848a | 352 | regulator-compatible = "db8500_esram34_ret"; |
e5999f28 LJ |
353 | }; |
354 | }; | |
355 | ||
d52701d3 | 356 | ab8500 { |
7e0ce270 | 357 | compatible = "stericsson,ab8500"; |
8d4c6d45 | 358 | interrupt-parent = <&intc>; |
90c40257 | 359 | interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>; |
732973c8 LJ |
360 | interrupt-controller; |
361 | #interrupt-cells = <2>; | |
4a85c7fa | 362 | |
d4b29ac1 LJ |
363 | ab8500-rtc { |
364 | compatible = "stericsson,ab8500-rtc"; | |
90c40257 LW |
365 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH |
366 | 18 IRQ_TYPE_LEVEL_HIGH>; | |
d4b29ac1 LJ |
367 | interrupt-names = "60S", "ALARM"; |
368 | }; | |
369 | ||
4eda9129 LJ |
370 | ab8500-gpadc { |
371 | compatible = "stericsson,ab8500-gpadc"; | |
90c40257 LW |
372 | interrupts = <32 IRQ_TYPE_LEVEL_HIGH |
373 | 39 IRQ_TYPE_LEVEL_HIGH>; | |
4eda9129 LJ |
374 | interrupt-names = "HW_CONV_END", "SW_CONV_END"; |
375 | vddadc-supply = <&ab8500_ldo_tvout_reg>; | |
376 | }; | |
377 | ||
e0f1abeb R |
378 | ab8500_battery: ab8500_battery { |
379 | stericsson,battery-type = "LIPO"; | |
380 | thermistor-on-batctrl; | |
381 | }; | |
382 | ||
383 | ab8500_fg { | |
384 | compatible = "stericsson,ab8500-fg"; | |
385 | battery = <&ab8500_battery>; | |
386 | }; | |
387 | ||
bd9e8ab2 R |
388 | ab8500_btemp { |
389 | compatible = "stericsson,ab8500-btemp"; | |
390 | battery = <&ab8500_battery>; | |
391 | }; | |
392 | ||
4aef72db R |
393 | ab8500_charger { |
394 | compatible = "stericsson,ab8500-charger"; | |
395 | battery = <&ab8500_battery>; | |
396 | vddadc-supply = <&ab8500_ldo_tvout_reg>; | |
397 | }; | |
398 | ||
a12810ab R |
399 | ab8500_chargalg { |
400 | compatible = "stericsson,ab8500-chargalg"; | |
401 | battery = <&ab8500_battery>; | |
402 | }; | |
403 | ||
e0f1abeb | 404 | ab8500_usb { |
ee189cef | 405 | compatible = "stericsson,ab8500-usb"; |
90c40257 LW |
406 | interrupts = < 90 IRQ_TYPE_LEVEL_HIGH |
407 | 96 IRQ_TYPE_LEVEL_HIGH | |
408 | 14 IRQ_TYPE_LEVEL_HIGH | |
409 | 15 IRQ_TYPE_LEVEL_HIGH | |
410 | 79 IRQ_TYPE_LEVEL_HIGH | |
411 | 74 IRQ_TYPE_LEVEL_HIGH | |
412 | 75 IRQ_TYPE_LEVEL_HIGH>; | |
ee189cef LJ |
413 | interrupt-names = "ID_WAKEUP_R", |
414 | "ID_WAKEUP_F", | |
415 | "VBUS_DET_F", | |
416 | "VBUS_DET_R", | |
417 | "USB_LINK_STATUS", | |
418 | "USB_ADP_PROBE_PLUG", | |
419 | "USB_ADP_PROBE_UNPLUG"; | |
99b38eef | 420 | vddulpivio18-supply = <&ab8500_ldo_intcore_reg>; |
ee189cef LJ |
421 | v-ape-supply = <&db8500_vape_reg>; |
422 | musb_1v8-supply = <&db8500_vsmps2_reg>; | |
423 | }; | |
424 | ||
12cb7bd4 | 425 | ab8500-ponkey { |
74630706 | 426 | compatible = "stericsson,ab8500-poweron-key"; |
90c40257 LW |
427 | interrupts = <6 IRQ_TYPE_LEVEL_HIGH |
428 | 7 IRQ_TYPE_LEVEL_HIGH>; | |
12cb7bd4 LJ |
429 | interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; |
430 | }; | |
431 | ||
401cd1b8 LJ |
432 | ab8500-sysctrl { |
433 | compatible = "stericsson,ab8500-sysctrl"; | |
434 | }; | |
435 | ||
78451de7 LJ |
436 | ab8500-pwm { |
437 | compatible = "stericsson,ab8500-pwm"; | |
438 | }; | |
439 | ||
215891ec LJ |
440 | ab8500-debugfs { |
441 | compatible = "stericsson,ab8500-debug"; | |
442 | }; | |
4a85c7fa | 443 | |
9c06af30 LJ |
444 | codec: ab8500-codec { |
445 | compatible = "stericsson,ab8500-codec"; | |
446 | ||
447 | stericsson,earpeice-cmv = <950>; /* Units in mV. */ | |
448 | }; | |
449 | ||
4a85c7fa LJ |
450 | ab8500-regulators { |
451 | compatible = "stericsson,ab8500-regulator"; | |
452 | ||
453 | // supplies to the display/camera | |
454 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { | |
da26848a | 455 | regulator-compatible = "ab8500_ldo_aux1"; |
4a85c7fa LJ |
456 | regulator-min-microvolt = <2500000>; |
457 | regulator-max-microvolt = <2900000>; | |
458 | regulator-boot-on; | |
459 | /* BUG: If turned off MMC will be affected. */ | |
460 | regulator-always-on; | |
461 | }; | |
462 | ||
463 | // supplies to the on-board eMMC | |
464 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { | |
da26848a | 465 | regulator-compatible = "ab8500_ldo_aux2"; |
4a85c7fa LJ |
466 | regulator-min-microvolt = <1100000>; |
467 | regulator-max-microvolt = <3300000>; | |
468 | }; | |
469 | ||
470 | // supply for VAUX3; SDcard slots | |
471 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { | |
da26848a | 472 | regulator-compatible = "ab8500_ldo_aux3"; |
4a85c7fa LJ |
473 | regulator-min-microvolt = <1100000>; |
474 | regulator-max-microvolt = <3300000>; | |
475 | }; | |
476 | ||
477 | // supply for v-intcore12; VINTCORE12 LDO | |
99b38eef FB |
478 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
479 | regulator-compatible = "ab8500_ldo_intcore"; | |
4a85c7fa LJ |
480 | }; |
481 | ||
482 | // supply for tvout; gpadc; TVOUT LDO | |
483 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { | |
da26848a | 484 | regulator-compatible = "ab8500_ldo_tvout"; |
4a85c7fa LJ |
485 | }; |
486 | ||
487 | // supply for ab8500-usb; USB LDO | |
488 | ab8500_ldo_usb_reg: ab8500_ldo_usb { | |
da26848a | 489 | regulator-compatible = "ab8500_ldo_usb"; |
4a85c7fa LJ |
490 | }; |
491 | ||
492 | // supply for ab8500-vaudio; VAUDIO LDO | |
493 | ab8500_ldo_audio_reg: ab8500_ldo_audio { | |
da26848a | 494 | regulator-compatible = "ab8500_ldo_audio"; |
4a85c7fa LJ |
495 | }; |
496 | ||
497 | // supply for v-anamic1 VAMic1-LDO | |
498 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { | |
da26848a | 499 | regulator-compatible = "ab8500_ldo_anamic1"; |
4a85c7fa LJ |
500 | }; |
501 | ||
502 | // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1 | |
503 | ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 { | |
da26848a | 504 | regulator-compatible = "ab8500_ldo_amamic2"; |
4a85c7fa LJ |
505 | }; |
506 | ||
507 | // supply for v-dmic; VDMIC LDO | |
508 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { | |
da26848a | 509 | regulator-compatible = "ab8500_ldo_dmic"; |
4a85c7fa LJ |
510 | }; |
511 | ||
512 | // supply for U8500 CSI/DSI; VANA LDO | |
513 | ab8500_ldo_ana_reg: ab8500_ldo_ana { | |
da26848a | 514 | regulator-compatible = "ab8500_ldo_ana"; |
4a85c7fa LJ |
515 | }; |
516 | }; | |
7e0ce270 LJ |
517 | }; |
518 | }; | |
519 | ||
520 | i2c@80004000 { | |
d524fa7f | 521 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 522 | reg = <0x80004000 0x1000>; |
90c40257 | 523 | interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
524 | arm,primecell-periphid = <0x180024>; |
525 | ||
7e0ce270 LJ |
526 | #address-cells = <1>; |
527 | #size-cells = <0>; | |
d524fa7f LJ |
528 | v-i2c-supply = <&db8500_vape_reg>; |
529 | ||
530 | clock-frequency = <400000>; | |
7e0ce270 LJ |
531 | }; |
532 | ||
533 | i2c@80122000 { | |
d524fa7f | 534 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 535 | reg = <0x80122000 0x1000>; |
90c40257 | 536 | interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
537 | arm,primecell-periphid = <0x180024>; |
538 | ||
7e0ce270 LJ |
539 | #address-cells = <1>; |
540 | #size-cells = <0>; | |
d524fa7f LJ |
541 | v-i2c-supply = <&db8500_vape_reg>; |
542 | ||
543 | clock-frequency = <400000>; | |
7e0ce270 LJ |
544 | }; |
545 | ||
546 | i2c@80128000 { | |
d524fa7f | 547 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 548 | reg = <0x80128000 0x1000>; |
90c40257 | 549 | interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
550 | arm,primecell-periphid = <0x180024>; |
551 | ||
7e0ce270 LJ |
552 | #address-cells = <1>; |
553 | #size-cells = <0>; | |
d524fa7f LJ |
554 | v-i2c-supply = <&db8500_vape_reg>; |
555 | ||
556 | clock-frequency = <400000>; | |
7e0ce270 LJ |
557 | }; |
558 | ||
559 | i2c@80110000 { | |
d524fa7f | 560 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 561 | reg = <0x80110000 0x1000>; |
90c40257 | 562 | interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
563 | arm,primecell-periphid = <0x180024>; |
564 | ||
7e0ce270 LJ |
565 | #address-cells = <1>; |
566 | #size-cells = <0>; | |
d524fa7f LJ |
567 | v-i2c-supply = <&db8500_vape_reg>; |
568 | ||
569 | clock-frequency = <400000>; | |
7e0ce270 LJ |
570 | }; |
571 | ||
572 | i2c@8012a000 { | |
d524fa7f | 573 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 574 | reg = <0x8012a000 0x1000>; |
90c40257 | 575 | interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
576 | arm,primecell-periphid = <0x180024>; |
577 | ||
7e0ce270 LJ |
578 | #address-cells = <1>; |
579 | #size-cells = <0>; | |
d524fa7f LJ |
580 | v-i2c-supply = <&db8500_vape_reg>; |
581 | ||
582 | clock-frequency = <400000>; | |
7e0ce270 LJ |
583 | }; |
584 | ||
585 | ssp@80002000 { | |
586 | compatible = "arm,pl022", "arm,primecell"; | |
c164fa62 | 587 | reg = <0x80002000 0x1000>; |
90c40257 | 588 | interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
589 | #address-cells = <1>; |
590 | #size-cells = <0>; | |
591 | status = "disabled"; | |
7e0ce270 LJ |
592 | }; |
593 | ||
594 | uart@80120000 { | |
595 | compatible = "arm,pl011", "arm,primecell"; | |
596 | reg = <0x80120000 0x1000>; | |
90c40257 | 597 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; |
fbff01cc LJ |
598 | |
599 | dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */ | |
600 | <&dma 13 0 0x0>; /* Logical - MemToDev */ | |
601 | dma-names = "rx", "tx"; | |
602 | ||
7e0ce270 LJ |
603 | status = "disabled"; |
604 | }; | |
fbff01cc | 605 | |
7e0ce270 LJ |
606 | uart@80121000 { |
607 | compatible = "arm,pl011", "arm,primecell"; | |
608 | reg = <0x80121000 0x1000>; | |
90c40257 | 609 | interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; |
fbff01cc LJ |
610 | |
611 | dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */ | |
612 | <&dma 12 0 0x0>; /* Logical - MemToDev */ | |
613 | dma-names = "rx", "tx"; | |
614 | ||
7e0ce270 LJ |
615 | status = "disabled"; |
616 | }; | |
fbff01cc | 617 | |
7e0ce270 LJ |
618 | uart@80007000 { |
619 | compatible = "arm,pl011", "arm,primecell"; | |
620 | reg = <0x80007000 0x1000>; | |
90c40257 | 621 | interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>; |
fbff01cc LJ |
622 | |
623 | dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */ | |
624 | <&dma 11 0 0x0>; /* Logical - MemToDev */ | |
625 | dma-names = "rx", "tx"; | |
626 | ||
7e0ce270 LJ |
627 | status = "disabled"; |
628 | }; | |
629 | ||
81bf8c2e | 630 | sdi0_per1@80126000 { |
7e0ce270 LJ |
631 | compatible = "arm,pl18x", "arm,primecell"; |
632 | reg = <0x80126000 0x1000>; | |
90c40257 | 633 | interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
634 | |
635 | dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */ | |
636 | <&dma 29 0 0x0>; /* Logical - MemToDev */ | |
637 | dma-names = "rx", "tx"; | |
638 | ||
7e0ce270 LJ |
639 | status = "disabled"; |
640 | }; | |
76ff4e43 | 641 | |
81bf8c2e | 642 | sdi1_per2@80118000 { |
7e0ce270 LJ |
643 | compatible = "arm,pl18x", "arm,primecell"; |
644 | reg = <0x80118000 0x1000>; | |
90c40257 | 645 | interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
646 | |
647 | dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */ | |
648 | <&dma 32 0 0x0>; /* Logical - MemToDev */ | |
649 | dma-names = "rx", "tx"; | |
650 | ||
7e0ce270 LJ |
651 | status = "disabled"; |
652 | }; | |
76ff4e43 | 653 | |
81bf8c2e | 654 | sdi2_per3@80005000 { |
7e0ce270 LJ |
655 | compatible = "arm,pl18x", "arm,primecell"; |
656 | reg = <0x80005000 0x1000>; | |
90c40257 | 657 | interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
658 | |
659 | dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */ | |
660 | <&dma 28 0 0x0>; /* Logical - MemToDev */ | |
661 | dma-names = "rx", "tx"; | |
662 | ||
7e0ce270 LJ |
663 | status = "disabled"; |
664 | }; | |
76ff4e43 | 665 | |
81bf8c2e | 666 | sdi3_per2@80119000 { |
7e0ce270 LJ |
667 | compatible = "arm,pl18x", "arm,primecell"; |
668 | reg = <0x80119000 0x1000>; | |
90c40257 | 669 | interrupts = <0 59 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
670 | status = "disabled"; |
671 | }; | |
76ff4e43 | 672 | |
81bf8c2e | 673 | sdi4_per2@80114000 { |
7e0ce270 LJ |
674 | compatible = "arm,pl18x", "arm,primecell"; |
675 | reg = <0x80114000 0x1000>; | |
90c40257 | 676 | interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
677 | |
678 | dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */ | |
679 | <&dma 42 0 0x0>; /* Logical - MemToDev */ | |
680 | dma-names = "rx", "tx"; | |
681 | ||
7e0ce270 LJ |
682 | status = "disabled"; |
683 | }; | |
76ff4e43 | 684 | |
81bf8c2e | 685 | sdi5_per3@80008000 { |
7e0ce270 | 686 | compatible = "arm,pl18x", "arm,primecell"; |
76ff4e43 | 687 | reg = <0x80008000 0x1000>; |
90c40257 | 688 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
689 | status = "disabled"; |
690 | }; | |
bf76e062 | 691 | |
fe164529 LJ |
692 | msp0: msp@80123000 { |
693 | compatible = "stericsson,ux500-msp-i2s"; | |
694 | reg = <0x80123000 0x1000>; | |
90c40257 | 695 | interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
696 | v-ape-supply = <&db8500_vape_reg>; |
697 | status = "disabled"; | |
698 | }; | |
699 | ||
700 | msp1: msp@80124000 { | |
701 | compatible = "stericsson,ux500-msp-i2s"; | |
702 | reg = <0x80124000 0x1000>; | |
90c40257 | 703 | interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
704 | v-ape-supply = <&db8500_vape_reg>; |
705 | status = "disabled"; | |
706 | }; | |
707 | ||
708 | // HDMI sound | |
709 | msp2: msp@80117000 { | |
710 | compatible = "stericsson,ux500-msp-i2s"; | |
711 | reg = <0x80117000 0x1000>; | |
90c40257 | 712 | interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
713 | v-ape-supply = <&db8500_vape_reg>; |
714 | status = "disabled"; | |
715 | }; | |
716 | ||
717 | msp3: msp@80125000 { | |
718 | compatible = "stericsson,ux500-msp-i2s"; | |
719 | reg = <0x80125000 0x1000>; | |
90c40257 | 720 | interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
721 | v-ape-supply = <&db8500_vape_reg>; |
722 | status = "disabled"; | |
723 | }; | |
724 | ||
bf76e062 LJ |
725 | external-bus@50000000 { |
726 | compatible = "simple-bus"; | |
727 | reg = <0x50000000 0x4000000>; | |
728 | #address-cells = <1>; | |
729 | #size-cells = <1>; | |
730 | ranges = <0 0x50000000 0x4000000>; | |
731 | status = "disabled"; | |
732 | }; | |
dc1956b5 | 733 | |
734 | cpufreq-cooling { | |
735 | compatible = "stericsson,db8500-cpufreq-cooling"; | |
736 | status = "disabled"; | |
737 | }; | |
738 | ||
0563f638 LJ |
739 | vmmci: regulator-gpio { |
740 | compatible = "regulator-gpio"; | |
741 | ||
742 | regulator-min-microvolt = <1800000>; | |
4f902b42 | 743 | regulator-max-microvolt = <2900000>; |
0563f638 LJ |
744 | regulator-name = "mmci-reg"; |
745 | regulator-type = "voltage"; | |
746 | ||
874c9202 | 747 | startup-delay-us = <100>; |
e7bda303 LJ |
748 | enable-active-high; |
749 | ||
0563f638 LJ |
750 | states = <1800000 0x1 |
751 | 2900000 0x0>; | |
c94a4ab7 LJ |
752 | |
753 | status = "disabled"; | |
0563f638 | 754 | }; |
fe2e9f92 LJ |
755 | |
756 | cryp@a03cb000 { | |
757 | compatible = "stericsson,ux500-cryp"; | |
758 | reg = <0xa03cb000 0x1000>; | |
90c40257 | 759 | interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>; |
fe2e9f92 LJ |
760 | |
761 | v-ape-supply = <&db8500_vape_reg>; | |
fe2e9f92 | 762 | }; |
61122cf2 LJ |
763 | |
764 | hash@a03c2000 { | |
765 | compatible = "stericsson,ux500-hash"; | |
766 | reg = <0xa03c2000 0x1000>; | |
767 | ||
768 | v-ape-supply = <&db8500_vape_reg>; | |
61122cf2 | 769 | }; |
5d0769f0 AB |
770 | }; |
771 | }; |