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