]>
Commit | Line | Data |
---|---|---|
e88d5ae6 G |
1 | /* |
2 | * Samsung's Exynos5250 based Arndale board device tree source | |
3 | * | |
4 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License version 2 as | |
9 | * published by the Free Software Foundation. | |
10 | */ | |
11 | ||
12 | /dts-v1/; | |
3799279f | 13 | #include "exynos5250.dtsi" |
d40f3149 | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
e88d5ae6 G |
15 | |
16 | / { | |
17 | model = "Insignal Arndale evaluation board based on EXYNOS5250"; | |
18 | compatible = "insignal,arndale", "samsung,exynos5250"; | |
19 | ||
20 | memory { | |
21 | reg = <0x40000000 0x80000000>; | |
22 | }; | |
23 | ||
24 | chosen { | |
25 | bootargs = "console=ttySAC2,115200"; | |
26 | }; | |
27 | ||
d96a400f SK |
28 | codec@11000000 { |
29 | samsung,mfc-r = <0x43000000 0x800000>; | |
30 | samsung,mfc-l = <0x51000000 0x800000>; | |
31 | }; | |
32 | ||
e88d5ae6 | 33 | i2c@12C60000 { |
1f518196 ADK |
34 | samsung,i2c-sda-delay = <100>; |
35 | samsung,i2c-max-bus-freq = <20000>; | |
36 | samsung,i2c-slave-addr = <0x66>; | |
6ad8ebff | 37 | status = "okay"; |
1f518196 ADK |
38 | |
39 | s5m8767_pmic@66 { | |
40 | compatible = "samsung,s5m8767-pmic"; | |
41 | reg = <0x66>; | |
d40f3149 MB |
42 | interrupt-parent = <&gpx3>; |
43 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; | |
1f518196 | 44 | |
c1f2d53f MB |
45 | vinb1-supply = <&main_dc_reg>; |
46 | vinb2-supply = <&main_dc_reg>; | |
47 | vinb3-supply = <&main_dc_reg>; | |
48 | vinb4-supply = <&main_dc_reg>; | |
49 | vinb5-supply = <&main_dc_reg>; | |
50 | vinb6-supply = <&main_dc_reg>; | |
51 | vinb7-supply = <&main_dc_reg>; | |
52 | vinb8-supply = <&main_dc_reg>; | |
53 | vinb9-supply = <&main_dc_reg>; | |
54 | ||
55 | vinl1-supply = <&buck7_reg>; | |
56 | vinl2-supply = <&buck7_reg>; | |
57 | vinl3-supply = <&buck7_reg>; | |
58 | vinl4-supply = <&main_dc_reg>; | |
59 | vinl5-supply = <&main_dc_reg>; | |
60 | vinl6-supply = <&main_dc_reg>; | |
61 | vinl7-supply = <&main_dc_reg>; | |
62 | vinl8-supply = <&buck8_reg>; | |
63 | vinl9-supply = <&buck8_reg>; | |
64 | ||
1f518196 ADK |
65 | s5m8767,pmic-buck2-dvs-voltage = <1300000>; |
66 | s5m8767,pmic-buck3-dvs-voltage = <1100000>; | |
67 | s5m8767,pmic-buck4-dvs-voltage = <1200000>; | |
68 | s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 0>, | |
69 | <&gpd1 1 0>, | |
70 | <&gpd1 2 0>; | |
71 | s5m8767,pmic-buck-ds-gpios = <&gpx2 3 0>, | |
72 | <&gpx2 4 0>, | |
73 | <&gpx2 5 0>; | |
74 | regulators { | |
75 | ldo1_reg: LDO1 { | |
76 | regulator-name = "VDD_ALIVE_1.0V"; | |
77 | regulator-min-microvolt = <1100000>; | |
78 | regulator-max-microvolt = <1100000>; | |
79 | regulator-always-on; | |
80 | regulator-boot-on; | |
81 | op_mode = <1>; | |
82 | }; | |
83 | ||
84 | ldo2_reg: LDO2 { | |
85 | regulator-name = "VDD_28IO_DP_1.35V"; | |
86 | regulator-min-microvolt = <1200000>; | |
87 | regulator-max-microvolt = <1200000>; | |
88 | regulator-always-on; | |
89 | regulator-boot-on; | |
90 | op_mode = <1>; | |
91 | }; | |
92 | ||
93 | ldo3_reg: LDO3 { | |
94 | regulator-name = "VDD_COMMON1_1.8V"; | |
95 | regulator-min-microvolt = <1800000>; | |
96 | regulator-max-microvolt = <1800000>; | |
97 | regulator-always-on; | |
98 | regulator-boot-on; | |
99 | op_mode = <1>; | |
100 | }; | |
101 | ||
102 | ldo4_reg: LDO4 { | |
103 | regulator-name = "VDD_IOPERI_1.8V"; | |
104 | regulator-min-microvolt = <1800000>; | |
105 | regulator-max-microvolt = <1800000>; | |
106 | op_mode = <1>; | |
107 | }; | |
108 | ||
109 | ldo5_reg: LDO5 { | |
110 | regulator-name = "VDD_EXT_1.8V"; | |
111 | regulator-min-microvolt = <1800000>; | |
112 | regulator-max-microvolt = <1800000>; | |
113 | regulator-always-on; | |
114 | regulator-boot-on; | |
115 | op_mode = <1>; | |
116 | }; | |
117 | ||
118 | ldo6_reg: LDO6 { | |
119 | regulator-name = "VDD_MPLL_1.1V"; | |
120 | regulator-min-microvolt = <1100000>; | |
121 | regulator-max-microvolt = <1100000>; | |
122 | regulator-always-on; | |
123 | regulator-boot-on; | |
124 | op_mode = <1>; | |
125 | }; | |
126 | ||
127 | ldo7_reg: LDO7 { | |
128 | regulator-name = "VDD_XPLL_1.1V"; | |
129 | regulator-min-microvolt = <1100000>; | |
130 | regulator-max-microvolt = <1100000>; | |
131 | regulator-always-on; | |
132 | regulator-boot-on; | |
133 | op_mode = <1>; | |
134 | }; | |
135 | ||
136 | ldo8_reg: LDO8 { | |
137 | regulator-name = "VDD_COMMON2_1.0V"; | |
138 | regulator-min-microvolt = <1000000>; | |
139 | regulator-max-microvolt = <1000000>; | |
140 | regulator-always-on; | |
141 | regulator-boot-on; | |
142 | op_mode = <1>; | |
143 | }; | |
144 | ||
145 | ldo9_reg: LDO9 { | |
146 | regulator-name = "VDD_33ON_3.0V"; | |
147 | regulator-min-microvolt = <3000000>; | |
148 | regulator-max-microvolt = <3000000>; | |
149 | op_mode = <1>; | |
150 | }; | |
151 | ||
152 | ldo10_reg: LDO10 { | |
153 | regulator-name = "VDD_COMMON3_1.8V"; | |
154 | regulator-min-microvolt = <1800000>; | |
155 | regulator-max-microvolt = <1800000>; | |
156 | regulator-always-on; | |
157 | regulator-boot-on; | |
158 | op_mode = <1>; | |
159 | }; | |
160 | ||
161 | ldo11_reg: LDO11 { | |
162 | regulator-name = "VDD_ABB2_1.8V"; | |
163 | regulator-min-microvolt = <1800000>; | |
164 | regulator-max-microvolt = <1800000>; | |
165 | regulator-always-on; | |
166 | regulator-boot-on; | |
167 | op_mode = <1>; | |
168 | }; | |
169 | ||
170 | ldo12_reg: LDO12 { | |
171 | regulator-name = "VDD_USB_3.0V"; | |
172 | regulator-min-microvolt = <3000000>; | |
173 | regulator-max-microvolt = <3000000>; | |
174 | regulator-always-on; | |
175 | regulator-boot-on; | |
176 | op_mode = <1>; | |
177 | }; | |
178 | ||
179 | ldo13_reg: LDO13 { | |
180 | regulator-name = "VDDQ_C2C_W_1.8V"; | |
181 | regulator-min-microvolt = <1800000>; | |
182 | regulator-max-microvolt = <1800000>; | |
183 | regulator-always-on; | |
184 | regulator-boot-on; | |
185 | op_mode = <1>; | |
186 | }; | |
187 | ||
188 | ldo14_reg: LDO14 { | |
189 | regulator-name = "VDD18_ABB0_3_1.8V"; | |
190 | regulator-min-microvolt = <1800000>; | |
191 | regulator-max-microvolt = <1800000>; | |
192 | regulator-always-on; | |
193 | regulator-boot-on; | |
194 | op_mode = <1>; | |
195 | }; | |
196 | ||
197 | ldo15_reg: LDO15 { | |
198 | regulator-name = "VDD10_COMMON4_1.0V"; | |
199 | regulator-min-microvolt = <1000000>; | |
200 | regulator-max-microvolt = <1000000>; | |
201 | regulator-always-on; | |
202 | regulator-boot-on; | |
203 | op_mode = <1>; | |
204 | }; | |
205 | ||
206 | ldo16_reg: LDO16 { | |
207 | regulator-name = "VDD18_HSIC_1.8V"; | |
208 | regulator-min-microvolt = <1800000>; | |
209 | regulator-max-microvolt = <1800000>; | |
210 | regulator-always-on; | |
211 | regulator-boot-on; | |
212 | op_mode = <1>; | |
213 | }; | |
214 | ||
215 | ldo17_reg: LDO17 { | |
216 | regulator-name = "VDDQ_MMC2_3_2.8V"; | |
217 | regulator-min-microvolt = <2800000>; | |
218 | regulator-max-microvolt = <2800000>; | |
219 | regulator-always-on; | |
220 | regulator-boot-on; | |
221 | op_mode = <1>; | |
222 | }; | |
223 | ||
224 | ldo18_reg: LDO18 { | |
225 | regulator-name = "VDD_33ON_2.8V"; | |
226 | regulator-min-microvolt = <2800000>; | |
227 | regulator-max-microvolt = <2800000>; | |
228 | op_mode = <1>; | |
229 | }; | |
230 | ||
231 | ldo22_reg: LDO22 { | |
232 | regulator-name = "EXT_33_OFF"; | |
233 | regulator-min-microvolt = <3300000>; | |
234 | regulator-max-microvolt = <3300000>; | |
235 | op_mode = <1>; | |
236 | }; | |
237 | ||
238 | ldo23_reg: LDO23 { | |
239 | regulator-name = "EXT_28_OFF"; | |
240 | regulator-min-microvolt = <2800000>; | |
241 | regulator-max-microvolt = <2800000>; | |
242 | op_mode = <1>; | |
243 | }; | |
244 | ||
245 | ldo25_reg: LDO25 { | |
246 | regulator-name = "PVDD_LDO25"; | |
247 | regulator-min-microvolt = <1200000>; | |
248 | regulator-max-microvolt = <1200000>; | |
249 | op_mode = <1>; | |
250 | }; | |
251 | ||
252 | ldo26_reg: LDO26 { | |
253 | regulator-name = "EXT_18_OFF"; | |
254 | regulator-min-microvolt = <1800000>; | |
255 | regulator-max-microvolt = <1800000>; | |
256 | op_mode = <1>; | |
257 | }; | |
258 | ||
259 | buck1_reg: BUCK1 { | |
260 | regulator-name = "vdd_mif"; | |
261 | regulator-min-microvolt = <950000>; | |
262 | regulator-max-microvolt = <1200000>; | |
263 | regulator-always-on; | |
264 | regulator-boot-on; | |
265 | op_mode = <1>; | |
266 | }; | |
267 | ||
268 | buck2_reg: BUCK2 { | |
269 | regulator-name = "vdd_arm"; | |
bb28205a | 270 | regulator-min-microvolt = <912500>; |
1f518196 ADK |
271 | regulator-max-microvolt = <1300000>; |
272 | regulator-always-on; | |
273 | regulator-boot-on; | |
274 | op_mode = <1>; | |
275 | }; | |
276 | ||
277 | buck3_reg: BUCK3 { | |
278 | regulator-name = "vdd_int"; | |
279 | regulator-min-microvolt = <900000>; | |
280 | regulator-max-microvolt = <1200000>; | |
281 | regulator-always-on; | |
282 | regulator-boot-on; | |
283 | op_mode = <1>; | |
284 | }; | |
285 | ||
286 | buck4_reg: BUCK4 { | |
287 | regulator-name = "vdd_g3d"; | |
288 | regulator-min-microvolt = <1000000>; | |
289 | regulator-max-microvolt = <1000000>; | |
7dcbda0a | 290 | regulator-always-on; |
1f518196 ADK |
291 | regulator-boot-on; |
292 | op_mode = <1>; | |
293 | }; | |
294 | ||
295 | buck5_reg: BUCK5 { | |
296 | regulator-name = "VDD_MEM_1.35V"; | |
297 | regulator-min-microvolt = <750000>; | |
298 | regulator-max-microvolt = <1355000>; | |
299 | regulator-always-on; | |
300 | regulator-boot-on; | |
301 | op_mode = <1>; | |
302 | }; | |
303 | ||
c1f2d53f MB |
304 | buck7_reg: BUCK7 { |
305 | regulator-name = "PVDD_BUCK7"; | |
306 | regulator-always-on; | |
05118a8e | 307 | op_mode = <1>; |
c1f2d53f MB |
308 | }; |
309 | ||
310 | buck8_reg: BUCK8 { | |
311 | regulator-name = "PVDD_BUCK8"; | |
312 | regulator-always-on; | |
05118a8e | 313 | op_mode = <1>; |
c1f2d53f MB |
314 | }; |
315 | ||
1f518196 ADK |
316 | buck9_reg: BUCK9 { |
317 | regulator-name = "VDD_33_OFF_EXT1"; | |
318 | regulator-min-microvolt = <750000>; | |
319 | regulator-max-microvolt = <3000000>; | |
320 | op_mode = <1>; | |
321 | }; | |
322 | }; | |
323 | }; | |
e88d5ae6 G |
324 | }; |
325 | ||
e88d5ae6 | 326 | i2c@12C80000 { |
6ad8ebff MB |
327 | status = "okay"; |
328 | ||
93457b9c SK |
329 | samsung,i2c-sda-delay = <100>; |
330 | samsung,i2c-max-bus-freq = <66000>; | |
331 | samsung,i2c-slave-addr = <0x50>; | |
332 | ||
333 | hdmiddc@50 { | |
334 | compatible = "samsung,exynos4210-hdmiddc"; | |
335 | reg = <0x50>; | |
336 | }; | |
e88d5ae6 G |
337 | }; |
338 | ||
339 | i2c@12C90000 { | |
6ad8ebff MB |
340 | status = "okay"; |
341 | ||
21274841 | 342 | wm1811a@1a { |
6ad8ebff | 343 | |
21274841 MB |
344 | compatible = "wlf,wm1811"; |
345 | reg = <0x1a>; | |
346 | ||
347 | AVDD2-supply = <&main_dc_reg>; | |
348 | CPVDD-supply = <&main_dc_reg>; | |
349 | DBVDD1-supply = <&main_dc_reg>; | |
350 | DBVDD2-supply = <&main_dc_reg>; | |
351 | DBVDD3-supply = <&main_dc_reg>; | |
352 | LDO1VDD-supply = <&main_dc_reg>; | |
353 | SPKVDD1-supply = <&main_dc_reg>; | |
354 | SPKVDD2-supply = <&main_dc_reg>; | |
355 | ||
356 | wlf,ldo1ena = <&gpb0 0 0>; | |
357 | wlf,ldo2ena = <&gpb0 1 0>; | |
358 | }; | |
e88d5ae6 G |
359 | }; |
360 | ||
93457b9c | 361 | i2c@12CE0000 { |
6ad8ebff MB |
362 | status = "okay"; |
363 | ||
93457b9c SK |
364 | samsung,i2c-sda-delay = <100>; |
365 | samsung,i2c-max-bus-freq = <66000>; | |
366 | samsung,i2c-slave-addr = <0x38>; | |
367 | ||
368 | hdmiphy@38 { | |
369 | compatible = "samsung,exynos4212-hdmiphy"; | |
370 | reg = <0x38>; | |
371 | }; | |
372 | }; | |
373 | ||
c8149df0 | 374 | mmc_0: mmc@12200000 { |
e908d5c5 | 375 | status = "okay"; |
e88d5ae6 G |
376 | num-slots = <1>; |
377 | supports-highspeed; | |
378 | broken-cd; | |
e88d5ae6 G |
379 | card-detect-delay = <200>; |
380 | samsung,dw-mshc-ciu-div = <3>; | |
381 | samsung,dw-mshc-sdr-timing = <2 3>; | |
382 | samsung,dw-mshc-ddr-timing = <1 2>; | |
2988103c | 383 | vmmc-supply = <&mmc_reg>; |
d01fc36b TB |
384 | pinctrl-names = "default"; |
385 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; | |
e88d5ae6 G |
386 | |
387 | slot@0 { | |
388 | reg = <0>; | |
389 | bus-width = <8>; | |
e88d5ae6 G |
390 | }; |
391 | }; | |
392 | ||
c8149df0 | 393 | mmc_2: mmc@12220000 { |
e908d5c5 | 394 | status = "okay"; |
e88d5ae6 G |
395 | num-slots = <1>; |
396 | supports-highspeed; | |
e88d5ae6 G |
397 | card-detect-delay = <200>; |
398 | samsung,dw-mshc-ciu-div = <3>; | |
399 | samsung,dw-mshc-sdr-timing = <2 3>; | |
400 | samsung,dw-mshc-ddr-timing = <1 2>; | |
2988103c | 401 | vmmc-supply = <&mmc_reg>; |
d01fc36b TB |
402 | pinctrl-names = "default"; |
403 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
e88d5ae6 G |
404 | |
405 | slot@0 { | |
406 | reg = <0>; | |
407 | bus-width = <4>; | |
6a446172 | 408 | disable-wp; |
e88d5ae6 G |
409 | }; |
410 | }; | |
411 | ||
328aee4b MB |
412 | i2s0: i2s@03830000 { |
413 | status = "okay"; | |
414 | }; | |
415 | ||
89fec22d TB |
416 | gpio_keys { |
417 | compatible = "gpio-keys"; | |
418 | ||
419 | menu { | |
420 | label = "SW-TACT2"; | |
421 | gpios = <&gpx1 4 1>; | |
422 | linux,code = <139>; | |
423 | gpio-key,wakeup; | |
424 | }; | |
425 | ||
426 | home { | |
427 | label = "SW-TACT3"; | |
428 | gpios = <&gpx1 5 1>; | |
429 | linux,code = <102>; | |
430 | gpio-key,wakeup; | |
431 | }; | |
432 | ||
433 | up { | |
434 | label = "SW-TACT4"; | |
435 | gpios = <&gpx1 6 1>; | |
436 | linux,code = <103>; | |
437 | gpio-key,wakeup; | |
438 | }; | |
439 | ||
440 | down { | |
441 | label = "SW-TACT5"; | |
442 | gpios = <&gpx1 7 1>; | |
443 | linux,code = <108>; | |
444 | gpio-key,wakeup; | |
445 | }; | |
446 | ||
447 | back { | |
448 | label = "SW-TACT6"; | |
449 | gpios = <&gpx2 0 1>; | |
450 | linux,code = <158>; | |
451 | gpio-key,wakeup; | |
452 | }; | |
453 | ||
454 | wakeup { | |
455 | label = "SW-TACT7"; | |
456 | gpios = <&gpx2 1 1>; | |
457 | linux,code = <143>; | |
458 | gpio-key,wakeup; | |
459 | }; | |
460 | }; | |
461 | ||
2d2ff61d SK |
462 | hdmi { |
463 | hpd-gpio = <&gpx3 7 2>; | |
464 | vdd_osc-supply = <&ldo10_reg>; | |
465 | vdd_pll-supply = <&ldo8_reg>; | |
466 | vdd-supply = <&ldo8_reg>; | |
467 | }; | |
468 | ||
aa3edb65 MB |
469 | regulators { |
470 | compatible = "simple-bus"; | |
471 | #address-cells = <1>; | |
472 | #size-cells = <0>; | |
473 | ||
8365f763 | 474 | main_dc_reg: regulator@0 { |
c1f2d53f | 475 | compatible = "regulator-fixed"; |
8365f763 | 476 | reg = <0>; |
c1f2d53f MB |
477 | regulator-name = "MAIN_DC"; |
478 | }; | |
479 | ||
8365f763 | 480 | mmc_reg: regulator@1 { |
aa3edb65 | 481 | compatible = "regulator-fixed"; |
8365f763 | 482 | reg = <1>; |
aa3edb65 MB |
483 | regulator-name = "VDD_33ON_2.8V"; |
484 | regulator-min-microvolt = <2800000>; | |
485 | regulator-max-microvolt = <2800000>; | |
486 | gpio = <&gpx1 1 1>; | |
487 | enable-active-high; | |
488 | }; | |
2988103c | 489 | |
8365f763 | 490 | reg_hdmi_en: regulator@2 { |
aa3edb65 | 491 | compatible = "regulator-fixed"; |
8365f763 | 492 | reg = <2>; |
aa3edb65 MB |
493 | regulator-name = "hdmi-en"; |
494 | }; | |
2d2ff61d SK |
495 | }; |
496 | ||
8b6076d4 TA |
497 | fixed-rate-clocks { |
498 | xxti { | |
499 | compatible = "samsung,clock-xxti"; | |
500 | clock-frequency = <24000000>; | |
501 | }; | |
502 | }; | |
a3093e6f | 503 | |
77899d53 | 504 | dp-controller@145B0000 { |
a3093e6f VS |
505 | samsung,color-space = <0>; |
506 | samsung,dynamic-range = <0>; | |
507 | samsung,ycbcr-coeff = <0>; | |
508 | samsung,color-depth = <1>; | |
509 | samsung,link-rate = <0x0a>; | |
510 | samsung,lane-count = <4>; | |
77899d53 | 511 | status = "okay"; |
a3093e6f VS |
512 | }; |
513 | ||
54db6030 | 514 | fimd: fimd@14400000 { |
9ee35a5b | 515 | status = "okay"; |
54db6030 VS |
516 | display-timings { |
517 | native-mode = <&timing0>; | |
518 | timing0: timing@0 { | |
519 | /* 2560x1600 DP panel */ | |
520 | clock-frequency = <50000>; | |
521 | hactive = <2560>; | |
522 | vactive = <1600>; | |
523 | hfront-porch = <48>; | |
524 | hback-porch = <80>; | |
525 | hsync-len = <32>; | |
526 | vback-porch = <16>; | |
527 | vfront-porch = <8>; | |
528 | vsync-len = <6>; | |
529 | }; | |
530 | }; | |
531 | }; | |
532 | ||
7c1b0ec5 MB |
533 | usb_hub_bus { |
534 | compatible = "simple-bus"; | |
535 | #address-cells = <1>; | |
536 | #size-cells = <0>; | |
537 | ||
538 | // SMSC USB3503 connected in hardware only mode as a PHY | |
539 | usb_hub: usb_hub { | |
540 | compatible = "smsc,usb3503a"; | |
541 | ||
542 | reset-gpios = <&gpx3 5 1>; | |
543 | connect-gpios = <&gpd1 7 1>; | |
544 | }; | |
545 | }; | |
15ac8693 MB |
546 | |
547 | usb@12110000 { | |
548 | usb-phy = <&usb2_phy>; | |
549 | }; | |
e88d5ae6 | 550 | }; |