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"
21 #include "exynos-mfc-reserved-memory.dtsi"
25 device_type = "memory";
26 reg = <0x40000000 0x7EA00000>;
30 stdout-path = "serial2:115200n8";
34 compatible = "samsung,secure-firmware";
35 reg = <0x02073000 0x1000>;
40 compatible = "samsung,exynos5420-oscclk";
41 clock-frequency = <24000000>;
46 pinctrl-0 = <&emmc_nrst_pin>;
47 pinctrl-names = "default";
48 compatible = "mmc-pwrseq-emmc";
49 reset-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>;
53 compatible = "pwm-fan";
54 pwms = <&pwm 0 20972 0>;
55 cooling-min-state = <0>;
56 cooling-max-state = <3>;
58 cooling-levels = <0 130 170 230>;
62 cpu0_thermal: cpu0-thermal {
63 thermal-sensors = <&tmu_cpu0 0>;
64 polling-delay-passive = <250>;
67 cpu_alert0: cpu-alert-0 {
68 temperature = <50000>; /* millicelsius */
69 hysteresis = <5000>; /* millicelsius */
72 cpu_alert1: cpu-alert-1 {
73 temperature = <60000>; /* millicelsius */
74 hysteresis = <5000>; /* millicelsius */
77 cpu_alert2: cpu-alert-2 {
78 temperature = <70000>; /* millicelsius */
79 hysteresis = <5000>; /* millicelsius */
82 cpu_crit0: cpu-crit-0 {
83 temperature = <120000>; /* millicelsius */
84 hysteresis = <0>; /* millicelsius */
88 * Exynos542x supports only 4 trip-points
89 * so for these polling mode is required.
90 * Start polling at temperature level of last
91 * interrupt-driven trip: cpu_alert2
93 cpu_alert3: cpu-alert-3 {
94 temperature = <70000>; /* millicelsius */
95 hysteresis = <10000>; /* millicelsius */
98 cpu_alert4: cpu-alert-4 {
99 temperature = <85000>; /* millicelsius */
100 hysteresis = <10000>; /* millicelsius */
107 trip = <&cpu_alert0>;
108 cooling-device = <&fan0 0 1>;
111 trip = <&cpu_alert1>;
112 cooling-device = <&fan0 1 2>;
115 trip = <&cpu_alert2>;
116 cooling-device = <&fan0 2 3>;
119 * When reaching cpu_alert3, reduce CPU
120 * by 2 steps. On Exynos5422/5800 that would
121 * be: 1600 MHz and 1100 MHz.
124 trip = <&cpu_alert3>;
125 cooling-device = <&cpu0 0 2>;
128 trip = <&cpu_alert3>;
129 cooling-device = <&cpu4 0 2>;
133 * When reaching cpu_alert4, reduce CPU
134 * further, down to 600 MHz (11 steps for big,
135 * 7 steps for LITTLE).
138 trip = <&cpu_alert4>;
139 cooling-device = <&cpu0 3 7>;
142 trip = <&cpu_alert4>;
143 cooling-device = <&cpu4 3 11>;
151 vdd-supply = <&ldo4_reg>;
156 devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>,
157 <&nocp_mem1_0>, <&nocp_mem1_1>;
158 vdd-supply = <&buck3_reg>;
159 exynos,saturation-ratio = <100>;
164 devfreq = <&bus_wcore>;
169 devfreq = <&bus_wcore>;
174 devfreq = <&bus_wcore>;
179 devfreq = <&bus_wcore>;
184 devfreq = <&bus_wcore>;
189 devfreq = <&bus_wcore>;
194 devfreq = <&bus_wcore>;
199 devfreq = <&bus_wcore>;
204 devfreq = <&bus_wcore>;
209 devfreq = <&bus_wcore>;
214 devfreq = <&bus_wcore>;
219 devfreq = <&bus_wcore>;
224 devfreq = <&bus_wcore>;
229 devfreq = <&bus_wcore>;
234 devfreq = <&bus_wcore>;
239 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
240 <&clock_audss EXYNOS_MOUT_I2S>,
241 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
242 assigned-clock-parents = <&clock CLK_FIN_PLL>,
243 <&clock_audss EXYNOS_MOUT_AUDSS>;
244 assigned-clock-rates = <0>,
250 cpu-supply = <&buck6_reg>;
254 cpu-supply = <&buck2_reg>;
259 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
260 pinctrl-names = "default";
261 pinctrl-0 = <&hdmi_hpd_irq>;
263 vdd_osc-supply = <&ldo7_reg>;
264 vdd_pll-supply = <&ldo6_reg>;
265 vdd-supply = <&ldo6_reg>;
272 compatible = "samsung,s2mps11-pmic";
274 samsung,s2mps11-acokb-ground;
276 interrupt-parent = <&gpx0>;
277 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&s2mps11_irq>;
281 s2mps11_osc: clocks {
283 clock-output-names = "s2mps11_ap",
284 "s2mps11_cp", "s2mps11_bt";
289 regulator-name = "vdd_ldo1";
290 regulator-min-microvolt = <1000000>;
291 regulator-max-microvolt = <1000000>;
296 regulator-name = "vddq_mmc0";
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
302 regulator-name = "vdd_adc";
303 regulator-min-microvolt = <1800000>;
304 regulator-max-microvolt = <1800000>;
308 regulator-name = "vdd_ldo5";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
315 regulator-name = "vdd_ldo6";
316 regulator-min-microvolt = <1000000>;
317 regulator-max-microvolt = <1000000>;
322 regulator-name = "vdd_ldo7";
323 regulator-min-microvolt = <1800000>;
324 regulator-max-microvolt = <1800000>;
329 regulator-name = "vdd_ldo8";
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <1800000>;
336 regulator-name = "vdd_ldo9";
337 regulator-min-microvolt = <3000000>;
338 regulator-max-microvolt = <3000000>;
343 regulator-name = "vdd_ldo10";
344 regulator-min-microvolt = <1800000>;
345 regulator-max-microvolt = <1800000>;
350 regulator-name = "vdd_ldo11";
351 regulator-min-microvolt = <1000000>;
352 regulator-max-microvolt = <1000000>;
357 regulator-name = "vdd_ldo12";
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <1800000>;
364 regulator-name = "vddq_mmc2";
365 regulator-min-microvolt = <2800000>;
366 regulator-max-microvolt = <2800000>;
370 regulator-name = "vdd_ldo15";
371 regulator-min-microvolt = <3100000>;
372 regulator-max-microvolt = <3100000>;
377 regulator-name = "vdd_ldo16";
378 regulator-min-microvolt = <2200000>;
379 regulator-max-microvolt = <2200000>;
384 regulator-name = "tsp_avdd";
385 regulator-min-microvolt = <3300000>;
386 regulator-max-microvolt = <3300000>;
391 regulator-name = "vdd_emmc_1V8";
392 regulator-min-microvolt = <1800000>;
393 regulator-max-microvolt = <1800000>;
397 regulator-name = "vdd_sd";
398 regulator-min-microvolt = <2800000>;
399 regulator-max-microvolt = <2800000>;
403 regulator-name = "tsp_io";
404 regulator-min-microvolt = <2800000>;
405 regulator-max-microvolt = <2800000>;
410 regulator-name = "vdd_ldo26";
411 regulator-min-microvolt = <3000000>;
412 regulator-max-microvolt = <3000000>;
417 regulator-name = "vdd_mif";
418 regulator-min-microvolt = <800000>;
419 regulator-max-microvolt = <1300000>;
425 regulator-name = "vdd_arm";
426 regulator-min-microvolt = <800000>;
427 regulator-max-microvolt = <1500000>;
433 regulator-name = "vdd_int";
434 regulator-min-microvolt = <800000>;
435 regulator-max-microvolt = <1400000>;
441 regulator-name = "vdd_g3d";
442 regulator-min-microvolt = <800000>;
443 regulator-max-microvolt = <1400000>;
449 regulator-name = "vdd_mem";
450 regulator-min-microvolt = <800000>;
451 regulator-max-microvolt = <1400000>;
457 regulator-name = "vdd_kfc";
458 regulator-min-microvolt = <800000>;
459 regulator-max-microvolt = <1500000>;
465 regulator-name = "vdd_1.0v_ldo";
466 regulator-min-microvolt = <800000>;
467 regulator-max-microvolt = <1500000>;
473 regulator-name = "vdd_1.8v_ldo";
474 regulator-min-microvolt = <800000>;
475 regulator-max-microvolt = <1500000>;
481 regulator-name = "vdd_2.8v_ldo";
482 regulator-min-microvolt = <3000000>;
483 regulator-max-microvolt = <3750000>;
489 regulator-name = "vdd_vmem";
490 regulator-min-microvolt = <2850000>;
491 regulator-max-microvolt = <2850000>;
500 samsung,i2c-sda-delay = <100>;
501 samsung,i2c-max-bus-freq = <66000>;
505 compatible = "samsung,exynos4210-hdmiddc";
512 mmc-pwrseq = <&emmc_pwrseq>;
513 card-detect-delay = <200>;
514 samsung,dw-mshc-ciu-div = <3>;
515 samsung,dw-mshc-sdr-timing = <0 4>;
516 samsung,dw-mshc-ddr-timing = <0 2>;
517 samsung,dw-mshc-hs400-timing = <0 2>;
518 samsung,read-strobe-delay = <90>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>;
525 vmmc-supply = <&ldo18_reg>;
526 vqmmc-supply = <&ldo3_reg>;
531 card-detect-delay = <200>;
532 samsung,dw-mshc-ciu-div = <3>;
533 samsung,dw-mshc-sdr-timing = <0 4>;
534 samsung,dw-mshc-ddr-timing = <0 2>;
535 pinctrl-names = "default";
536 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
539 vmmc-supply = <&ldo19_reg>;
540 vqmmc-supply = <&ldo13_reg>;
560 hdmi_hpd_irq: hdmi-hpd-irq {
561 samsung,pins = "gpx3-7";
562 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
563 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
564 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
567 s2mps11_irq: s2mps11-irq {
568 samsung,pins = "gpx0-4";
569 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
570 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
571 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
576 emmc_nrst_pin: emmc-nrst {
577 samsung,pins = "gpd1-0";
578 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
579 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
580 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
585 vtmu-supply = <&ldo7_reg>;
589 vtmu-supply = <&ldo7_reg>;
593 vtmu-supply = <&ldo7_reg>;
597 vtmu-supply = <&ldo7_reg>;
601 vtmu-supply = <&ldo7_reg>;
606 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
607 clock-names = "rtc", "rtc_src";
614 /* usbdrd_dwc3_1 mode customized in each board */
617 vdd33-supply = <&ldo9_reg>;
618 vdd10-supply = <&ldo11_reg>;
622 vdd33-supply = <&ldo9_reg>;
623 vdd10-supply = <&ldo11_reg>;