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>;
110 /* RSTN signal for eMMC */
112 samsung,pin-pud = <0>;
113 samsung,pin-drv = <0>;
117 gpio_power_key: power_key {
118 samsung,pins = "gpx1-3";
119 samsung,pin-pud = <0>;
122 max77686_irq: max77686-irq {
123 samsung,pins = "gpx3-2";
124 samsung,pin-function = <0>;
125 samsung,pin-pud = <0>;
126 samsung,pin-drv = <0>;
130 samsung,pins = "gpx3-7";
131 samsung,pin-pud = <1>;
145 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
146 <&clock CLK_SCLK_FIMC0>;
147 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
148 assigned-clock-rates = <0>, <176000000>;
153 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
154 <&clock CLK_SCLK_FIMC1>;
155 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
156 assigned-clock-rates = <0>, <176000000>;
161 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
162 <&clock CLK_SCLK_FIMC2>;
163 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
164 assigned-clock-rates = <0>, <176000000>;
169 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
170 <&clock CLK_SCLK_FIMC3>;
171 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
172 assigned-clock-rates = <0>, <176000000>;
180 hpd-gpio = <&gpx3 7 0>;
181 pinctrl-names = "default";
182 pinctrl-0 = <&hdmi_hpd>;
183 vdd-supply = <&ldo8_reg>;
184 vdd_osc-supply = <&ldo10_reg>;
185 vdd_pll-supply = <&ldo8_reg>;
191 dr_mode = "peripheral";
193 vusb_d-supply = <&ldo15_reg>;
194 vusb_a-supply = <&ldo12_reg>;
198 pinctrl-0 = <&i2c0_bus>;
199 pinctrl-names = "default";
200 samsung,i2c-sda-delay = <100>;
201 samsung,i2c-max-bus-freq = <400000>;
204 usb3503: usb3503@08 {
205 compatible = "smsc,usb3503";
208 intn-gpios = <&gpx3 0 0>;
209 connect-gpios = <&gpx3 4 0>;
210 reset-gpios = <&gpx3 5 0>;
215 compatible = "maxim,max77686";
216 interrupt-parent = <&gpx3>;
218 pinctrl-names = "default";
219 pinctrl-0 = <&max77686_irq>;
225 regulator-name = "VDD_ALIVE_1.0V";
226 regulator-min-microvolt = <1000000>;
227 regulator-max-microvolt = <1000000>;
232 regulator-name = "VDDQ_M1_2_1.8V";
233 regulator-min-microvolt = <1800000>;
234 regulator-max-microvolt = <1800000>;
239 regulator-name = "VDDQ_EXT_1.8V";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
246 regulator-name = "VDDQ_MMC2_2.8V";
247 regulator-min-microvolt = <2800000>;
248 regulator-max-microvolt = <2800000>;
254 regulator-name = "VDDQ_MMC1_3_1.8V";
255 regulator-min-microvolt = <1800000>;
256 regulator-max-microvolt = <1800000>;
262 regulator-name = "VDD10_MPLL_1.0V";
263 regulator-min-microvolt = <1000000>;
264 regulator-max-microvolt = <1000000>;
269 regulator-name = "VDD10_XPLL_1.0V";
270 regulator-min-microvolt = <1000000>;
271 regulator-max-microvolt = <1000000>;
276 regulator-compatible = "LDO8";
277 regulator-name = "VDD10_HDMI_1.0V";
278 regulator-min-microvolt = <1000000>;
279 regulator-max-microvolt = <1000000>;
283 regulator-compatible = "LDO10";
284 regulator-name = "VDDQ_MIPIHSI_1.8V";
285 regulator-min-microvolt = <1800000>;
286 regulator-max-microvolt = <1800000>;
290 regulator-name = "VDD18_ABB1_1.8V";
291 regulator-min-microvolt = <1800000>;
292 regulator-max-microvolt = <1800000>;
297 regulator-name = "VDD33_USB_3.3V";
298 regulator-min-microvolt = <3300000>;
299 regulator-max-microvolt = <3300000>;
305 regulator-name = "VDDQ_C2C_W_1.8V";
306 regulator-min-microvolt = <1800000>;
307 regulator-max-microvolt = <1800000>;
313 regulator-name = "VDD18_ABB0_2_1.8V";
314 regulator-min-microvolt = <1800000>;
315 regulator-max-microvolt = <1800000>;
321 regulator-name = "VDD10_HSIC_1.0V";
322 regulator-min-microvolt = <1000000>;
323 regulator-max-microvolt = <1000000>;
329 regulator-name = "VDD18_HSIC_1.8V";
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <1800000>;
337 regulator-name = "LDO20_1.8V";
338 regulator-min-microvolt = <1800000>;
339 regulator-max-microvolt = <1800000>;
344 regulator-name = "LDO21_3.3V";
345 regulator-min-microvolt = <3300000>;
346 regulator-max-microvolt = <3300000>;
352 regulator-name = "VDDQ_LCD_1.8V";
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
360 regulator-name = "vdd_mif";
361 regulator-min-microvolt = <1000000>;
362 regulator-max-microvolt = <1000000>;
368 regulator-name = "vdd_arm";
369 regulator-min-microvolt = <900000>;
370 regulator-max-microvolt = <1350000>;
376 regulator-name = "vdd_int";
377 regulator-min-microvolt = <1000000>;
378 regulator-max-microvolt = <1000000>;
384 regulator-name = "vdd_g3d";
385 regulator-min-microvolt = <900000>;
386 regulator-max-microvolt = <1100000>;
387 regulator-microvolt-offset = <50000>;
391 regulator-name = "VDDQ_CKEM1_2_1.2V";
392 regulator-min-microvolt = <1200000>;
393 regulator-max-microvolt = <1200000>;
399 regulator-name = "BUCK6_1.35V";
400 regulator-min-microvolt = <1350000>;
401 regulator-max-microvolt = <1350000>;
407 regulator-name = "BUCK7_2.0V";
408 regulator-min-microvolt = <2000000>;
409 regulator-max-microvolt = <2000000>;
414 regulator-name = "BUCK8_2.8V";
415 regulator-min-microvolt = <2800000>;
416 regulator-max-microvolt = <2800000>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&i2c1_bus>;
426 max98090: max98090@10 {
427 compatible = "maxim,max98090";
429 interrupt-parent = <&gpx0>;
431 clocks = <&i2s0 CLK_I2S_CDCLK>;
432 clock-names = "mclk";
433 #sound-dai-cells = <0>;
439 pinctrl-names = "default";
440 pinctrl-0 = <&i2c2_bus>;
448 pinctrl-0 = <&i2s0_bus>;
449 pinctrl-names = "default";
451 clocks = <&clock_audss EXYNOS_I2S_BUS>,
452 <&clock_audss EXYNOS_DOUT_AUD_BUS>,
453 <&clock_audss EXYNOS_SCLK_I2S>;
454 clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
462 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
463 pinctrl-names = "default";
464 vmmc-supply = <&ldo20_reg &buck8_reg>;
465 mmc-pwrseq = <&emmc_pwrseq>;
470 card-detect-delay = <200>;
471 samsung,dw-mshc-ciu-div = <3>;
472 samsung,dw-mshc-sdr-timing = <2 3>;
473 samsung,dw-mshc-ddr-timing = <1 2>;
480 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
481 clock-names = "rtc", "rtc_src";
486 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
487 pinctrl-names = "default";
488 vmmc-supply = <&ldo4_reg &ldo21_reg>;
489 cd-gpios = <&gpk2 2 0>;
503 vtmu-supply = <&ldo10_reg>;