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 pinctrl-0 = <&i2s0_bus>;
43 pinctrl-names = "default";
45 clocks = <&clock_audss EXYNOS_I2S_BUS>,
46 <&clock_audss EXYNOS_DOUT_AUD_BUS>,
47 <&clock_audss EXYNOS_SCLK_I2S>;
48 clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
52 compatible = "simple-audio-card";
53 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
54 <&clock_audss EXYNOS_MOUT_I2S>,
55 <&clock_audss EXYNOS_DOUT_SRP>,
56 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
57 assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
58 <&clock_audss EXYNOS_MOUT_AUDSS>;
59 assigned-clock-rates = <0>,
64 simple-audio-card,format = "i2s";
65 simple-audio-card,bitclock-master = <&link0_codec>;
66 simple-audio-card,frame-master = <&link0_codec>;
68 simple-audio-card,cpu {
69 sound-dai = <&i2s0 0>;
70 system-clock-frequency = <19200000>;
73 link0_codec: simple-audio-card,codec {
74 sound-dai = <&max98090>;
75 clocks = <&i2s0 CLK_I2S_CDCLK>;
80 pinctrl-0 = <&sd1_cd>;
81 pinctrl-names = "default";
82 compatible = "mmc-pwrseq-emmc";
83 reset-gpios = <&gpk1 2 1>;
87 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
88 pinctrl-names = "default";
89 vmmc-supply = <&ldo20_reg &buck8_reg>;
90 mmc-pwrseq = <&emmc_pwrseq>;
95 card-detect-delay = <200>;
96 samsung,dw-mshc-ciu-div = <3>;
97 samsung,dw-mshc-sdr-timing = <2 3>;
98 samsung,dw-mshc-ddr-timing = <1 2>;
109 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
110 clock-names = "rtc", "rtc_src";
119 pinctrl-names = "default";
122 fimc_0: fimc@11800000 {
124 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
125 <&clock CLK_SCLK_FIMC0>;
126 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
127 assigned-clock-rates = <0>, <176000000>;
130 fimc_1: fimc@11810000 {
132 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
133 <&clock CLK_SCLK_FIMC1>;
134 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
135 assigned-clock-rates = <0>, <176000000>;
138 fimc_2: fimc@11820000 {
140 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
141 <&clock CLK_SCLK_FIMC2>;
142 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
143 assigned-clock-rates = <0>, <176000000>;
146 fimc_3: fimc@11830000 {
148 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
149 <&clock CLK_SCLK_FIMC3>;
150 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
151 assigned-clock-rates = <0>, <176000000>;
157 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
158 pinctrl-names = "default";
159 vmmc-supply = <&ldo4_reg &ldo21_reg>;
160 cd-gpios = <&gpk2 2 0>;
175 compatible = "samsung,clock-xxti";
176 clock-frequency = <0>;
180 compatible = "samsung,clock-xusbxti";
181 clock-frequency = <24000000>;
186 pinctrl-0 = <&i2c0_bus>;
187 pinctrl-names = "default";
188 samsung,i2c-sda-delay = <100>;
189 samsung,i2c-max-bus-freq = <400000>;
192 usb3503: usb3503@08 {
193 compatible = "smsc,usb3503";
196 intn-gpios = <&gpx3 0 0>;
197 connect-gpios = <&gpx3 4 0>;
198 reset-gpios = <&gpx3 5 0>;
203 compatible = "maxim,max77686";
204 interrupt-parent = <&gpx3>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&max77686_irq>;
213 regulator-name = "VDD_ALIVE_1.0V";
214 regulator-min-microvolt = <1000000>;
215 regulator-max-microvolt = <1000000>;
220 regulator-name = "VDDQ_M1_2_1.8V";
221 regulator-min-microvolt = <1800000>;
222 regulator-max-microvolt = <1800000>;
227 regulator-name = "VDDQ_EXT_1.8V";
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <1800000>;
234 regulator-name = "VDDQ_MMC2_2.8V";
235 regulator-min-microvolt = <2800000>;
236 regulator-max-microvolt = <2800000>;
242 regulator-name = "VDDQ_MMC1_3_1.8V";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
250 regulator-name = "VDD10_MPLL_1.0V";
251 regulator-min-microvolt = <1000000>;
252 regulator-max-microvolt = <1000000>;
257 regulator-name = "VDD10_XPLL_1.0V";
258 regulator-min-microvolt = <1000000>;
259 regulator-max-microvolt = <1000000>;
264 regulator-compatible = "LDO8";
265 regulator-name = "VDD10_HDMI_1.0V";
266 regulator-min-microvolt = <1000000>;
267 regulator-max-microvolt = <1000000>;
271 regulator-compatible = "LDO10";
272 regulator-name = "VDDQ_MIPIHSI_1.8V";
273 regulator-min-microvolt = <1800000>;
274 regulator-max-microvolt = <1800000>;
278 regulator-name = "VDD18_ABB1_1.8V";
279 regulator-min-microvolt = <1800000>;
280 regulator-max-microvolt = <1800000>;
285 regulator-name = "VDD33_USB_3.3V";
286 regulator-min-microvolt = <3300000>;
287 regulator-max-microvolt = <3300000>;
293 regulator-name = "VDDQ_C2C_W_1.8V";
294 regulator-min-microvolt = <1800000>;
295 regulator-max-microvolt = <1800000>;
301 regulator-name = "VDD18_ABB0_2_1.8V";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <1800000>;
309 regulator-name = "VDD10_HSIC_1.0V";
310 regulator-min-microvolt = <1000000>;
311 regulator-max-microvolt = <1000000>;
317 regulator-name = "VDD18_HSIC_1.8V";
318 regulator-min-microvolt = <1800000>;
319 regulator-max-microvolt = <1800000>;
325 regulator-name = "LDO20_1.8V";
326 regulator-min-microvolt = <1800000>;
327 regulator-max-microvolt = <1800000>;
332 regulator-name = "LDO21_3.3V";
333 regulator-min-microvolt = <3300000>;
334 regulator-max-microvolt = <3300000>;
340 regulator-name = "VDDQ_LCD_1.8V";
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <1800000>;
348 regulator-name = "vdd_mif";
349 regulator-min-microvolt = <1000000>;
350 regulator-max-microvolt = <1000000>;
356 regulator-name = "vdd_arm";
357 regulator-min-microvolt = <900000>;
358 regulator-max-microvolt = <1350000>;
364 regulator-name = "vdd_int";
365 regulator-min-microvolt = <1000000>;
366 regulator-max-microvolt = <1000000>;
372 regulator-name = "vdd_g3d";
373 regulator-min-microvolt = <900000>;
374 regulator-max-microvolt = <1100000>;
375 regulator-microvolt-offset = <50000>;
379 regulator-name = "VDDQ_CKEM1_2_1.2V";
380 regulator-min-microvolt = <1200000>;
381 regulator-max-microvolt = <1200000>;
387 regulator-name = "BUCK6_1.35V";
388 regulator-min-microvolt = <1350000>;
389 regulator-max-microvolt = <1350000>;
395 regulator-name = "BUCK7_2.0V";
396 regulator-min-microvolt = <2000000>;
397 regulator-max-microvolt = <2000000>;
402 regulator-name = "BUCK8_2.8V";
403 regulator-min-microvolt = <2800000>;
404 regulator-max-microvolt = <2800000>;
411 pinctrl-names = "default";
412 pinctrl-0 = <&i2c1_bus>;
414 max98090: max98090@10 {
415 compatible = "maxim,max98090";
417 interrupt-parent = <&gpx0>;
419 clocks = <&i2s0 CLK_I2S_CDCLK>;
420 clock-names = "mclk";
421 #sound-dai-cells = <0>;
425 exynos-usbphy@125B0000 {
430 dr_mode = "peripheral";
432 vusb_d-supply = <&ldo15_reg>;
433 vusb_a-supply = <&ldo12_reg>;
436 ehci: ehci@12580000 {
441 vtmu-supply = <&ldo10_reg>;
446 cpu_thermal: cpu-thermal {
449 /* Corresponds to 800MHz at freq_table */
450 cooling-device = <&cpu0 7 7>;
453 /* Corresponds to 200MHz at freq_table */
454 cooling-device = <&cpu0 13 13>;
460 mixer: mixer@12C10000 {
465 hpd-gpio = <&gpx3 7 0>;
466 pinctrl-names = "default";
467 pinctrl-0 = <&hdmi_hpd>;
468 vdd-supply = <&ldo8_reg>;
469 vdd_osc-supply = <&ldo10_reg>;
470 vdd_pll-supply = <&ldo8_reg>;
475 hdmi_ddc: i2c@13880000 {
477 pinctrl-names = "default";
478 pinctrl-0 = <&i2c2_bus>;
486 /* RSTN signal for eMMC */
488 samsung,pin-pud = <0>;
489 samsung,pin-drv = <0>;
493 gpio_power_key: power_key {
494 samsung,pins = "gpx1-3";
495 samsung,pin-pud = <0>;
498 max77686_irq: max77686-irq {
499 samsung,pins = "gpx3-2";
500 samsung,pin-function = <0>;
501 samsung,pin-pud = <0>;
502 samsung,pin-drv = <0>;
506 samsung,pins = "gpx3-7";
507 samsung,pin-pud = <1>;