blob: 0edad2d5f3a2cec8bd8dfabbc9dcfbd8688fc889 [file] [log] [blame]
Arnd Bergmann5d0769f2012-03-02 23:07:21 +00001/*
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
12/include/ "skeleton.dtsi"
13
14/ {
Gabriel Fernandezb1ba1432013-03-01 14:38:07 +010015 soc {
Arnd Bergmann5d0769f2012-03-02 23:07:21 +000016 #address-cells = <1>;
17 #size-cells = <1>;
Lee Jones7e0ce272012-03-15 16:46:17 +000018 compatible = "stericsson,db8500";
Lee Jonesdab64872012-03-07 17:22:30 +000019 interrupt-parent = <&intc>;
Arnd Bergmann5d0769f2012-03-02 23:07:21 +000020 ranges;
Lee Jones7e0ce272012-03-15 16:46:17 +000021
Lee Jonesdab64872012-03-07 17:22:30 +000022 intc: interrupt-controller@a0411000 {
23 compatible = "arm,cortex-a9-gic";
24 #interrupt-cells = <3>;
25 #address-cells = <1>;
26 interrupt-controller;
Lee Jonesdab64872012-03-07 17:22:30 +000027 reg = <0xa0411000 0x1000>,
28 <0xa0410100 0x100>;
29 };
30
Lee Jonesf1949ea2012-03-08 09:02:02 +000031 L2: l2-cache {
32 compatible = "arm,pl310-cache";
33 reg = <0xa0412000 0x1000>;
34 interrupts = <0 13 4>;
35 cache-unified;
36 cache-level = <2>;
37 };
38
Lee Jones7e0ce272012-03-15 16:46:17 +000039 pmu {
40 compatible = "arm,cortex-a9-pmu";
41 interrupts = <0 7 0x4>;
42 };
43
Lee Jones71de5c42012-03-16 09:53:24 +000044 timer@a0410600 {
45 compatible = "arm,cortex-a9-twd-timer";
46 reg = <0xa0410600 0x20>;
47 interrupts = <1 13 0x304>;
48 };
49
Lee Jones7e0ce272012-03-15 16:46:17 +000050 rtc@80154000 {
Lee Jonesddb3b992012-05-26 07:01:31 +010051 compatible = "arm,rtc-pl031", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +000052 reg = <0x80154000 0x1000>;
53 interrupts = <0 18 0x4>;
54 };
55
56 gpio0: gpio@8012e000 {
57 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010058 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000059 reg = <0x8012e000 0x80>;
60 interrupts = <0 119 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +080061 interrupt-controller;
62 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +010063 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +000064 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +010065 #gpio-cells = <2>;
66 gpio-bank = <0>;
Lee Jones7e0ce272012-03-15 16:46:17 +000067 };
68
69 gpio1: gpio@8012e080 {
70 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010071 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000072 reg = <0x8012e080 0x80>;
73 interrupts = <0 120 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +080074 interrupt-controller;
75 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +010076 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +000077 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +010078 #gpio-cells = <2>;
79 gpio-bank = <1>;
Lee Jones7e0ce272012-03-15 16:46:17 +000080 };
81
82 gpio2: gpio@8000e000 {
83 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010084 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000085 reg = <0x8000e000 0x80>;
86 interrupts = <0 121 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +080087 interrupt-controller;
88 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +010089 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +000090 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +010091 #gpio-cells = <2>;
92 gpio-bank = <2>;
Lee Jones7e0ce272012-03-15 16:46:17 +000093 };
94
95 gpio3: gpio@8000e080 {
96 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010097 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000098 reg = <0x8000e080 0x80>;
99 interrupts = <0 122 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800100 interrupt-controller;
101 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100102 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000103 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100104 #gpio-cells = <2>;
105 gpio-bank = <3>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000106 };
107
108 gpio4: gpio@8000e100 {
109 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100110 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000111 reg = <0x8000e100 0x80>;
112 interrupts = <0 123 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800113 interrupt-controller;
114 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100115 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000116 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100117 #gpio-cells = <2>;
118 gpio-bank = <4>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000119 };
120
121 gpio5: gpio@8000e180 {
122 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100123 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000124 reg = <0x8000e180 0x80>;
125 interrupts = <0 124 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800126 interrupt-controller;
127 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100128 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000129 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100130 #gpio-cells = <2>;
131 gpio-bank = <5>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000132 };
133
134 gpio6: gpio@8011e000 {
135 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100136 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000137 reg = <0x8011e000 0x80>;
138 interrupts = <0 125 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800139 interrupt-controller;
140 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100141 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000142 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100143 #gpio-cells = <2>;
144 gpio-bank = <6>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000145 };
146
147 gpio7: gpio@8011e080 {
148 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100149 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000150 reg = <0x8011e080 0x80>;
151 interrupts = <0 126 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800152 interrupt-controller;
153 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100154 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000155 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100156 #gpio-cells = <2>;
157 gpio-bank = <7>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000158 };
159
160 gpio8: gpio@a03fe000 {
161 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100162 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000163 reg = <0xa03fe000 0x80>;
164 interrupts = <0 127 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800165 interrupt-controller;
166 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100167 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000168 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100169 #gpio-cells = <2>;
170 gpio-bank = <8>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000171 };
172
Lee Jones8979cfe2013-01-11 15:45:28 +0000173 pinctrl {
Lee Jones627c1a82013-01-30 17:25:02 +0100174 compatible = "stericsson,nmk-pinctrl";
Lee Jones8979cfe2013-01-11 15:45:28 +0000175 prcm = <&prcmu>;
Lee Jones5910de92012-05-26 06:25:36 +0100176 };
177
Lee Jonesb32dc862013-05-03 15:31:51 +0100178 usb_per5@a03e0000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000179 compatible = "stericsson,db8500-musb",
180 "mentor,musb";
181 reg = <0xa03e0000 0x10000>;
182 interrupts = <0 23 0x4>;
Lee Jonesb32dc862013-05-03 15:31:51 +0100183 interrupt-names = "mc";
184
185 dr_mode = "otg";
186
187 dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */
188 <&dma 38 0 0x0>, /* Logical - MemToDev */
189 <&dma 37 0 0x2>, /* Logical - DevToMem */
190 <&dma 37 0 0x0>, /* Logical - MemToDev */
191 <&dma 36 0 0x2>, /* Logical - DevToMem */
192 <&dma 36 0 0x0>, /* Logical - MemToDev */
193 <&dma 19 0 0x2>, /* Logical - DevToMem */
194 <&dma 19 0 0x0>, /* Logical - MemToDev */
195 <&dma 18 0 0x2>, /* Logical - DevToMem */
196 <&dma 18 0 0x0>, /* Logical - MemToDev */
197 <&dma 17 0 0x2>, /* Logical - DevToMem */
198 <&dma 17 0 0x0>, /* Logical - MemToDev */
199 <&dma 16 0 0x2>, /* Logical - DevToMem */
200 <&dma 16 0 0x0>, /* Logical - MemToDev */
201 <&dma 39 0 0x2>, /* Logical - DevToMem */
202 <&dma 39 0 0x0>; /* Logical - MemToDev */
203
204 dma-names = "iep_1_9", "oep_1_9",
205 "iep_2_10", "oep_2_10",
206 "iep_3_11", "oep_3_11",
207 "iep_4_12", "oep_4_12",
208 "iep_5_13", "oep_5_13",
209 "iep_6_14", "oep_6_14",
210 "iep_7_15", "oep_7_15",
211 "iep_8", "oep_8";
Lee Jones7e0ce272012-03-15 16:46:17 +0000212 };
213
Lee Jonesba074ae2013-05-03 15:31:48 +0100214 dma: dma-controller@801C0000 {
215 compatible = "stericsson,db8500-dma40", "stericsson,dma40";
Lee Jones7e0ce272012-03-15 16:46:17 +0000216 reg = <0x801C0000 0x1000 0x40010000 0x800>;
Lee Jones70d39a82013-05-03 15:31:47 +0100217 reg-names = "base", "lcpa";
Lee Jones7e0ce272012-03-15 16:46:17 +0000218 interrupts = <0 25 0x4>;
Lee Jonesba074ae2013-05-03 15:31:48 +0100219
220 #dma-cells = <3>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000221 };
222
Lee Jones8979cfe2013-01-11 15:45:28 +0000223 prcmu: prcmu@80157000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000224 compatible = "stericsson,db8500-prcmu";
Linus Torvalds4d26aa32013-05-02 08:56:55 -0700225 reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>;
Lee Jonese73081d2013-03-26 10:26:15 +0000226 reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm";
Lee Jonesccf74f72012-05-28 16:50:49 +0800227 interrupts = <0 47 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000228 #address-cells = <1>;
Lee Jones3de3d742012-04-24 10:00:15 +0100229 #size-cells = <1>;
Lee Jonesc09090b2012-08-03 15:42:25 +0100230 interrupt-controller;
231 #interrupt-cells = <2>;
Lee Jones3de3d742012-04-24 10:00:15 +0100232 ranges;
233
Lee Jonesccf74f72012-05-28 16:50:49 +0800234 prcmu-timer-4@80157450 {
Lee Jones3de3d742012-04-24 10:00:15 +0100235 compatible = "stericsson,db8500-prcmu-timer-4";
236 reg = <0x80157450 0xC>;
237 };
Lee Jones7e0ce272012-03-15 16:46:17 +0000238
hongbo.zhangdc1956b2012-11-15 18:56:43 +0800239 thermal@801573c0 {
240 compatible = "stericsson,db8500-thermal";
241 reg = <0x801573c0 0x40>;
242 interrupts = <21 0x4>, <22 0x4>;
243 interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH";
244 status = "disabled";
245 };
246
Lee Jonese5999f22012-05-04 13:32:34 +0100247 db8500-prcmu-regulators {
248 compatible = "stericsson,db8500-prcmu-regulator";
249
250 // DB8500_REGULATOR_VAPE
251 db8500_vape_reg: db8500_vape {
Laxman Dewanganda268482012-06-20 17:53:05 +0530252 regulator-compatible = "db8500_vape";
Lee Jonese5999f22012-05-04 13:32:34 +0100253 regulator-always-on;
254 };
255
256 // DB8500_REGULATOR_VARM
257 db8500_varm_reg: db8500_varm {
Laxman Dewanganda268482012-06-20 17:53:05 +0530258 regulator-compatible = "db8500_varm";
Lee Jonese5999f22012-05-04 13:32:34 +0100259 };
260
261 // DB8500_REGULATOR_VMODEM
262 db8500_vmodem_reg: db8500_vmodem {
Laxman Dewanganda268482012-06-20 17:53:05 +0530263 regulator-compatible = "db8500_vmodem";
Lee Jonese5999f22012-05-04 13:32:34 +0100264 };
265
266 // DB8500_REGULATOR_VPLL
267 db8500_vpll_reg: db8500_vpll {
Laxman Dewanganda268482012-06-20 17:53:05 +0530268 regulator-compatible = "db8500_vpll";
Lee Jonese5999f22012-05-04 13:32:34 +0100269 };
270
271 // DB8500_REGULATOR_VSMPS1
272 db8500_vsmps1_reg: db8500_vsmps1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530273 regulator-compatible = "db8500_vsmps1";
Lee Jonese5999f22012-05-04 13:32:34 +0100274 };
275
276 // DB8500_REGULATOR_VSMPS2
277 db8500_vsmps2_reg: db8500_vsmps2 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530278 regulator-compatible = "db8500_vsmps2";
Lee Jonese5999f22012-05-04 13:32:34 +0100279 };
280
281 // DB8500_REGULATOR_VSMPS3
282 db8500_vsmps3_reg: db8500_vsmps3 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530283 regulator-compatible = "db8500_vsmps3";
Lee Jonese5999f22012-05-04 13:32:34 +0100284 };
285
286 // DB8500_REGULATOR_VRF1
287 db8500_vrf1_reg: db8500_vrf1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530288 regulator-compatible = "db8500_vrf1";
Lee Jonese5999f22012-05-04 13:32:34 +0100289 };
290
291 // DB8500_REGULATOR_SWITCH_SVAMMDSP
292 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
Laxman Dewanganda268482012-06-20 17:53:05 +0530293 regulator-compatible = "db8500_sva_mmdsp";
Lee Jonese5999f22012-05-04 13:32:34 +0100294 };
295
296 // DB8500_REGULATOR_SWITCH_SVAMMDSPRET
297 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
Laxman Dewanganda268482012-06-20 17:53:05 +0530298 regulator-compatible = "db8500_sva_mmdsp_ret";
Lee Jonese5999f22012-05-04 13:32:34 +0100299 };
300
301 // DB8500_REGULATOR_SWITCH_SVAPIPE
302 db8500_sva_pipe_reg: db8500_sva_pipe {
Laxman Dewanganda268482012-06-20 17:53:05 +0530303 regulator-compatible = "db8500_sva_pipe";
Lee Jonese5999f22012-05-04 13:32:34 +0100304 };
305
306 // DB8500_REGULATOR_SWITCH_SIAMMDSP
307 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
Laxman Dewanganda268482012-06-20 17:53:05 +0530308 regulator-compatible = "db8500_sia_mmdsp";
Lee Jonese5999f22012-05-04 13:32:34 +0100309 };
310
311 // DB8500_REGULATOR_SWITCH_SIAMMDSPRET
312 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
Lee Jonese5999f22012-05-04 13:32:34 +0100313 };
314
315 // DB8500_REGULATOR_SWITCH_SIAPIPE
316 db8500_sia_pipe_reg: db8500_sia_pipe {
Laxman Dewanganda268482012-06-20 17:53:05 +0530317 regulator-compatible = "db8500_sia_pipe";
Lee Jonese5999f22012-05-04 13:32:34 +0100318 };
319
320 // DB8500_REGULATOR_SWITCH_SGA
321 db8500_sga_reg: db8500_sga {
Laxman Dewanganda268482012-06-20 17:53:05 +0530322 regulator-compatible = "db8500_sga";
Lee Jonese5999f22012-05-04 13:32:34 +0100323 vin-supply = <&db8500_vape_reg>;
324 };
325
326 // DB8500_REGULATOR_SWITCH_B2R2_MCDE
327 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
Laxman Dewanganda268482012-06-20 17:53:05 +0530328 regulator-compatible = "db8500_b2r2_mcde";
Lee Jonese5999f22012-05-04 13:32:34 +0100329 vin-supply = <&db8500_vape_reg>;
330 };
331
332 // DB8500_REGULATOR_SWITCH_ESRAM12
333 db8500_esram12_reg: db8500_esram12 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530334 regulator-compatible = "db8500_esram12";
Lee Jonese5999f22012-05-04 13:32:34 +0100335 };
336
337 // DB8500_REGULATOR_SWITCH_ESRAM12RET
338 db8500_esram12_ret_reg: db8500_esram12_ret {
Laxman Dewanganda268482012-06-20 17:53:05 +0530339 regulator-compatible = "db8500_esram12_ret";
Lee Jonese5999f22012-05-04 13:32:34 +0100340 };
341
342 // DB8500_REGULATOR_SWITCH_ESRAM34
343 db8500_esram34_reg: db8500_esram34 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530344 regulator-compatible = "db8500_esram34";
Lee Jonese5999f22012-05-04 13:32:34 +0100345 };
346
347 // DB8500_REGULATOR_SWITCH_ESRAM34RET
348 db8500_esram34_ret_reg: db8500_esram34_ret {
Laxman Dewanganda268482012-06-20 17:53:05 +0530349 regulator-compatible = "db8500_esram34_ret";
Lee Jonese5999f22012-05-04 13:32:34 +0100350 };
351 };
352
Arnd Bergmannd52701d32013-03-12 09:39:01 +0100353 ab8500 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000354 compatible = "stericsson,ab8500";
Lee Jones8d4c6d42012-08-03 20:37:35 +0100355 interrupt-parent = <&intc>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000356 interrupts = <0 40 0x4>;
Lee Jones732973c2012-05-29 10:49:33 +0800357 interrupt-controller;
358 #interrupt-cells = <2>;
Lee Jones4a85c7f2012-05-29 14:29:53 +0800359
Lee Jonesd4b29ac2012-05-26 07:03:48 +0100360 ab8500-rtc {
361 compatible = "stericsson,ab8500-rtc";
362 interrupts = <17 0x4
363 18 0x4>;
364 interrupt-names = "60S", "ALARM";
365 };
366
Lee Jones4eda9122012-05-28 16:59:26 +0800367 ab8500-gpadc {
368 compatible = "stericsson,ab8500-gpadc";
Lee Jones732973c2012-05-29 10:49:33 +0800369 interrupts = <32 0x4
370 39 0x4>;
Lee Jones4eda9122012-05-28 16:59:26 +0800371 interrupt-names = "HW_CONV_END", "SW_CONV_END";
372 vddadc-supply = <&ab8500_ldo_tvout_reg>;
373 };
374
Rajanikanth H.Ve0f1abe2012-11-18 18:45:41 -0800375 ab8500_battery: ab8500_battery {
376 stericsson,battery-type = "LIPO";
377 thermistor-on-batctrl;
378 };
379
380 ab8500_fg {
381 compatible = "stericsson,ab8500-fg";
382 battery = <&ab8500_battery>;
383 };
384
Rajanikanth H.Vbd9e8ab2012-11-18 19:16:58 -0800385 ab8500_btemp {
386 compatible = "stericsson,ab8500-btemp";
387 battery = <&ab8500_battery>;
388 };
389
Rajanikanth H.V4aef72d2012-11-18 19:17:47 -0800390 ab8500_charger {
391 compatible = "stericsson,ab8500-charger";
392 battery = <&ab8500_battery>;
393 vddadc-supply = <&ab8500_ldo_tvout_reg>;
394 };
395
Rajanikanth H.Va12810a2012-10-31 15:40:33 +0000396 ab8500_chargalg {
397 compatible = "stericsson,ab8500-chargalg";
398 battery = <&ab8500_battery>;
399 };
400
Rajanikanth H.Ve0f1abe2012-11-18 18:45:41 -0800401 ab8500_usb {
Lee Jonesee189ce2012-05-03 14:40:24 +0100402 compatible = "stericsson,ab8500-usb";
Lee Jones732973c2012-05-29 10:49:33 +0800403 interrupts = < 90 0x4
404 96 0x4
405 14 0x4
406 15 0x4
407 79 0x4
408 74 0x4
409 75 0x4>;
Lee Jonesee189ce2012-05-03 14:40:24 +0100410 interrupt-names = "ID_WAKEUP_R",
411 "ID_WAKEUP_F",
412 "VBUS_DET_F",
413 "VBUS_DET_R",
414 "USB_LINK_STATUS",
415 "USB_ADP_PROBE_PLUG",
416 "USB_ADP_PROBE_UNPLUG";
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200417 vddulpivio18-supply = <&ab8500_ldo_intcore_reg>;
Lee Jonesee189ce2012-05-03 14:40:24 +0100418 v-ape-supply = <&db8500_vape_reg>;
419 musb_1v8-supply = <&db8500_vsmps2_reg>;
420 };
421
Lee Jones12cb7bd2012-05-02 08:45:40 +0100422 ab8500-ponkey {
Lee Jones74630702012-08-09 13:00:12 +0100423 compatible = "stericsson,ab8500-poweron-key";
Lee Jones732973c2012-05-29 10:49:33 +0800424 interrupts = <6 0x4
425 7 0x4>;
Lee Jones12cb7bd2012-05-02 08:45:40 +0100426 interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
427 };
428
Lee Jones401cd1b2012-05-03 12:53:55 +0100429 ab8500-sysctrl {
430 compatible = "stericsson,ab8500-sysctrl";
431 };
432
Lee Jones78451de2012-05-03 13:03:59 +0100433 ab8500-pwm {
434 compatible = "stericsson,ab8500-pwm";
435 };
436
Lee Jones215891e2012-05-01 16:11:19 +0100437 ab8500-debugfs {
438 compatible = "stericsson,ab8500-debug";
439 };
Lee Jones4a85c7f2012-05-29 14:29:53 +0800440
Lee Jones9c06af32012-07-25 12:50:13 +0100441 codec: ab8500-codec {
442 compatible = "stericsson,ab8500-codec";
443
444 stericsson,earpeice-cmv = <950>; /* Units in mV. */
445 };
446
Lee Jones4a85c7f2012-05-29 14:29:53 +0800447 ab8500-regulators {
448 compatible = "stericsson,ab8500-regulator";
449
450 // supplies to the display/camera
451 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530452 regulator-compatible = "ab8500_ldo_aux1";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800453 regulator-min-microvolt = <2500000>;
454 regulator-max-microvolt = <2900000>;
455 regulator-boot-on;
456 /* BUG: If turned off MMC will be affected. */
457 regulator-always-on;
458 };
459
460 // supplies to the on-board eMMC
461 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530462 regulator-compatible = "ab8500_ldo_aux2";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800463 regulator-min-microvolt = <1100000>;
464 regulator-max-microvolt = <3300000>;
465 };
466
467 // supply for VAUX3; SDcard slots
468 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530469 regulator-compatible = "ab8500_ldo_aux3";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800470 regulator-min-microvolt = <1100000>;
471 regulator-max-microvolt = <3300000>;
472 };
473
474 // supply for v-intcore12; VINTCORE12 LDO
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200475 ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
476 regulator-compatible = "ab8500_ldo_intcore";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800477 };
478
479 // supply for tvout; gpadc; TVOUT LDO
480 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
Laxman Dewanganda268482012-06-20 17:53:05 +0530481 regulator-compatible = "ab8500_ldo_tvout";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800482 };
483
484 // supply for ab8500-usb; USB LDO
485 ab8500_ldo_usb_reg: ab8500_ldo_usb {
Laxman Dewanganda268482012-06-20 17:53:05 +0530486 regulator-compatible = "ab8500_ldo_usb";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800487 };
488
489 // supply for ab8500-vaudio; VAUDIO LDO
490 ab8500_ldo_audio_reg: ab8500_ldo_audio {
Laxman Dewanganda268482012-06-20 17:53:05 +0530491 regulator-compatible = "ab8500_ldo_audio";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800492 };
493
494 // supply for v-anamic1 VAMic1-LDO
495 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530496 regulator-compatible = "ab8500_ldo_anamic1";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800497 };
498
499 // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
500 ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530501 regulator-compatible = "ab8500_ldo_amamic2";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800502 };
503
504 // supply for v-dmic; VDMIC LDO
505 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
Laxman Dewanganda268482012-06-20 17:53:05 +0530506 regulator-compatible = "ab8500_ldo_dmic";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800507 };
508
509 // supply for U8500 CSI/DSI; VANA LDO
510 ab8500_ldo_ana_reg: ab8500_ldo_ana {
Laxman Dewanganda268482012-06-20 17:53:05 +0530511 regulator-compatible = "ab8500_ldo_ana";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800512 };
513 };
Lee Jones7e0ce272012-03-15 16:46:17 +0000514 };
515 };
516
517 i2c@80004000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100518 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000519 reg = <0x80004000 0x1000>;
520 interrupts = <0 21 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100521 arm,primecell-periphid = <0x180024>;
522
Lee Jones7e0ce272012-03-15 16:46:17 +0000523 #address-cells = <1>;
524 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100525 v-i2c-supply = <&db8500_vape_reg>;
526
527 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000528 };
529
530 i2c@80122000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100531 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000532 reg = <0x80122000 0x1000>;
533 interrupts = <0 22 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100534 arm,primecell-periphid = <0x180024>;
535
Lee Jones7e0ce272012-03-15 16:46:17 +0000536 #address-cells = <1>;
537 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100538 v-i2c-supply = <&db8500_vape_reg>;
539
540 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000541 };
542
543 i2c@80128000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100544 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000545 reg = <0x80128000 0x1000>;
546 interrupts = <0 55 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100547 arm,primecell-periphid = <0x180024>;
548
Lee Jones7e0ce272012-03-15 16:46:17 +0000549 #address-cells = <1>;
550 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100551 v-i2c-supply = <&db8500_vape_reg>;
552
553 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000554 };
555
556 i2c@80110000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100557 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000558 reg = <0x80110000 0x1000>;
559 interrupts = <0 12 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100560 arm,primecell-periphid = <0x180024>;
561
Lee Jones7e0ce272012-03-15 16:46:17 +0000562 #address-cells = <1>;
563 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100564 v-i2c-supply = <&db8500_vape_reg>;
565
566 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000567 };
568
569 i2c@8012a000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100570 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000571 reg = <0x8012a000 0x1000>;
572 interrupts = <0 51 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100573 arm,primecell-periphid = <0x180024>;
574
Lee Jones7e0ce272012-03-15 16:46:17 +0000575 #address-cells = <1>;
576 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100577 v-i2c-supply = <&db8500_vape_reg>;
578
579 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000580 };
581
582 ssp@80002000 {
583 compatible = "arm,pl022", "arm,primecell";
Lee Jonesc164fa62012-09-07 12:09:34 +0100584 reg = <0x80002000 0x1000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000585 interrupts = <0 14 0x4>;
586 #address-cells = <1>;
587 #size-cells = <0>;
588 status = "disabled";
Lee Jones15daf692012-03-15 16:47:11 +0000589
590 // Add one of these for each child device
Lee Jones93b56982012-05-29 14:17:36 +0800591 cs-gpios = <&gpio0 31 0x4 &gpio4 14 0x4 &gpio4 16 0x4
592 &gpio6 22 0x4 &gpio7 0 0x4>;
Lee Jones15daf692012-03-15 16:47:11 +0000593
Lee Jones7e0ce272012-03-15 16:46:17 +0000594 };
595
596 uart@80120000 {
597 compatible = "arm,pl011", "arm,primecell";
598 reg = <0x80120000 0x1000>;
599 interrupts = <0 11 0x4>;
Lee Jonesfbff01c2013-05-03 15:31:49 +0100600
601 dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */
602 <&dma 13 0 0x0>; /* Logical - MemToDev */
603 dma-names = "rx", "tx";
604
Lee Jones7e0ce272012-03-15 16:46:17 +0000605 status = "disabled";
606 };
Lee Jonesfbff01c2013-05-03 15:31:49 +0100607
Lee Jones7e0ce272012-03-15 16:46:17 +0000608 uart@80121000 {
609 compatible = "arm,pl011", "arm,primecell";
610 reg = <0x80121000 0x1000>;
611 interrupts = <0 19 0x4>;
Lee Jonesfbff01c2013-05-03 15:31:49 +0100612
613 dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */
614 <&dma 12 0 0x0>; /* Logical - MemToDev */
615 dma-names = "rx", "tx";
616
Lee Jones7e0ce272012-03-15 16:46:17 +0000617 status = "disabled";
618 };
Lee Jonesfbff01c2013-05-03 15:31:49 +0100619
Lee Jones7e0ce272012-03-15 16:46:17 +0000620 uart@80007000 {
621 compatible = "arm,pl011", "arm,primecell";
622 reg = <0x80007000 0x1000>;
623 interrupts = <0 26 0x4>;
Lee Jonesfbff01c2013-05-03 15:31:49 +0100624
625 dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */
626 <&dma 11 0 0x0>; /* Logical - MemToDev */
627 dma-names = "rx", "tx";
628
Lee Jones7e0ce272012-03-15 16:46:17 +0000629 status = "disabled";
630 };
631
Lee Jones81bf8c22012-09-26 12:55:56 +0100632 sdi0_per1@80126000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000633 compatible = "arm,pl18x", "arm,primecell";
634 reg = <0x80126000 0x1000>;
635 interrupts = <0 60 0x4>;
Lee Jones498315b92013-05-03 15:31:50 +0100636
637 dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */
638 <&dma 29 0 0x0>; /* Logical - MemToDev */
639 dma-names = "rx", "tx";
640
Lee Jones7e0ce272012-03-15 16:46:17 +0000641 status = "disabled";
642 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100643
Lee Jones81bf8c22012-09-26 12:55:56 +0100644 sdi1_per2@80118000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000645 compatible = "arm,pl18x", "arm,primecell";
646 reg = <0x80118000 0x1000>;
647 interrupts = <0 50 0x4>;
Lee Jones498315b92013-05-03 15:31:50 +0100648
649 dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */
650 <&dma 32 0 0x0>; /* Logical - MemToDev */
651 dma-names = "rx", "tx";
652
Lee Jones7e0ce272012-03-15 16:46:17 +0000653 status = "disabled";
654 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100655
Lee Jones81bf8c22012-09-26 12:55:56 +0100656 sdi2_per3@80005000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000657 compatible = "arm,pl18x", "arm,primecell";
658 reg = <0x80005000 0x1000>;
659 interrupts = <0 41 0x4>;
Lee Jones498315b92013-05-03 15:31:50 +0100660
661 dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */
662 <&dma 28 0 0x0>; /* Logical - MemToDev */
663 dma-names = "rx", "tx";
664
Lee Jones7e0ce272012-03-15 16:46:17 +0000665 status = "disabled";
666 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100667
Lee Jones81bf8c22012-09-26 12:55:56 +0100668 sdi3_per2@80119000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000669 compatible = "arm,pl18x", "arm,primecell";
670 reg = <0x80119000 0x1000>;
671 interrupts = <0 59 0x4>;
672 status = "disabled";
673 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100674
Lee Jones81bf8c22012-09-26 12:55:56 +0100675 sdi4_per2@80114000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000676 compatible = "arm,pl18x", "arm,primecell";
677 reg = <0x80114000 0x1000>;
678 interrupts = <0 99 0x4>;
Lee Jones498315b92013-05-03 15:31:50 +0100679
680 dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */
681 <&dma 42 0 0x0>; /* Logical - MemToDev */
682 dma-names = "rx", "tx";
683
Lee Jones7e0ce272012-03-15 16:46:17 +0000684 status = "disabled";
685 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100686
Lee Jones81bf8c22012-09-26 12:55:56 +0100687 sdi5_per3@80008000 {
Lee Jones7e0ce272012-03-15 16:46:17 +0000688 compatible = "arm,pl18x", "arm,primecell";
Lee Jones76ff4e42012-10-24 11:10:05 +0100689 reg = <0x80008000 0x1000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000690 interrupts = <0 100 0x4>;
691 status = "disabled";
692 };
Lee Jonesbf76e062012-04-24 10:53:18 +0100693
Lee Jonesfe164522012-07-31 12:37:16 +0100694 msp0: msp@80123000 {
695 compatible = "stericsson,ux500-msp-i2s";
696 reg = <0x80123000 0x1000>;
697 interrupts = <0 31 0x4>;
698 v-ape-supply = <&db8500_vape_reg>;
699 status = "disabled";
700 };
701
702 msp1: msp@80124000 {
703 compatible = "stericsson,ux500-msp-i2s";
704 reg = <0x80124000 0x1000>;
705 interrupts = <0 62 0x4>;
706 v-ape-supply = <&db8500_vape_reg>;
707 status = "disabled";
708 };
709
710 // HDMI sound
711 msp2: msp@80117000 {
712 compatible = "stericsson,ux500-msp-i2s";
713 reg = <0x80117000 0x1000>;
714 interrupts = <0 98 0x4>;
715 v-ape-supply = <&db8500_vape_reg>;
716 status = "disabled";
717 };
718
719 msp3: msp@80125000 {
720 compatible = "stericsson,ux500-msp-i2s";
721 reg = <0x80125000 0x1000>;
722 interrupts = <0 62 0x4>;
723 v-ape-supply = <&db8500_vape_reg>;
724 status = "disabled";
725 };
726
Lee Jonesbf76e062012-04-24 10:53:18 +0100727 external-bus@50000000 {
728 compatible = "simple-bus";
729 reg = <0x50000000 0x4000000>;
730 #address-cells = <1>;
731 #size-cells = <1>;
732 ranges = <0 0x50000000 0x4000000>;
733 status = "disabled";
734 };
hongbo.zhangdc1956b2012-11-15 18:56:43 +0800735
736 cpufreq-cooling {
737 compatible = "stericsson,db8500-cpufreq-cooling";
738 status = "disabled";
739 };
740
Lee Jones0563f632012-10-24 11:18:14 +0100741 vmmci: regulator-gpio {
742 compatible = "regulator-gpio";
743
744 regulator-min-microvolt = <1800000>;
Lee Jones4f902b42012-12-06 14:00:01 +0000745 regulator-max-microvolt = <2900000>;
Lee Jones0563f632012-10-24 11:18:14 +0100746 regulator-name = "mmci-reg";
747 regulator-type = "voltage";
748
Lee Jones874c9202012-12-07 13:46:01 +0000749 startup-delay-us = <100>;
Lee Jonese7bda302012-12-06 15:00:46 +0000750 enable-active-high;
751
Lee Jones0563f632012-10-24 11:18:14 +0100752 states = <1800000 0x1
753 2900000 0x0>;
Lee Jonesc94a4ab2012-11-15 13:02:16 +0000754
755 status = "disabled";
Lee Jones0563f632012-10-24 11:18:14 +0100756 };
Arnd Bergmann5d0769f2012-03-02 23:07:21 +0000757 };
758};