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 | |
348f3bc6 LJ |
363 | ab8500_gpio: ab8500-gpio { |
364 | gpio-controller; | |
365 | #gpio-cells = <2>; | |
366 | }; | |
367 | ||
d4b29ac1 LJ |
368 | ab8500-rtc { |
369 | compatible = "stericsson,ab8500-rtc"; | |
90c40257 LW |
370 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH |
371 | 18 IRQ_TYPE_LEVEL_HIGH>; | |
d4b29ac1 LJ |
372 | interrupt-names = "60S", "ALARM"; |
373 | }; | |
374 | ||
4eda9129 LJ |
375 | ab8500-gpadc { |
376 | compatible = "stericsson,ab8500-gpadc"; | |
90c40257 LW |
377 | interrupts = <32 IRQ_TYPE_LEVEL_HIGH |
378 | 39 IRQ_TYPE_LEVEL_HIGH>; | |
4eda9129 LJ |
379 | interrupt-names = "HW_CONV_END", "SW_CONV_END"; |
380 | vddadc-supply = <&ab8500_ldo_tvout_reg>; | |
381 | }; | |
382 | ||
e0f1abeb R |
383 | ab8500_battery: ab8500_battery { |
384 | stericsson,battery-type = "LIPO"; | |
385 | thermistor-on-batctrl; | |
386 | }; | |
387 | ||
388 | ab8500_fg { | |
389 | compatible = "stericsson,ab8500-fg"; | |
390 | battery = <&ab8500_battery>; | |
391 | }; | |
392 | ||
bd9e8ab2 R |
393 | ab8500_btemp { |
394 | compatible = "stericsson,ab8500-btemp"; | |
395 | battery = <&ab8500_battery>; | |
396 | }; | |
397 | ||
4aef72db R |
398 | ab8500_charger { |
399 | compatible = "stericsson,ab8500-charger"; | |
400 | battery = <&ab8500_battery>; | |
401 | vddadc-supply = <&ab8500_ldo_tvout_reg>; | |
402 | }; | |
403 | ||
a12810ab R |
404 | ab8500_chargalg { |
405 | compatible = "stericsson,ab8500-chargalg"; | |
406 | battery = <&ab8500_battery>; | |
407 | }; | |
408 | ||
e0f1abeb | 409 | ab8500_usb { |
ee189cef | 410 | compatible = "stericsson,ab8500-usb"; |
90c40257 LW |
411 | interrupts = < 90 IRQ_TYPE_LEVEL_HIGH |
412 | 96 IRQ_TYPE_LEVEL_HIGH | |
413 | 14 IRQ_TYPE_LEVEL_HIGH | |
414 | 15 IRQ_TYPE_LEVEL_HIGH | |
415 | 79 IRQ_TYPE_LEVEL_HIGH | |
416 | 74 IRQ_TYPE_LEVEL_HIGH | |
417 | 75 IRQ_TYPE_LEVEL_HIGH>; | |
ee189cef LJ |
418 | interrupt-names = "ID_WAKEUP_R", |
419 | "ID_WAKEUP_F", | |
420 | "VBUS_DET_F", | |
421 | "VBUS_DET_R", | |
422 | "USB_LINK_STATUS", | |
423 | "USB_ADP_PROBE_PLUG", | |
424 | "USB_ADP_PROBE_UNPLUG"; | |
99b38eef | 425 | vddulpivio18-supply = <&ab8500_ldo_intcore_reg>; |
ee189cef LJ |
426 | v-ape-supply = <&db8500_vape_reg>; |
427 | musb_1v8-supply = <&db8500_vsmps2_reg>; | |
428 | }; | |
429 | ||
12cb7bd4 | 430 | ab8500-ponkey { |
74630706 | 431 | compatible = "stericsson,ab8500-poweron-key"; |
90c40257 LW |
432 | interrupts = <6 IRQ_TYPE_LEVEL_HIGH |
433 | 7 IRQ_TYPE_LEVEL_HIGH>; | |
12cb7bd4 LJ |
434 | interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; |
435 | }; | |
436 | ||
401cd1b8 LJ |
437 | ab8500-sysctrl { |
438 | compatible = "stericsson,ab8500-sysctrl"; | |
439 | }; | |
440 | ||
78451de7 LJ |
441 | ab8500-pwm { |
442 | compatible = "stericsson,ab8500-pwm"; | |
443 | }; | |
444 | ||
215891ec LJ |
445 | ab8500-debugfs { |
446 | compatible = "stericsson,ab8500-debug"; | |
447 | }; | |
4a85c7fa | 448 | |
9c06af30 LJ |
449 | codec: ab8500-codec { |
450 | compatible = "stericsson,ab8500-codec"; | |
451 | ||
f99808a6 FB |
452 | V-AUD-supply = <&ab8500_ldo_audio_reg>; |
453 | V-AMIC1-supply = <&ab8500_ldo_anamic1_reg>; | |
454 | V-AMIC2-supply = <&ab8500_ldo_anamic2_reg>; | |
455 | V-DMIC-supply = <&ab8500_ldo_dmic_reg>; | |
456 | ||
9c06af30 LJ |
457 | stericsson,earpeice-cmv = <950>; /* Units in mV. */ |
458 | }; | |
459 | ||
4a85c7fa LJ |
460 | ab8500-regulators { |
461 | compatible = "stericsson,ab8500-regulator"; | |
462 | ||
463 | // supplies to the display/camera | |
464 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { | |
da26848a | 465 | regulator-compatible = "ab8500_ldo_aux1"; |
4a85c7fa LJ |
466 | regulator-min-microvolt = <2500000>; |
467 | regulator-max-microvolt = <2900000>; | |
468 | regulator-boot-on; | |
469 | /* BUG: If turned off MMC will be affected. */ | |
470 | regulator-always-on; | |
471 | }; | |
472 | ||
473 | // supplies to the on-board eMMC | |
474 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { | |
da26848a | 475 | regulator-compatible = "ab8500_ldo_aux2"; |
4a85c7fa LJ |
476 | regulator-min-microvolt = <1100000>; |
477 | regulator-max-microvolt = <3300000>; | |
478 | }; | |
479 | ||
480 | // supply for VAUX3; SDcard slots | |
481 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { | |
da26848a | 482 | regulator-compatible = "ab8500_ldo_aux3"; |
4a85c7fa LJ |
483 | regulator-min-microvolt = <1100000>; |
484 | regulator-max-microvolt = <3300000>; | |
485 | }; | |
486 | ||
487 | // supply for v-intcore12; VINTCORE12 LDO | |
99b38eef FB |
488 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
489 | regulator-compatible = "ab8500_ldo_intcore"; | |
4a85c7fa LJ |
490 | }; |
491 | ||
492 | // supply for tvout; gpadc; TVOUT LDO | |
493 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { | |
da26848a | 494 | regulator-compatible = "ab8500_ldo_tvout"; |
4a85c7fa LJ |
495 | }; |
496 | ||
497 | // supply for ab8500-usb; USB LDO | |
498 | ab8500_ldo_usb_reg: ab8500_ldo_usb { | |
da26848a | 499 | regulator-compatible = "ab8500_ldo_usb"; |
4a85c7fa LJ |
500 | }; |
501 | ||
502 | // supply for ab8500-vaudio; VAUDIO LDO | |
503 | ab8500_ldo_audio_reg: ab8500_ldo_audio { | |
da26848a | 504 | regulator-compatible = "ab8500_ldo_audio"; |
4a85c7fa LJ |
505 | }; |
506 | ||
4aa44874 | 507 | // supply for v-anamic1 VAMIC1 LDO |
4a85c7fa | 508 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
da26848a | 509 | regulator-compatible = "ab8500_ldo_anamic1"; |
4a85c7fa LJ |
510 | }; |
511 | ||
512 | // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1 | |
5510ed9f FB |
513 | ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 { |
514 | regulator-compatible = "ab8500_ldo_anamic2"; | |
4a85c7fa LJ |
515 | }; |
516 | ||
517 | // supply for v-dmic; VDMIC LDO | |
518 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { | |
da26848a | 519 | regulator-compatible = "ab8500_ldo_dmic"; |
4a85c7fa LJ |
520 | }; |
521 | ||
522 | // supply for U8500 CSI/DSI; VANA LDO | |
523 | ab8500_ldo_ana_reg: ab8500_ldo_ana { | |
da26848a | 524 | regulator-compatible = "ab8500_ldo_ana"; |
4a85c7fa LJ |
525 | }; |
526 | }; | |
7e0ce270 LJ |
527 | }; |
528 | }; | |
529 | ||
530 | i2c@80004000 { | |
d524fa7f | 531 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 532 | reg = <0x80004000 0x1000>; |
90c40257 | 533 | interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
534 | arm,primecell-periphid = <0x180024>; |
535 | ||
7e0ce270 LJ |
536 | #address-cells = <1>; |
537 | #size-cells = <0>; | |
d524fa7f LJ |
538 | v-i2c-supply = <&db8500_vape_reg>; |
539 | ||
540 | clock-frequency = <400000>; | |
7e0ce270 LJ |
541 | }; |
542 | ||
543 | i2c@80122000 { | |
d524fa7f | 544 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 545 | reg = <0x80122000 0x1000>; |
90c40257 | 546 | interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
547 | arm,primecell-periphid = <0x180024>; |
548 | ||
7e0ce270 LJ |
549 | #address-cells = <1>; |
550 | #size-cells = <0>; | |
d524fa7f LJ |
551 | v-i2c-supply = <&db8500_vape_reg>; |
552 | ||
553 | clock-frequency = <400000>; | |
7e0ce270 LJ |
554 | }; |
555 | ||
556 | i2c@80128000 { | |
d524fa7f | 557 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 558 | reg = <0x80128000 0x1000>; |
90c40257 | 559 | interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
560 | arm,primecell-periphid = <0x180024>; |
561 | ||
7e0ce270 LJ |
562 | #address-cells = <1>; |
563 | #size-cells = <0>; | |
d524fa7f LJ |
564 | v-i2c-supply = <&db8500_vape_reg>; |
565 | ||
566 | clock-frequency = <400000>; | |
7e0ce270 LJ |
567 | }; |
568 | ||
569 | i2c@80110000 { | |
d524fa7f | 570 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 571 | reg = <0x80110000 0x1000>; |
90c40257 | 572 | interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
573 | arm,primecell-periphid = <0x180024>; |
574 | ||
7e0ce270 LJ |
575 | #address-cells = <1>; |
576 | #size-cells = <0>; | |
d524fa7f LJ |
577 | v-i2c-supply = <&db8500_vape_reg>; |
578 | ||
579 | clock-frequency = <400000>; | |
7e0ce270 LJ |
580 | }; |
581 | ||
582 | i2c@8012a000 { | |
d524fa7f | 583 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 | 584 | reg = <0x8012a000 0x1000>; |
90c40257 | 585 | interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>; |
35b33d23 LJ |
586 | arm,primecell-periphid = <0x180024>; |
587 | ||
7e0ce270 LJ |
588 | #address-cells = <1>; |
589 | #size-cells = <0>; | |
d524fa7f LJ |
590 | v-i2c-supply = <&db8500_vape_reg>; |
591 | ||
592 | clock-frequency = <400000>; | |
7e0ce270 LJ |
593 | }; |
594 | ||
595 | ssp@80002000 { | |
596 | compatible = "arm,pl022", "arm,primecell"; | |
c164fa62 | 597 | reg = <0x80002000 0x1000>; |
90c40257 | 598 | interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
599 | #address-cells = <1>; |
600 | #size-cells = <0>; | |
601 | status = "disabled"; | |
7e0ce270 LJ |
602 | }; |
603 | ||
604 | uart@80120000 { | |
605 | compatible = "arm,pl011", "arm,primecell"; | |
606 | reg = <0x80120000 0x1000>; | |
90c40257 | 607 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; |
fbff01cc LJ |
608 | |
609 | dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */ | |
610 | <&dma 13 0 0x0>; /* Logical - MemToDev */ | |
611 | dma-names = "rx", "tx"; | |
612 | ||
7e0ce270 LJ |
613 | status = "disabled"; |
614 | }; | |
fbff01cc | 615 | |
7e0ce270 LJ |
616 | uart@80121000 { |
617 | compatible = "arm,pl011", "arm,primecell"; | |
618 | reg = <0x80121000 0x1000>; | |
90c40257 | 619 | interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; |
fbff01cc LJ |
620 | |
621 | dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */ | |
622 | <&dma 12 0 0x0>; /* Logical - MemToDev */ | |
623 | dma-names = "rx", "tx"; | |
624 | ||
7e0ce270 LJ |
625 | status = "disabled"; |
626 | }; | |
fbff01cc | 627 | |
7e0ce270 LJ |
628 | uart@80007000 { |
629 | compatible = "arm,pl011", "arm,primecell"; | |
630 | reg = <0x80007000 0x1000>; | |
90c40257 | 631 | interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>; |
fbff01cc LJ |
632 | |
633 | dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */ | |
634 | <&dma 11 0 0x0>; /* Logical - MemToDev */ | |
635 | dma-names = "rx", "tx"; | |
636 | ||
7e0ce270 LJ |
637 | status = "disabled"; |
638 | }; | |
639 | ||
81bf8c2e | 640 | sdi0_per1@80126000 { |
7e0ce270 LJ |
641 | compatible = "arm,pl18x", "arm,primecell"; |
642 | reg = <0x80126000 0x1000>; | |
90c40257 | 643 | interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
644 | |
645 | dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */ | |
646 | <&dma 29 0 0x0>; /* Logical - MemToDev */ | |
647 | dma-names = "rx", "tx"; | |
648 | ||
7e0ce270 LJ |
649 | status = "disabled"; |
650 | }; | |
76ff4e43 | 651 | |
81bf8c2e | 652 | sdi1_per2@80118000 { |
7e0ce270 LJ |
653 | compatible = "arm,pl18x", "arm,primecell"; |
654 | reg = <0x80118000 0x1000>; | |
90c40257 | 655 | interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
656 | |
657 | dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */ | |
658 | <&dma 32 0 0x0>; /* Logical - MemToDev */ | |
659 | dma-names = "rx", "tx"; | |
660 | ||
7e0ce270 LJ |
661 | status = "disabled"; |
662 | }; | |
76ff4e43 | 663 | |
81bf8c2e | 664 | sdi2_per3@80005000 { |
7e0ce270 LJ |
665 | compatible = "arm,pl18x", "arm,primecell"; |
666 | reg = <0x80005000 0x1000>; | |
90c40257 | 667 | interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
668 | |
669 | dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */ | |
670 | <&dma 28 0 0x0>; /* Logical - MemToDev */ | |
671 | dma-names = "rx", "tx"; | |
672 | ||
7e0ce270 LJ |
673 | status = "disabled"; |
674 | }; | |
76ff4e43 | 675 | |
81bf8c2e | 676 | sdi3_per2@80119000 { |
7e0ce270 LJ |
677 | compatible = "arm,pl18x", "arm,primecell"; |
678 | reg = <0x80119000 0x1000>; | |
90c40257 | 679 | interrupts = <0 59 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
680 | status = "disabled"; |
681 | }; | |
76ff4e43 | 682 | |
81bf8c2e | 683 | sdi4_per2@80114000 { |
7e0ce270 LJ |
684 | compatible = "arm,pl18x", "arm,primecell"; |
685 | reg = <0x80114000 0x1000>; | |
90c40257 | 686 | interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>; |
498315b9 LJ |
687 | |
688 | dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */ | |
689 | <&dma 42 0 0x0>; /* Logical - MemToDev */ | |
690 | dma-names = "rx", "tx"; | |
691 | ||
7e0ce270 LJ |
692 | status = "disabled"; |
693 | }; | |
76ff4e43 | 694 | |
81bf8c2e | 695 | sdi5_per3@80008000 { |
7e0ce270 | 696 | compatible = "arm,pl18x", "arm,primecell"; |
76ff4e43 | 697 | reg = <0x80008000 0x1000>; |
90c40257 | 698 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
7e0ce270 LJ |
699 | status = "disabled"; |
700 | }; | |
bf76e062 | 701 | |
fe164529 LJ |
702 | msp0: msp@80123000 { |
703 | compatible = "stericsson,ux500-msp-i2s"; | |
704 | reg = <0x80123000 0x1000>; | |
90c40257 | 705 | interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
706 | v-ape-supply = <&db8500_vape_reg>; |
707 | status = "disabled"; | |
708 | }; | |
709 | ||
710 | msp1: msp@80124000 { | |
711 | compatible = "stericsson,ux500-msp-i2s"; | |
712 | reg = <0x80124000 0x1000>; | |
90c40257 | 713 | interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
714 | v-ape-supply = <&db8500_vape_reg>; |
715 | status = "disabled"; | |
716 | }; | |
717 | ||
718 | // HDMI sound | |
719 | msp2: msp@80117000 { | |
720 | compatible = "stericsson,ux500-msp-i2s"; | |
721 | reg = <0x80117000 0x1000>; | |
90c40257 | 722 | interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
723 | v-ape-supply = <&db8500_vape_reg>; |
724 | status = "disabled"; | |
725 | }; | |
726 | ||
727 | msp3: msp@80125000 { | |
728 | compatible = "stericsson,ux500-msp-i2s"; | |
729 | reg = <0x80125000 0x1000>; | |
90c40257 | 730 | interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; |
fe164529 LJ |
731 | v-ape-supply = <&db8500_vape_reg>; |
732 | status = "disabled"; | |
733 | }; | |
734 | ||
bf76e062 LJ |
735 | external-bus@50000000 { |
736 | compatible = "simple-bus"; | |
737 | reg = <0x50000000 0x4000000>; | |
738 | #address-cells = <1>; | |
739 | #size-cells = <1>; | |
740 | ranges = <0 0x50000000 0x4000000>; | |
741 | status = "disabled"; | |
742 | }; | |
dc1956b5 | 743 | |
744 | cpufreq-cooling { | |
745 | compatible = "stericsson,db8500-cpufreq-cooling"; | |
746 | status = "disabled"; | |
747 | }; | |
748 | ||
0563f638 LJ |
749 | vmmci: regulator-gpio { |
750 | compatible = "regulator-gpio"; | |
751 | ||
752 | regulator-min-microvolt = <1800000>; | |
4f902b42 | 753 | regulator-max-microvolt = <2900000>; |
0563f638 LJ |
754 | regulator-name = "mmci-reg"; |
755 | regulator-type = "voltage"; | |
756 | ||
874c9202 | 757 | startup-delay-us = <100>; |
e7bda303 LJ |
758 | enable-active-high; |
759 | ||
0563f638 LJ |
760 | states = <1800000 0x1 |
761 | 2900000 0x0>; | |
c94a4ab7 LJ |
762 | |
763 | status = "disabled"; | |
0563f638 | 764 | }; |
fe2e9f92 LJ |
765 | |
766 | cryp@a03cb000 { | |
767 | compatible = "stericsson,ux500-cryp"; | |
768 | reg = <0xa03cb000 0x1000>; | |
90c40257 | 769 | interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>; |
fe2e9f92 LJ |
770 | |
771 | v-ape-supply = <&db8500_vape_reg>; | |
fe2e9f92 | 772 | }; |
61122cf2 LJ |
773 | |
774 | hash@a03c2000 { | |
775 | compatible = "stericsson,ux500-hash"; | |
776 | reg = <0xa03c2000 0x1000>; | |
777 | ||
778 | v-ape-supply = <&db8500_vape_reg>; | |
61122cf2 | 779 | }; |
5d0769f0 AB |
780 | }; |
781 | }; |