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