2 * Hardkernel Odroid XU3 board device tree source
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 * Copyright (c) 2014 Collabora Ltd.
7 * Copyright (c) 2015 Lukasz Majewski <l.majewski@samsung.com>
8 * Anand Moon <linux.amoon@gmail.com>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
15 #include <dt-bindings/clock/samsung,s2mps11.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/sound/samsung-i2s.h>
19 #include "exynos5800.dtsi"
20 #include "exynos5422-cpus.dtsi"
24 reg = <0x40000000 0x7EA00000>;
28 linux,stdout-path = &serial_2;
32 compatible = "samsung,secure-firmware";
33 reg = <0x02073000 0x1000>;
38 compatible = "samsung,exynos5420-oscclk";
39 clock-frequency = <24000000>;
44 pinctrl-0 = <&emmc_nrst_pin>;
45 pinctrl-names = "default";
46 compatible = "mmc-pwrseq-emmc";
47 reset-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>;
51 compatible = "pwm-fan";
52 pwms = <&pwm 0 20972 0>;
53 cooling-min-state = <0>;
54 cooling-max-state = <3>;
56 cooling-levels = <0 130 170 230>;
60 cpu0_thermal: cpu0-thermal {
61 thermal-sensors = <&tmu_cpu0 0>;
62 polling-delay-passive = <250>;
65 cpu_alert0: cpu-alert-0 {
66 temperature = <50000>; /* millicelsius */
67 hysteresis = <5000>; /* millicelsius */
70 cpu_alert1: cpu-alert-1 {
71 temperature = <60000>; /* millicelsius */
72 hysteresis = <5000>; /* millicelsius */
75 cpu_alert2: cpu-alert-2 {
76 temperature = <70000>; /* millicelsius */
77 hysteresis = <5000>; /* millicelsius */
80 cpu_crit0: cpu-crit-0 {
81 temperature = <120000>; /* millicelsius */
82 hysteresis = <0>; /* millicelsius */
86 * Exynos542x supports only 4 trip-points
87 * so for these polling mode is required.
88 * Start polling at temperature level of last
89 * interrupt-driven trip: cpu_alert2
91 cpu_alert3: cpu-alert-3 {
92 temperature = <70000>; /* millicelsius */
93 hysteresis = <10000>; /* millicelsius */
96 cpu_alert4: cpu-alert-4 {
97 temperature = <85000>; /* millicelsius */
98 hysteresis = <10000>; /* millicelsius */
105 trip = <&cpu_alert0>;
106 cooling-device = <&fan0 0 1>;
109 trip = <&cpu_alert1>;
110 cooling-device = <&fan0 1 2>;
113 trip = <&cpu_alert2>;
114 cooling-device = <&fan0 2 3>;
117 * When reaching cpu_alert3, reduce CPU
118 * by 2 steps. On Exynos5422/5800 that would
119 * be: 1600 MHz and 1100 MHz.
122 trip = <&cpu_alert3>;
123 cooling-device = <&cpu0 0 2>;
126 trip = <&cpu_alert3>;
127 cooling-device = <&cpu4 0 2>;
131 * When reaching cpu_alert4, reduce CPU
132 * further, down to 600 MHz (11 steps for big,
133 * 7 steps for LITTLE).
136 trip = <&cpu_alert4>;
137 cooling-device = <&cpu0 3 7>;
140 trip = <&cpu_alert4>;
141 cooling-device = <&cpu4 3 11>;
149 devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>,
150 <&nocp_mem1_0>, <&nocp_mem1_1>;
151 vdd-supply = <&buck3_reg>;
152 exynos,saturation-ratio = <100>;
157 devfreq = <&bus_wcore>;
162 devfreq = <&bus_wcore>;
167 devfreq = <&bus_wcore>;
172 devfreq = <&bus_wcore>;
177 devfreq = <&bus_wcore>;
182 devfreq = <&bus_wcore>;
187 devfreq = <&bus_wcore>;
192 devfreq = <&bus_wcore>;
197 devfreq = <&bus_wcore>;
202 devfreq = <&bus_wcore>;
207 devfreq = <&bus_wcore>;
212 devfreq = <&bus_wcore>;
217 devfreq = <&bus_wcore>;
222 devfreq = <&bus_wcore>;
227 devfreq = <&bus_wcore>;
232 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
233 <&clock_audss EXYNOS_MOUT_I2S>,
234 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
235 assigned-clock-parents = <&clock CLK_FIN_PLL>,
236 <&clock_audss EXYNOS_MOUT_AUDSS>;
237 assigned-clock-rates = <0>,
243 cpu-supply = <&buck6_reg>;
247 cpu-supply = <&buck2_reg>;
252 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&hdmi_hpd_irq>;
256 vdd_osc-supply = <&ldo7_reg>;
257 vdd_pll-supply = <&ldo6_reg>;
258 vdd-supply = <&ldo6_reg>;
265 compatible = "samsung,s2mps11-pmic";
267 samsung,s2mps11-acokb-ground;
269 interrupt-parent = <&gpx0>;
270 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&s2mps11_irq>;
274 s2mps11_osc: clocks {
276 clock-output-names = "s2mps11_ap",
277 "s2mps11_cp", "s2mps11_bt";
282 regulator-name = "vdd_ldo1";
283 regulator-min-microvolt = <1000000>;
284 regulator-max-microvolt = <1000000>;
289 regulator-name = "vddq_mmc0";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
295 regulator-name = "vdd_ldo5";
296 regulator-min-microvolt = <1800000>;
297 regulator-max-microvolt = <1800000>;
302 regulator-name = "vdd_ldo6";
303 regulator-min-microvolt = <1000000>;
304 regulator-max-microvolt = <1000000>;
309 regulator-name = "vdd_ldo7";
310 regulator-min-microvolt = <1800000>;
311 regulator-max-microvolt = <1800000>;
316 regulator-name = "vdd_ldo8";
317 regulator-min-microvolt = <1800000>;
318 regulator-max-microvolt = <1800000>;
323 regulator-name = "vdd_ldo9";
324 regulator-min-microvolt = <3000000>;
325 regulator-max-microvolt = <3000000>;
330 regulator-name = "vdd_ldo10";
331 regulator-min-microvolt = <1800000>;
332 regulator-max-microvolt = <1800000>;
337 regulator-name = "vdd_ldo11";
338 regulator-min-microvolt = <1000000>;
339 regulator-max-microvolt = <1000000>;
344 regulator-name = "vdd_ldo12";
345 regulator-min-microvolt = <1800000>;
346 regulator-max-microvolt = <1800000>;
351 regulator-name = "vddq_mmc2";
352 regulator-min-microvolt = <2800000>;
353 regulator-max-microvolt = <2800000>;
357 regulator-name = "vdd_ldo15";
358 regulator-min-microvolt = <3100000>;
359 regulator-max-microvolt = <3100000>;
364 regulator-name = "vdd_ldo16";
365 regulator-min-microvolt = <2200000>;
366 regulator-max-microvolt = <2200000>;
371 regulator-name = "tsp_avdd";
372 regulator-min-microvolt = <3300000>;
373 regulator-max-microvolt = <3300000>;
378 regulator-name = "vdd_emmc_1V8";
379 regulator-min-microvolt = <1800000>;
380 regulator-max-microvolt = <1800000>;
384 regulator-name = "vdd_sd";
385 regulator-min-microvolt = <2800000>;
386 regulator-max-microvolt = <2800000>;
390 regulator-name = "tsp_io";
391 regulator-min-microvolt = <2800000>;
392 regulator-max-microvolt = <2800000>;
397 regulator-name = "vdd_ldo26";
398 regulator-min-microvolt = <3000000>;
399 regulator-max-microvolt = <3000000>;
404 regulator-name = "vdd_mif";
405 regulator-min-microvolt = <800000>;
406 regulator-max-microvolt = <1300000>;
412 regulator-name = "vdd_arm";
413 regulator-min-microvolt = <800000>;
414 regulator-max-microvolt = <1500000>;
420 regulator-name = "vdd_int";
421 regulator-min-microvolt = <800000>;
422 regulator-max-microvolt = <1400000>;
428 regulator-name = "vdd_g3d";
429 regulator-min-microvolt = <800000>;
430 regulator-max-microvolt = <1400000>;
436 regulator-name = "vdd_mem";
437 regulator-min-microvolt = <800000>;
438 regulator-max-microvolt = <1400000>;
444 regulator-name = "vdd_kfc";
445 regulator-min-microvolt = <800000>;
446 regulator-max-microvolt = <1500000>;
452 regulator-name = "vdd_1.0v_ldo";
453 regulator-min-microvolt = <800000>;
454 regulator-max-microvolt = <1500000>;
460 regulator-name = "vdd_1.8v_ldo";
461 regulator-min-microvolt = <800000>;
462 regulator-max-microvolt = <1500000>;
468 regulator-name = "vdd_2.8v_ldo";
469 regulator-min-microvolt = <3000000>;
470 regulator-max-microvolt = <3750000>;
476 regulator-name = "vdd_vmem";
477 regulator-min-microvolt = <2850000>;
478 regulator-max-microvolt = <2850000>;
487 samsung,i2c-sda-delay = <100>;
488 samsung,i2c-max-bus-freq = <66000>;
492 compatible = "samsung,exynos4210-hdmiddc";
498 samsung,mfc-r = <0x43000000 0x800000>;
499 samsung,mfc-l = <0x51000000 0x800000>;
504 mmc-pwrseq = <&emmc_pwrseq>;
505 cd-gpios = <&gpc0 2 GPIO_ACTIVE_LOW>;
506 card-detect-delay = <200>;
507 samsung,dw-mshc-ciu-div = <3>;
508 samsung,dw-mshc-sdr-timing = <0 4>;
509 samsung,dw-mshc-ddr-timing = <0 2>;
510 samsung,dw-mshc-hs400-timing = <0 2>;
511 samsung,read-strobe-delay = <90>;
512 pinctrl-names = "default";
513 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>;
518 vmmc-supply = <&ldo18_reg>;
519 vqmmc-supply = <&ldo3_reg>;
524 card-detect-delay = <200>;
525 samsung,dw-mshc-ciu-div = <3>;
526 samsung,dw-mshc-sdr-timing = <0 4>;
527 samsung,dw-mshc-ddr-timing = <0 2>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
532 vmmc-supply = <&ldo19_reg>;
533 vqmmc-supply = <&ldo13_reg>;
553 hdmi_hpd_irq: hdmi-hpd-irq {
554 samsung,pins = "gpx3-7";
555 samsung,pin-function = <0>;
556 samsung,pin-pud = <1>;
557 samsung,pin-drv = <0>;
560 s2mps11_irq: s2mps11-irq {
561 samsung,pins = "gpx0-4";
562 samsung,pin-function = <0xf>;
563 samsung,pin-pud = <0>;
564 samsung,pin-drv = <0>;
569 emmc_nrst_pin: emmc-nrst {
570 samsung,pins = "gpd1-0";
571 samsung,pin-function = <0>;
572 samsung,pin-pud = <0>;
573 samsung,pin-drv = <0>;
578 vtmu-supply = <&ldo7_reg>;
582 vtmu-supply = <&ldo7_reg>;
586 vtmu-supply = <&ldo7_reg>;
590 vtmu-supply = <&ldo7_reg>;
594 vtmu-supply = <&ldo7_reg>;
599 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
600 clock-names = "rtc", "rtc_src";
607 /* usbdrd_dwc3_1 mode customized in each board */
610 vdd33-supply = <&ldo9_reg>;
611 vdd10-supply = <&ldo11_reg>;
615 vdd33-supply = <&ldo9_reg>;
616 vdd10-supply = <&ldo11_reg>;