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