]>
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 { | |
93457b9c SK |
327 | samsung,i2c-sda-delay = <100>; |
328 | samsung,i2c-max-bus-freq = <66000>; | |
329 | samsung,i2c-slave-addr = <0x50>; | |
330 | ||
331 | hdmiddc@50 { | |
332 | compatible = "samsung,exynos4210-hdmiddc"; | |
333 | reg = <0x50>; | |
334 | }; | |
e88d5ae6 G |
335 | }; |
336 | ||
337 | i2c@12C90000 { | |
21274841 MB |
338 | wm1811a@1a { |
339 | compatible = "wlf,wm1811"; | |
340 | reg = <0x1a>; | |
341 | ||
342 | AVDD2-supply = <&main_dc_reg>; | |
343 | CPVDD-supply = <&main_dc_reg>; | |
344 | DBVDD1-supply = <&main_dc_reg>; | |
345 | DBVDD2-supply = <&main_dc_reg>; | |
346 | DBVDD3-supply = <&main_dc_reg>; | |
347 | LDO1VDD-supply = <&main_dc_reg>; | |
348 | SPKVDD1-supply = <&main_dc_reg>; | |
349 | SPKVDD2-supply = <&main_dc_reg>; | |
350 | ||
351 | wlf,ldo1ena = <&gpb0 0 0>; | |
352 | wlf,ldo2ena = <&gpb0 1 0>; | |
353 | }; | |
e88d5ae6 G |
354 | }; |
355 | ||
356 | i2c@12CA0000 { | |
357 | status = "disabled"; | |
358 | }; | |
359 | ||
360 | i2c@12CB0000 { | |
361 | status = "disabled"; | |
362 | }; | |
363 | ||
364 | i2c@12CC0000 { | |
365 | status = "disabled"; | |
366 | }; | |
367 | ||
368 | i2c@12CD0000 { | |
369 | status = "disabled"; | |
370 | }; | |
371 | ||
93457b9c SK |
372 | i2c@12CE0000 { |
373 | samsung,i2c-sda-delay = <100>; | |
374 | samsung,i2c-max-bus-freq = <66000>; | |
375 | samsung,i2c-slave-addr = <0x38>; | |
376 | ||
377 | hdmiphy@38 { | |
378 | compatible = "samsung,exynos4212-hdmiphy"; | |
379 | reg = <0x38>; | |
380 | }; | |
381 | }; | |
382 | ||
e88d5ae6 G |
383 | i2c@121D0000 { |
384 | status = "disabled"; | |
385 | }; | |
386 | ||
387 | dwmmc_0: dwmmc0@12200000 { | |
388 | num-slots = <1>; | |
389 | supports-highspeed; | |
390 | broken-cd; | |
391 | fifo-depth = <0x80>; | |
392 | card-detect-delay = <200>; | |
393 | samsung,dw-mshc-ciu-div = <3>; | |
394 | samsung,dw-mshc-sdr-timing = <2 3>; | |
395 | samsung,dw-mshc-ddr-timing = <1 2>; | |
2988103c | 396 | vmmc-supply = <&mmc_reg>; |
d01fc36b TB |
397 | pinctrl-names = "default"; |
398 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; | |
e88d5ae6 G |
399 | |
400 | slot@0 { | |
401 | reg = <0>; | |
402 | bus-width = <8>; | |
e88d5ae6 G |
403 | }; |
404 | }; | |
405 | ||
406 | dwmmc_1: dwmmc1@12210000 { | |
407 | status = "disabled"; | |
408 | }; | |
409 | ||
410 | dwmmc_2: dwmmc2@12220000 { | |
411 | num-slots = <1>; | |
412 | supports-highspeed; | |
413 | fifo-depth = <0x80>; | |
414 | card-detect-delay = <200>; | |
415 | samsung,dw-mshc-ciu-div = <3>; | |
416 | samsung,dw-mshc-sdr-timing = <2 3>; | |
417 | samsung,dw-mshc-ddr-timing = <1 2>; | |
2988103c | 418 | vmmc-supply = <&mmc_reg>; |
d01fc36b TB |
419 | pinctrl-names = "default"; |
420 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
e88d5ae6 G |
421 | |
422 | slot@0 { | |
423 | reg = <0>; | |
424 | bus-width = <4>; | |
6a446172 | 425 | disable-wp; |
e88d5ae6 G |
426 | }; |
427 | }; | |
428 | ||
429 | dwmmc_3: dwmmc3@12230000 { | |
430 | status = "disabled"; | |
431 | }; | |
432 | ||
328aee4b MB |
433 | i2s0: i2s@03830000 { |
434 | status = "okay"; | |
435 | }; | |
436 | ||
e88d5ae6 G |
437 | spi_0: spi@12d20000 { |
438 | status = "disabled"; | |
439 | }; | |
440 | ||
441 | spi_1: spi@12d30000 { | |
442 | status = "disabled"; | |
443 | }; | |
444 | ||
445 | spi_2: spi@12d40000 { | |
446 | status = "disabled"; | |
447 | }; | |
8b6076d4 | 448 | |
89fec22d TB |
449 | gpio_keys { |
450 | compatible = "gpio-keys"; | |
451 | ||
452 | menu { | |
453 | label = "SW-TACT2"; | |
454 | gpios = <&gpx1 4 1>; | |
455 | linux,code = <139>; | |
456 | gpio-key,wakeup; | |
457 | }; | |
458 | ||
459 | home { | |
460 | label = "SW-TACT3"; | |
461 | gpios = <&gpx1 5 1>; | |
462 | linux,code = <102>; | |
463 | gpio-key,wakeup; | |
464 | }; | |
465 | ||
466 | up { | |
467 | label = "SW-TACT4"; | |
468 | gpios = <&gpx1 6 1>; | |
469 | linux,code = <103>; | |
470 | gpio-key,wakeup; | |
471 | }; | |
472 | ||
473 | down { | |
474 | label = "SW-TACT5"; | |
475 | gpios = <&gpx1 7 1>; | |
476 | linux,code = <108>; | |
477 | gpio-key,wakeup; | |
478 | }; | |
479 | ||
480 | back { | |
481 | label = "SW-TACT6"; | |
482 | gpios = <&gpx2 0 1>; | |
483 | linux,code = <158>; | |
484 | gpio-key,wakeup; | |
485 | }; | |
486 | ||
487 | wakeup { | |
488 | label = "SW-TACT7"; | |
489 | gpios = <&gpx2 1 1>; | |
490 | linux,code = <143>; | |
491 | gpio-key,wakeup; | |
492 | }; | |
493 | }; | |
494 | ||
2d2ff61d SK |
495 | hdmi { |
496 | hpd-gpio = <&gpx3 7 2>; | |
497 | vdd_osc-supply = <&ldo10_reg>; | |
498 | vdd_pll-supply = <&ldo8_reg>; | |
499 | vdd-supply = <&ldo8_reg>; | |
500 | }; | |
501 | ||
aa3edb65 MB |
502 | regulators { |
503 | compatible = "simple-bus"; | |
504 | #address-cells = <1>; | |
505 | #size-cells = <0>; | |
506 | ||
8365f763 | 507 | main_dc_reg: regulator@0 { |
c1f2d53f | 508 | compatible = "regulator-fixed"; |
8365f763 | 509 | reg = <0>; |
c1f2d53f MB |
510 | regulator-name = "MAIN_DC"; |
511 | }; | |
512 | ||
8365f763 | 513 | mmc_reg: regulator@1 { |
aa3edb65 | 514 | compatible = "regulator-fixed"; |
8365f763 | 515 | reg = <1>; |
aa3edb65 MB |
516 | regulator-name = "VDD_33ON_2.8V"; |
517 | regulator-min-microvolt = <2800000>; | |
518 | regulator-max-microvolt = <2800000>; | |
519 | gpio = <&gpx1 1 1>; | |
520 | enable-active-high; | |
521 | }; | |
2988103c | 522 | |
8365f763 | 523 | reg_hdmi_en: regulator@2 { |
aa3edb65 | 524 | compatible = "regulator-fixed"; |
8365f763 | 525 | reg = <2>; |
aa3edb65 MB |
526 | regulator-name = "hdmi-en"; |
527 | }; | |
2d2ff61d SK |
528 | }; |
529 | ||
8b6076d4 TA |
530 | fixed-rate-clocks { |
531 | xxti { | |
532 | compatible = "samsung,clock-xxti"; | |
533 | clock-frequency = <24000000>; | |
534 | }; | |
535 | }; | |
a3093e6f | 536 | |
77899d53 | 537 | dp-controller@145B0000 { |
a3093e6f VS |
538 | samsung,color-space = <0>; |
539 | samsung,dynamic-range = <0>; | |
540 | samsung,ycbcr-coeff = <0>; | |
541 | samsung,color-depth = <1>; | |
542 | samsung,link-rate = <0x0a>; | |
543 | samsung,lane-count = <4>; | |
77899d53 | 544 | status = "okay"; |
a3093e6f VS |
545 | }; |
546 | ||
54db6030 | 547 | fimd: fimd@14400000 { |
9ee35a5b | 548 | status = "okay"; |
54db6030 VS |
549 | display-timings { |
550 | native-mode = <&timing0>; | |
551 | timing0: timing@0 { | |
552 | /* 2560x1600 DP panel */ | |
553 | clock-frequency = <50000>; | |
554 | hactive = <2560>; | |
555 | vactive = <1600>; | |
556 | hfront-porch = <48>; | |
557 | hback-porch = <80>; | |
558 | hsync-len = <32>; | |
559 | vback-porch = <16>; | |
560 | vfront-porch = <8>; | |
561 | vsync-len = <6>; | |
562 | }; | |
563 | }; | |
564 | }; | |
565 | ||
7c1b0ec5 MB |
566 | usb_hub_bus { |
567 | compatible = "simple-bus"; | |
568 | #address-cells = <1>; | |
569 | #size-cells = <0>; | |
570 | ||
571 | // SMSC USB3503 connected in hardware only mode as a PHY | |
572 | usb_hub: usb_hub { | |
573 | compatible = "smsc,usb3503a"; | |
574 | ||
575 | reset-gpios = <&gpx3 5 1>; | |
576 | connect-gpios = <&gpd1 7 1>; | |
577 | }; | |
578 | }; | |
15ac8693 MB |
579 | |
580 | usb@12110000 { | |
581 | usb-phy = <&usb2_phy>; | |
582 | }; | |
e88d5ae6 | 583 | }; |