2 * Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
10 #include <dt-bindings/sound/samsung-i2s.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/clock/maxim,max77686.h>
13 #include "exynos4412.dtsi"
17 stdout-path = &serial_1;
21 compatible = "samsung,secure-firmware";
22 reg = <0x0204F000 0x1000>;
26 compatible = "gpio-keys";
27 pinctrl-names = "default";
28 pinctrl-0 = <&gpio_power_key>;
31 interrupt-parent = <&gpx1>;
34 linux,code = <KEY_POWER>;
36 debounce-interval = <10>;
42 compatible = "simple-audio-card";
43 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
44 <&clock_audss EXYNOS_MOUT_I2S>,
45 <&clock_audss EXYNOS_DOUT_SRP>,
46 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
47 assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
48 <&clock_audss EXYNOS_MOUT_AUDSS>;
49 assigned-clock-rates = <0>,
54 simple-audio-card,format = "i2s";
55 simple-audio-card,bitclock-master = <&link0_codec>;
56 simple-audio-card,frame-master = <&link0_codec>;
58 simple-audio-card,cpu {
59 sound-dai = <&i2s0 0>;
60 system-clock-frequency = <19200000>;
63 link0_codec: simple-audio-card,codec {
64 sound-dai = <&max98090>;
65 clocks = <&i2s0 CLK_I2S_CDCLK>;
70 pinctrl-0 = <&sd1_cd>;
71 pinctrl-names = "default";
72 compatible = "mmc-pwrseq-emmc";
73 reset-gpios = <&gpk1 2 1>;
78 pinctrl-names = "default";
84 compatible = "samsung,clock-xxti";
85 clock-frequency = <0>;
89 compatible = "samsung,clock-xusbxti";
90 clock-frequency = <24000000>;
95 cpu_thermal: cpu-thermal {
98 /* Corresponds to 800MHz at freq_table */
99 cooling-device = <&cpu0 7 7>;
102 /* Corresponds to 200MHz at freq_table */
103 cooling-device = <&cpu0 13 13>;
111 cpu0-supply = <&buck2_reg>;
114 /* RSTN signal for eMMC */
116 samsung,pin-pud = <0>;
117 samsung,pin-drv = <0>;
121 gpio_power_key: power_key {
122 samsung,pins = "gpx1-3";
123 samsung,pin-pud = <0>;
126 max77686_irq: max77686-irq {
127 samsung,pins = "gpx3-2";
128 samsung,pin-function = <0>;
129 samsung,pin-pud = <0>;
130 samsung,pin-drv = <0>;
134 samsung,pins = "gpx3-7";
135 samsung,pin-pud = <1>;
149 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
150 <&clock CLK_SCLK_FIMC0>;
151 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
152 assigned-clock-rates = <0>, <176000000>;
157 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
158 <&clock CLK_SCLK_FIMC1>;
159 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
160 assigned-clock-rates = <0>, <176000000>;
165 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
166 <&clock CLK_SCLK_FIMC2>;
167 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
168 assigned-clock-rates = <0>, <176000000>;
173 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
174 <&clock CLK_SCLK_FIMC3>;
175 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
176 assigned-clock-rates = <0>, <176000000>;
184 hpd-gpio = <&gpx3 7 0>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&hdmi_hpd>;
187 vdd-supply = <&ldo8_reg>;
188 vdd_osc-supply = <&ldo10_reg>;
189 vdd_pll-supply = <&ldo8_reg>;
195 dr_mode = "peripheral";
197 vusb_d-supply = <&ldo15_reg>;
198 vusb_a-supply = <&ldo12_reg>;
202 pinctrl-0 = <&i2c0_bus>;
203 pinctrl-names = "default";
204 samsung,i2c-sda-delay = <100>;
205 samsung,i2c-max-bus-freq = <400000>;
208 usb3503: usb3503@08 {
209 compatible = "smsc,usb3503";
212 intn-gpios = <&gpx3 0 0>;
213 connect-gpios = <&gpx3 4 0>;
214 reset-gpios = <&gpx3 5 0>;
219 compatible = "maxim,max77686";
220 interrupt-parent = <&gpx3>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&max77686_irq>;
229 regulator-name = "VDD_ALIVE_1.0V";
230 regulator-min-microvolt = <1000000>;
231 regulator-max-microvolt = <1000000>;
236 regulator-name = "VDDQ_M1_2_1.8V";
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <1800000>;
243 regulator-name = "VDDQ_EXT_1.8V";
244 regulator-min-microvolt = <1800000>;
245 regulator-max-microvolt = <1800000>;
250 regulator-name = "VDDQ_MMC2_2.8V";
251 regulator-min-microvolt = <2800000>;
252 regulator-max-microvolt = <2800000>;
258 regulator-name = "VDDQ_MMC1_3_1.8V";
259 regulator-min-microvolt = <1800000>;
260 regulator-max-microvolt = <1800000>;
266 regulator-name = "VDD10_MPLL_1.0V";
267 regulator-min-microvolt = <1000000>;
268 regulator-max-microvolt = <1000000>;
273 regulator-name = "VDD10_XPLL_1.0V";
274 regulator-min-microvolt = <1000000>;
275 regulator-max-microvolt = <1000000>;
280 regulator-compatible = "LDO8";
281 regulator-name = "VDD10_HDMI_1.0V";
282 regulator-min-microvolt = <1000000>;
283 regulator-max-microvolt = <1000000>;
287 regulator-compatible = "LDO10";
288 regulator-name = "VDDQ_MIPIHSI_1.8V";
289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <1800000>;
294 regulator-name = "VDD18_ABB1_1.8V";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
301 regulator-name = "VDD33_USB_3.3V";
302 regulator-min-microvolt = <3300000>;
303 regulator-max-microvolt = <3300000>;
309 regulator-name = "VDDQ_C2C_W_1.8V";
310 regulator-min-microvolt = <1800000>;
311 regulator-max-microvolt = <1800000>;
317 regulator-name = "VDD18_ABB0_2_1.8V";
318 regulator-min-microvolt = <1800000>;
319 regulator-max-microvolt = <1800000>;
325 regulator-name = "VDD10_HSIC_1.0V";
326 regulator-min-microvolt = <1000000>;
327 regulator-max-microvolt = <1000000>;
333 regulator-name = "VDD18_HSIC_1.8V";
334 regulator-min-microvolt = <1800000>;
335 regulator-max-microvolt = <1800000>;
341 regulator-name = "LDO20_1.8V";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
348 regulator-name = "LDO21_3.3V";
349 regulator-min-microvolt = <3300000>;
350 regulator-max-microvolt = <3300000>;
356 regulator-name = "VDDQ_LCD_1.8V";
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
364 regulator-name = "vdd_mif";
365 regulator-min-microvolt = <1000000>;
366 regulator-max-microvolt = <1000000>;
372 regulator-name = "vdd_arm";
373 regulator-min-microvolt = <900000>;
374 regulator-max-microvolt = <1350000>;
380 regulator-name = "vdd_int";
381 regulator-min-microvolt = <1000000>;
382 regulator-max-microvolt = <1000000>;
388 regulator-name = "vdd_g3d";
389 regulator-min-microvolt = <900000>;
390 regulator-max-microvolt = <1100000>;
391 regulator-microvolt-offset = <50000>;
395 regulator-name = "VDDQ_CKEM1_2_1.2V";
396 regulator-min-microvolt = <1200000>;
397 regulator-max-microvolt = <1200000>;
403 regulator-name = "BUCK6_1.35V";
404 regulator-min-microvolt = <1350000>;
405 regulator-max-microvolt = <1350000>;
411 regulator-name = "BUCK7_2.0V";
412 regulator-min-microvolt = <2000000>;
413 regulator-max-microvolt = <2000000>;
418 regulator-name = "BUCK8_2.8V";
419 regulator-min-microvolt = <2800000>;
420 regulator-max-microvolt = <2800000>;
427 pinctrl-names = "default";
428 pinctrl-0 = <&i2c1_bus>;
430 max98090: max98090@10 {
431 compatible = "maxim,max98090";
433 interrupt-parent = <&gpx0>;
435 clocks = <&i2s0 CLK_I2S_CDCLK>;
436 clock-names = "mclk";
437 #sound-dai-cells = <0>;
443 pinctrl-names = "default";
444 pinctrl-0 = <&i2c2_bus>;
452 pinctrl-0 = <&i2s0_bus>;
453 pinctrl-names = "default";
455 clocks = <&clock_audss EXYNOS_I2S_BUS>,
456 <&clock_audss EXYNOS_DOUT_AUD_BUS>,
457 <&clock_audss EXYNOS_SCLK_I2S>;
458 clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
466 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
467 pinctrl-names = "default";
468 vmmc-supply = <&ldo20_reg &buck8_reg>;
469 mmc-pwrseq = <&emmc_pwrseq>;
474 card-detect-delay = <200>;
475 samsung,dw-mshc-ciu-div = <3>;
476 samsung,dw-mshc-sdr-timing = <2 3>;
477 samsung,dw-mshc-ddr-timing = <1 2>;
484 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
485 clock-names = "rtc", "rtc_src";
490 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
491 pinctrl-names = "default";
492 vmmc-supply = <&ldo4_reg &ldo21_reg>;
493 cd-gpios = <&gpk2 2 0>;
507 vtmu-supply = <&ldo10_reg>;