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 device_type = "memory";
25 reg = <0x40000000 0x7EA00000>;
29 stdout-path = "serial2:115200n8";
33 compatible = "samsung,secure-firmware";
34 reg = <0x02073000 0x1000>;
39 compatible = "samsung,exynos5420-oscclk";
40 clock-frequency = <24000000>;
45 pinctrl-0 = <&emmc_nrst_pin>;
46 pinctrl-names = "default";
47 compatible = "mmc-pwrseq-emmc";
48 reset-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>;
52 compatible = "pwm-fan";
53 pwms = <&pwm 0 20972 0>;
54 cooling-min-state = <0>;
55 cooling-max-state = <3>;
57 cooling-levels = <0 130 170 230>;
61 cpu0_thermal: cpu0-thermal {
62 thermal-sensors = <&tmu_cpu0 0>;
63 polling-delay-passive = <250>;
66 cpu_alert0: cpu-alert-0 {
67 temperature = <50000>; /* millicelsius */
68 hysteresis = <5000>; /* millicelsius */
71 cpu_alert1: cpu-alert-1 {
72 temperature = <60000>; /* millicelsius */
73 hysteresis = <5000>; /* millicelsius */
76 cpu_alert2: cpu-alert-2 {
77 temperature = <70000>; /* millicelsius */
78 hysteresis = <5000>; /* millicelsius */
81 cpu_crit0: cpu-crit-0 {
82 temperature = <120000>; /* millicelsius */
83 hysteresis = <0>; /* millicelsius */
87 * Exynos542x supports only 4 trip-points
88 * so for these polling mode is required.
89 * Start polling at temperature level of last
90 * interrupt-driven trip: cpu_alert2
92 cpu_alert3: cpu-alert-3 {
93 temperature = <70000>; /* millicelsius */
94 hysteresis = <10000>; /* millicelsius */
97 cpu_alert4: cpu-alert-4 {
98 temperature = <85000>; /* millicelsius */
99 hysteresis = <10000>; /* millicelsius */
106 trip = <&cpu_alert0>;
107 cooling-device = <&fan0 0 1>;
110 trip = <&cpu_alert1>;
111 cooling-device = <&fan0 1 2>;
114 trip = <&cpu_alert2>;
115 cooling-device = <&fan0 2 3>;
118 * When reaching cpu_alert3, reduce CPU
119 * by 2 steps. On Exynos5422/5800 that would
120 * be: 1600 MHz and 1100 MHz.
123 trip = <&cpu_alert3>;
124 cooling-device = <&cpu0 0 2>;
127 trip = <&cpu_alert3>;
128 cooling-device = <&cpu4 0 2>;
132 * When reaching cpu_alert4, reduce CPU
133 * further, down to 600 MHz (11 steps for big,
134 * 7 steps for LITTLE).
137 trip = <&cpu_alert4>;
138 cooling-device = <&cpu0 3 7>;
141 trip = <&cpu_alert4>;
142 cooling-device = <&cpu4 3 11>;
150 vdd-supply = <&ldo4_reg>;
155 devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>,
156 <&nocp_mem1_0>, <&nocp_mem1_1>;
157 vdd-supply = <&buck3_reg>;
158 exynos,saturation-ratio = <100>;
163 devfreq = <&bus_wcore>;
168 devfreq = <&bus_wcore>;
173 devfreq = <&bus_wcore>;
178 devfreq = <&bus_wcore>;
183 devfreq = <&bus_wcore>;
188 devfreq = <&bus_wcore>;
193 devfreq = <&bus_wcore>;
198 devfreq = <&bus_wcore>;
203 devfreq = <&bus_wcore>;
208 devfreq = <&bus_wcore>;
213 devfreq = <&bus_wcore>;
218 devfreq = <&bus_wcore>;
223 devfreq = <&bus_wcore>;
228 devfreq = <&bus_wcore>;
233 devfreq = <&bus_wcore>;
238 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
239 <&clock_audss EXYNOS_MOUT_I2S>,
240 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
241 assigned-clock-parents = <&clock CLK_FIN_PLL>,
242 <&clock_audss EXYNOS_MOUT_AUDSS>;
243 assigned-clock-rates = <0>,
249 cpu-supply = <&buck6_reg>;
253 cpu-supply = <&buck2_reg>;
258 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&hdmi_hpd_irq>;
262 vdd_osc-supply = <&ldo7_reg>;
263 vdd_pll-supply = <&ldo6_reg>;
264 vdd-supply = <&ldo6_reg>;
275 compatible = "samsung,s2mps11-pmic";
277 samsung,s2mps11-acokb-ground;
279 interrupt-parent = <&gpx0>;
280 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
281 pinctrl-names = "default";
282 pinctrl-0 = <&s2mps11_irq>;
284 s2mps11_osc: clocks {
286 clock-output-names = "s2mps11_ap",
287 "s2mps11_cp", "s2mps11_bt";
292 regulator-name = "vdd_ldo1";
293 regulator-min-microvolt = <1000000>;
294 regulator-max-microvolt = <1000000>;
299 regulator-name = "vddq_mmc0";
300 regulator-min-microvolt = <1800000>;
301 regulator-max-microvolt = <1800000>;
305 regulator-name = "vdd_adc";
306 regulator-min-microvolt = <1800000>;
307 regulator-max-microvolt = <1800000>;
311 regulator-name = "vdd_ldo5";
312 regulator-min-microvolt = <1800000>;
313 regulator-max-microvolt = <1800000>;
318 regulator-name = "vdd_ldo6";
319 regulator-min-microvolt = <1000000>;
320 regulator-max-microvolt = <1000000>;
325 regulator-name = "vdd_ldo7";
326 regulator-min-microvolt = <1800000>;
327 regulator-max-microvolt = <1800000>;
332 regulator-name = "vdd_ldo8";
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <1800000>;
339 regulator-name = "vdd_ldo9";
340 regulator-min-microvolt = <3000000>;
341 regulator-max-microvolt = <3000000>;
346 regulator-name = "vdd_ldo10";
347 regulator-min-microvolt = <1800000>;
348 regulator-max-microvolt = <1800000>;
353 regulator-name = "vdd_ldo11";
354 regulator-min-microvolt = <1000000>;
355 regulator-max-microvolt = <1000000>;
360 regulator-name = "vdd_ldo12";
361 regulator-min-microvolt = <1800000>;
362 regulator-max-microvolt = <1800000>;
367 regulator-name = "vddq_mmc2";
368 regulator-min-microvolt = <2800000>;
369 regulator-max-microvolt = <2800000>;
373 regulator-name = "vdd_ldo15";
374 regulator-min-microvolt = <3100000>;
375 regulator-max-microvolt = <3100000>;
380 regulator-name = "vdd_ldo16";
381 regulator-min-microvolt = <2200000>;
382 regulator-max-microvolt = <2200000>;
387 regulator-name = "tsp_avdd";
388 regulator-min-microvolt = <3300000>;
389 regulator-max-microvolt = <3300000>;
394 regulator-name = "vdd_emmc_1V8";
395 regulator-min-microvolt = <1800000>;
396 regulator-max-microvolt = <1800000>;
400 regulator-name = "vdd_sd";
401 regulator-min-microvolt = <2800000>;
402 regulator-max-microvolt = <2800000>;
406 regulator-name = "tsp_io";
407 regulator-min-microvolt = <2800000>;
408 regulator-max-microvolt = <2800000>;
413 regulator-name = "vdd_ldo26";
414 regulator-min-microvolt = <3000000>;
415 regulator-max-microvolt = <3000000>;
420 regulator-name = "vdd_mif";
421 regulator-min-microvolt = <800000>;
422 regulator-max-microvolt = <1300000>;
428 regulator-name = "vdd_arm";
429 regulator-min-microvolt = <800000>;
430 regulator-max-microvolt = <1500000>;
436 regulator-name = "vdd_int";
437 regulator-min-microvolt = <800000>;
438 regulator-max-microvolt = <1400000>;
444 regulator-name = "vdd_g3d";
445 regulator-min-microvolt = <800000>;
446 regulator-max-microvolt = <1400000>;
452 regulator-name = "vdd_mem";
453 regulator-min-microvolt = <800000>;
454 regulator-max-microvolt = <1400000>;
460 regulator-name = "vdd_kfc";
461 regulator-min-microvolt = <800000>;
462 regulator-max-microvolt = <1500000>;
468 regulator-name = "vdd_1.0v_ldo";
469 regulator-min-microvolt = <800000>;
470 regulator-max-microvolt = <1500000>;
476 regulator-name = "vdd_1.8v_ldo";
477 regulator-min-microvolt = <800000>;
478 regulator-max-microvolt = <1500000>;
484 regulator-name = "vdd_2.8v_ldo";
485 regulator-min-microvolt = <3000000>;
486 regulator-max-microvolt = <3750000>;
492 regulator-name = "vdd_vmem";
493 regulator-min-microvolt = <2850000>;
494 regulator-max-microvolt = <2850000>;
503 samsung,i2c-sda-delay = <100>;
504 samsung,i2c-max-bus-freq = <66000>;
508 compatible = "samsung,exynos4210-hdmiddc";
515 mmc-pwrseq = <&emmc_pwrseq>;
516 card-detect-delay = <200>;
517 samsung,dw-mshc-ciu-div = <3>;
518 samsung,dw-mshc-sdr-timing = <0 4>;
519 samsung,dw-mshc-ddr-timing = <0 2>;
520 samsung,dw-mshc-hs400-timing = <0 2>;
521 samsung,read-strobe-delay = <90>;
522 pinctrl-names = "default";
523 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>;
528 vmmc-supply = <&ldo18_reg>;
529 vqmmc-supply = <&ldo3_reg>;
534 card-detect-delay = <200>;
535 samsung,dw-mshc-ciu-div = <3>;
536 samsung,dw-mshc-sdr-timing = <0 4>;
537 samsung,dw-mshc-ddr-timing = <0 2>;
538 pinctrl-names = "default";
539 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
542 vmmc-supply = <&ldo19_reg>;
543 vqmmc-supply = <&ldo13_reg>;
563 hdmi_hpd_irq: hdmi-hpd-irq {
564 samsung,pins = "gpx3-7";
565 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
566 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
567 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
570 s2mps11_irq: s2mps11-irq {
571 samsung,pins = "gpx0-4";
572 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
573 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
574 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
579 emmc_nrst_pin: emmc-nrst {
580 samsung,pins = "gpd1-0";
581 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
582 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
583 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
588 vtmu-supply = <&ldo7_reg>;
592 vtmu-supply = <&ldo7_reg>;
596 vtmu-supply = <&ldo7_reg>;
600 vtmu-supply = <&ldo7_reg>;
604 vtmu-supply = <&ldo7_reg>;
609 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
610 clock-names = "rtc", "rtc_src";
617 /* usbdrd_dwc3_1 mode customized in each board */
620 vdd33-supply = <&ldo9_reg>;
621 vdd10-supply = <&ldo11_reg>;
625 vdd33-supply = <&ldo9_reg>;
626 vdd10-supply = <&ldo11_reg>;