2 * Hardkernel Odroid XU3 board device tree source
4 * Copyright (c) 2014 Collabora Ltd.
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/sound/samsung-i2s.h>
17 #include "exynos5800.dtsi"
21 reg = <0x40000000 0x7EA00000>;
25 linux,stdout-path = &serial_2;
29 compatible = "samsung,secure-firmware";
30 reg = <0x02073000 0x1000>;
35 compatible = "samsung,exynos5420-oscclk";
36 clock-frequency = <24000000>;
41 pinctrl-0 = <&emmc_nrst_pin>;
42 pinctrl-names = "default";
43 compatible = "mmc-pwrseq-emmc";
44 reset-gpios = <&gpd1 0 1>;
48 compatible = "pwm-leds";
52 pwms = <&pwm 1 2000000 0>;
55 * Green LED is much brighter than the others
56 * so limit its max brightness
58 max_brightness = <127>;
59 linux,default-trigger = "mmc0";
63 label = "blue:heartbeat";
64 pwms = <&pwm 2 2000000 0>;
66 max_brightness = <255>;
67 linux,default-trigger = "heartbeat";
72 compatible = "gpio-leds";
74 label = "red:microSD";
75 gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
76 default-state = "off";
77 linux,default-trigger = "mmc1";
82 compatible = "simple-audio-card";
84 simple-audio-card,name = "Odroid-XU3";
85 simple-audio-card,widgets =
86 "Headphone", "Headphone Jack",
87 "Speakers", "Speakers";
88 simple-audio-card,routing =
89 "Headphone Jack", "HPL",
90 "Headphone Jack", "HPR",
91 "Headphone Jack", "MICBIAS",
92 "IN1", "Headphone Jack",
96 simple-audio-card,format = "i2s";
97 simple-audio-card,bitclock-master = <&link0_codec>;
98 simple-audio-card,frame-master = <&link0_codec>;
100 simple-audio-card,cpu {
101 sound-dai = <&i2s0 0>;
102 system-clock-frequency = <19200000>;
105 link0_codec: simple-audio-card,codec {
106 sound-dai = <&max98090>;
107 clocks = <&i2s0 CLK_I2S_CDCLK>;
113 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
114 <&clock_audss EXYNOS_MOUT_I2S>,
115 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
116 assigned-clock-parents = <&clock CLK_FIN_PLL>,
117 <&clock_audss EXYNOS_MOUT_AUDSS>;
118 assigned-clock-rates = <0>,
130 hpd-gpio = <&gpx3 7 0>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&hdmi_hpd_irq>;
134 vdd_osc-supply = <&ldo7_reg>;
135 vdd_pll-supply = <&ldo6_reg>;
136 vdd-supply = <&ldo6_reg>;
143 compatible = "samsung,s2mps11-pmic";
145 s2mps11,buck2-ramp-delay = <12>;
146 s2mps11,buck34-ramp-delay = <12>;
147 s2mps11,buck16-ramp-delay = <12>;
148 s2mps11,buck6-ramp-enable = <1>;
149 s2mps11,buck2-ramp-enable = <1>;
150 s2mps11,buck3-ramp-enable = <1>;
151 s2mps11,buck4-ramp-enable = <1>;
153 interrupt-parent = <&gpx0>;
154 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&s2mps11_irq>;
158 s2mps11_osc: clocks {
160 clock-output-names = "s2mps11_ap",
161 "s2mps11_cp", "s2mps11_bt";
166 regulator-name = "vdd_ldo1";
167 regulator-min-microvolt = <1000000>;
168 regulator-max-microvolt = <1000000>;
173 regulator-name = "vdd_ldo3";
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
180 regulator-name = "vdd_ldo5";
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
187 regulator-name = "vdd_ldo6";
188 regulator-min-microvolt = <1000000>;
189 regulator-max-microvolt = <1000000>;
194 regulator-name = "vdd_ldo7";
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
201 regulator-name = "vdd_ldo8";
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
208 regulator-name = "vdd_ldo9";
209 regulator-min-microvolt = <3000000>;
210 regulator-max-microvolt = <3000000>;
215 regulator-name = "vdd_ldo10";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
222 regulator-name = "vdd_ldo11";
223 regulator-min-microvolt = <1000000>;
224 regulator-max-microvolt = <1000000>;
229 regulator-name = "vdd_ldo12";
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <1800000>;
236 regulator-name = "vdd_ldo13";
237 regulator-min-microvolt = <2800000>;
238 regulator-max-microvolt = <2800000>;
243 regulator-name = "vdd_ldo15";
244 regulator-min-microvolt = <3100000>;
245 regulator-max-microvolt = <3100000>;
250 regulator-name = "vdd_ldo16";
251 regulator-min-microvolt = <2200000>;
252 regulator-max-microvolt = <2200000>;
257 regulator-name = "tsp_avdd";
258 regulator-min-microvolt = <3300000>;
259 regulator-max-microvolt = <3300000>;
264 regulator-name = "vdd_sd";
265 regulator-min-microvolt = <2800000>;
266 regulator-max-microvolt = <2800000>;
271 regulator-name = "tsp_io";
272 regulator-min-microvolt = <2800000>;
273 regulator-max-microvolt = <2800000>;
278 regulator-name = "vdd_ldo26";
279 regulator-min-microvolt = <3000000>;
280 regulator-max-microvolt = <3000000>;
285 regulator-name = "vdd_mif";
286 regulator-min-microvolt = <800000>;
287 regulator-max-microvolt = <1300000>;
293 regulator-name = "vdd_arm";
294 regulator-min-microvolt = <800000>;
295 regulator-max-microvolt = <1500000>;
301 regulator-name = "vdd_int";
302 regulator-min-microvolt = <800000>;
303 regulator-max-microvolt = <1400000>;
309 regulator-name = "vdd_g3d";
310 regulator-min-microvolt = <800000>;
311 regulator-max-microvolt = <1400000>;
317 regulator-name = "vdd_mem";
318 regulator-min-microvolt = <800000>;
319 regulator-max-microvolt = <1400000>;
325 regulator-name = "vdd_kfc";
326 regulator-min-microvolt = <800000>;
327 regulator-max-microvolt = <1500000>;
333 regulator-name = "vdd_1.0v_ldo";
334 regulator-min-microvolt = <800000>;
335 regulator-max-microvolt = <1500000>;
341 regulator-name = "vdd_1.8v_ldo";
342 regulator-min-microvolt = <800000>;
343 regulator-max-microvolt = <1500000>;
349 regulator-name = "vdd_2.8v_ldo";
350 regulator-min-microvolt = <3000000>;
351 regulator-max-microvolt = <3750000>;
357 regulator-name = "vdd_vmem";
358 regulator-min-microvolt = <2850000>;
359 regulator-max-microvolt = <2850000>;
369 max98090: max98090@10 {
370 compatible = "maxim,max98090";
372 interrupt-parent = <&gpx3>;
374 clocks = <&i2s0 CLK_I2S_CDCLK>;
375 clock-names = "mclk";
376 #sound-dai-cells = <0>;
381 samsung,i2c-sda-delay = <100>;
382 samsung,i2c-max-bus-freq = <66000>;
386 compatible = "samsung,exynos4210-hdmiddc";
396 samsung,mfc-r = <0x43000000 0x800000>;
397 samsung,mfc-l = <0x51000000 0x800000>;
402 mmc-pwrseq = <&emmc_pwrseq>;
403 cd-gpios = <&gpc0 2 GPIO_ACTIVE_LOW>;
404 card-detect-delay = <200>;
405 samsung,dw-mshc-ciu-div = <3>;
406 samsung,dw-mshc-sdr-timing = <0 4>;
407 samsung,dw-mshc-ddr-timing = <0 2>;
408 samsung,dw-mshc-hs400-timing = <0 2>;
409 samsung,read-strobe-delay = <90>;
410 pinctrl-names = "default";
411 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>;
420 card-detect-delay = <200>;
421 samsung,dw-mshc-ciu-div = <3>;
422 samsung,dw-mshc-sdr-timing = <0 4>;
423 samsung,dw-mshc-ddr-timing = <0 2>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
431 hdmi_hpd_irq: hdmi-hpd-irq {
432 samsung,pins = "gpx3-7";
433 samsung,pin-function = <0>;
434 samsung,pin-pud = <1>;
435 samsung,pin-drv = <0>;
438 s2mps11_irq: s2mps11-irq {
439 samsung,pins = "gpx0-4";
440 samsung,pin-function = <0xf>;
441 samsung,pin-pud = <0>;
442 samsung,pin-drv = <0>;
447 emmc_nrst_pin: emmc-nrst {
448 samsung,pins = "gpd1-0";
449 samsung,pin-function = <0>;
450 samsung,pin-pud = <0>;
451 samsung,pin-drv = <0>;
460 * PWM 3 -- on MIPI connector for backlight
462 pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
463 pinctrl-names = "default";
469 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
470 clock-names = "rtc", "rtc_src";