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 devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>,
152 <&nocp_mem1_0>, <&nocp_mem1_1>;
153 vdd-supply = <&buck3_reg>;
154 exynos,saturation-ratio = <100>;
159 devfreq = <&bus_wcore>;
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 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
235 <&clock_audss EXYNOS_MOUT_I2S>,
236 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
237 assigned-clock-parents = <&clock CLK_FIN_PLL>,
238 <&clock_audss EXYNOS_MOUT_AUDSS>;
239 assigned-clock-rates = <0>,
245 cpu-supply = <&buck6_reg>;
249 cpu-supply = <&buck2_reg>;
254 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&hdmi_hpd_irq>;
258 vdd_osc-supply = <&ldo7_reg>;
259 vdd_pll-supply = <&ldo6_reg>;
260 vdd-supply = <&ldo6_reg>;
267 compatible = "samsung,s2mps11-pmic";
269 samsung,s2mps11-acokb-ground;
271 interrupt-parent = <&gpx0>;
272 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&s2mps11_irq>;
276 s2mps11_osc: clocks {
278 clock-output-names = "s2mps11_ap",
279 "s2mps11_cp", "s2mps11_bt";
284 regulator-name = "vdd_ldo1";
285 regulator-min-microvolt = <1000000>;
286 regulator-max-microvolt = <1000000>;
291 regulator-name = "vddq_mmc0";
292 regulator-min-microvolt = <1800000>;
293 regulator-max-microvolt = <1800000>;
297 regulator-name = "vdd_ldo5";
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <1800000>;
304 regulator-name = "vdd_ldo6";
305 regulator-min-microvolt = <1000000>;
306 regulator-max-microvolt = <1000000>;
311 regulator-name = "vdd_ldo7";
312 regulator-min-microvolt = <1800000>;
313 regulator-max-microvolt = <1800000>;
318 regulator-name = "vdd_ldo8";
319 regulator-min-microvolt = <1800000>;
320 regulator-max-microvolt = <1800000>;
325 regulator-name = "vdd_ldo9";
326 regulator-min-microvolt = <3000000>;
327 regulator-max-microvolt = <3000000>;
332 regulator-name = "vdd_ldo10";
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <1800000>;
339 regulator-name = "vdd_ldo11";
340 regulator-min-microvolt = <1000000>;
341 regulator-max-microvolt = <1000000>;
346 regulator-name = "vdd_ldo12";
347 regulator-min-microvolt = <1800000>;
348 regulator-max-microvolt = <1800000>;
353 regulator-name = "vddq_mmc2";
354 regulator-min-microvolt = <2800000>;
355 regulator-max-microvolt = <2800000>;
359 regulator-name = "vdd_ldo15";
360 regulator-min-microvolt = <3100000>;
361 regulator-max-microvolt = <3100000>;
366 regulator-name = "vdd_ldo16";
367 regulator-min-microvolt = <2200000>;
368 regulator-max-microvolt = <2200000>;
373 regulator-name = "tsp_avdd";
374 regulator-min-microvolt = <3300000>;
375 regulator-max-microvolt = <3300000>;
380 regulator-name = "vdd_emmc_1V8";
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <1800000>;
386 regulator-name = "vdd_sd";
387 regulator-min-microvolt = <2800000>;
388 regulator-max-microvolt = <2800000>;
392 regulator-name = "tsp_io";
393 regulator-min-microvolt = <2800000>;
394 regulator-max-microvolt = <2800000>;
399 regulator-name = "vdd_ldo26";
400 regulator-min-microvolt = <3000000>;
401 regulator-max-microvolt = <3000000>;
406 regulator-name = "vdd_mif";
407 regulator-min-microvolt = <800000>;
408 regulator-max-microvolt = <1300000>;
414 regulator-name = "vdd_arm";
415 regulator-min-microvolt = <800000>;
416 regulator-max-microvolt = <1500000>;
422 regulator-name = "vdd_int";
423 regulator-min-microvolt = <800000>;
424 regulator-max-microvolt = <1400000>;
430 regulator-name = "vdd_g3d";
431 regulator-min-microvolt = <800000>;
432 regulator-max-microvolt = <1400000>;
438 regulator-name = "vdd_mem";
439 regulator-min-microvolt = <800000>;
440 regulator-max-microvolt = <1400000>;
446 regulator-name = "vdd_kfc";
447 regulator-min-microvolt = <800000>;
448 regulator-max-microvolt = <1500000>;
454 regulator-name = "vdd_1.0v_ldo";
455 regulator-min-microvolt = <800000>;
456 regulator-max-microvolt = <1500000>;
462 regulator-name = "vdd_1.8v_ldo";
463 regulator-min-microvolt = <800000>;
464 regulator-max-microvolt = <1500000>;
470 regulator-name = "vdd_2.8v_ldo";
471 regulator-min-microvolt = <3000000>;
472 regulator-max-microvolt = <3750000>;
478 regulator-name = "vdd_vmem";
479 regulator-min-microvolt = <2850000>;
480 regulator-max-microvolt = <2850000>;
489 samsung,i2c-sda-delay = <100>;
490 samsung,i2c-max-bus-freq = <66000>;
494 compatible = "samsung,exynos4210-hdmiddc";
501 mmc-pwrseq = <&emmc_pwrseq>;
502 cd-gpios = <&gpc0 2 GPIO_ACTIVE_LOW>;
503 card-detect-delay = <200>;
504 samsung,dw-mshc-ciu-div = <3>;
505 samsung,dw-mshc-sdr-timing = <0 4>;
506 samsung,dw-mshc-ddr-timing = <0 2>;
507 samsung,dw-mshc-hs400-timing = <0 2>;
508 samsung,read-strobe-delay = <90>;
509 pinctrl-names = "default";
510 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>;
515 vmmc-supply = <&ldo18_reg>;
516 vqmmc-supply = <&ldo3_reg>;
521 card-detect-delay = <200>;
522 samsung,dw-mshc-ciu-div = <3>;
523 samsung,dw-mshc-sdr-timing = <0 4>;
524 samsung,dw-mshc-ddr-timing = <0 2>;
525 pinctrl-names = "default";
526 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
529 vmmc-supply = <&ldo19_reg>;
530 vqmmc-supply = <&ldo13_reg>;
550 hdmi_hpd_irq: hdmi-hpd-irq {
551 samsung,pins = "gpx3-7";
552 samsung,pin-function = <0>;
553 samsung,pin-pud = <1>;
554 samsung,pin-drv = <0>;
557 s2mps11_irq: s2mps11-irq {
558 samsung,pins = "gpx0-4";
559 samsung,pin-function = <0xf>;
560 samsung,pin-pud = <0>;
561 samsung,pin-drv = <0>;
566 emmc_nrst_pin: emmc-nrst {
567 samsung,pins = "gpd1-0";
568 samsung,pin-function = <0>;
569 samsung,pin-pud = <0>;
570 samsung,pin-drv = <0>;
575 vtmu-supply = <&ldo7_reg>;
579 vtmu-supply = <&ldo7_reg>;
583 vtmu-supply = <&ldo7_reg>;
587 vtmu-supply = <&ldo7_reg>;
591 vtmu-supply = <&ldo7_reg>;
596 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
597 clock-names = "rtc", "rtc_src";
604 /* usbdrd_dwc3_1 mode customized in each board */
607 vdd33-supply = <&ldo9_reg>;
608 vdd10-supply = <&ldo11_reg>;
612 vdd33-supply = <&ldo9_reg>;
613 vdd10-supply = <&ldo11_reg>;