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"
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
19 stdout-path = &serial_1;
23 compatible = "samsung,secure-firmware";
24 reg = <0x0204F000 0x1000>;
28 compatible = "gpio-keys";
29 pinctrl-names = "default";
30 pinctrl-0 = <&gpio_power_key>;
33 interrupt-parent = <&gpx1>;
35 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_POWER>;
38 debounce-interval = <10>;
44 compatible = "simple-audio-card";
45 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
46 <&clock_audss EXYNOS_MOUT_I2S>,
47 <&clock_audss EXYNOS_DOUT_SRP>,
48 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
49 assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
50 <&clock_audss EXYNOS_MOUT_AUDSS>;
51 assigned-clock-rates = <0>,
56 simple-audio-card,format = "i2s";
57 simple-audio-card,bitclock-master = <&link0_codec>;
58 simple-audio-card,frame-master = <&link0_codec>;
60 simple-audio-card,cpu {
61 sound-dai = <&i2s0 0>;
62 system-clock-frequency = <19200000>;
65 link0_codec: simple-audio-card,codec {
66 sound-dai = <&max98090>;
67 clocks = <&i2s0 CLK_I2S_CDCLK>;
72 pinctrl-0 = <&sd1_cd>;
73 pinctrl-names = "default";
74 compatible = "mmc-pwrseq-emmc";
75 reset-gpios = <&gpk1 2 GPIO_ACTIVE_LOW>;
80 pinctrl-names = "default";
86 compatible = "samsung,clock-xxti";
87 clock-frequency = <0>;
91 compatible = "samsung,clock-xusbxti";
92 clock-frequency = <24000000>;
97 cpu_thermal: cpu-thermal {
100 /* Corresponds to 800MHz at freq_table */
101 cooling-device = <&cpu0 7 7>;
104 /* Corresponds to 200MHz at freq_table */
105 cooling-device = <&cpu0 13 13>;
113 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
114 vdd-supply = <&buck1_reg>;
119 devfreq = <&bus_dmc>;
124 devfreq = <&bus_dmc>;
129 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
130 vdd-supply = <&buck3_reg>;
135 devfreq = <&bus_leftbus>;
140 devfreq = <&bus_leftbus>;
145 devfreq = <&bus_leftbus>;
150 devfreq = <&bus_leftbus>;
155 devfreq = <&bus_leftbus>;
160 cpu0-supply = <&buck2_reg>;
163 /* RSTN signal for eMMC */
165 samsung,pin-pud = <0>;
166 samsung,pin-drv = <0>;
170 gpio_power_key: power_key {
171 samsung,pins = "gpx1-3";
172 samsung,pin-pud = <0>;
175 max77686_irq: max77686-irq {
176 samsung,pins = "gpx3-2";
177 samsung,pin-function = <0>;
178 samsung,pin-pud = <0>;
179 samsung,pin-drv = <0>;
183 samsung,pins = "gpx3-7";
184 samsung,pin-pud = <1>;
198 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
199 <&clock CLK_SCLK_FIMC0>;
200 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
201 assigned-clock-rates = <0>, <176000000>;
206 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
207 <&clock CLK_SCLK_FIMC1>;
208 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
209 assigned-clock-rates = <0>, <176000000>;
214 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
215 <&clock CLK_SCLK_FIMC2>;
216 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
217 assigned-clock-rates = <0>, <176000000>;
222 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
223 <&clock CLK_SCLK_FIMC3>;
224 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
225 assigned-clock-rates = <0>, <176000000>;
229 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
230 pinctrl-names = "default";
231 pinctrl-0 = <&hdmi_hpd>;
232 vdd-supply = <&ldo8_reg>;
233 vdd_osc-supply = <&ldo10_reg>;
234 vdd_pll-supply = <&ldo8_reg>;
244 dr_mode = "peripheral";
246 vusb_d-supply = <&ldo15_reg>;
247 vusb_a-supply = <&ldo12_reg>;
251 samsung,i2c-sda-delay = <100>;
252 samsung,i2c-max-bus-freq = <400000>;
255 usb3503: usb3503@08 {
256 compatible = "smsc,usb3503";
259 intn-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
260 connect-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
261 reset-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
266 compatible = "maxim,max77686";
267 interrupt-parent = <&gpx3>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&max77686_irq>;
276 regulator-name = "VDD_ALIVE_1.0V";
277 regulator-min-microvolt = <1000000>;
278 regulator-max-microvolt = <1000000>;
283 regulator-name = "VDDQ_M1_2_1.8V";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
290 regulator-name = "VDDQ_EXT_1.8V";
291 regulator-min-microvolt = <1800000>;
292 regulator-max-microvolt = <1800000>;
297 regulator-name = "VDDQ_MMC2_2.8V";
298 regulator-min-microvolt = <2800000>;
299 regulator-max-microvolt = <2800000>;
304 regulator-name = "VDDQ_MMC1_3_1.8V";
305 regulator-min-microvolt = <1800000>;
306 regulator-max-microvolt = <1800000>;
312 regulator-name = "VDD10_MPLL_1.0V";
313 regulator-min-microvolt = <1000000>;
314 regulator-max-microvolt = <1000000>;
319 regulator-name = "VDD10_XPLL_1.0V";
320 regulator-min-microvolt = <1000000>;
321 regulator-max-microvolt = <1000000>;
326 regulator-name = "VDD10_HDMI_1.0V";
327 regulator-min-microvolt = <1000000>;
328 regulator-max-microvolt = <1000000>;
332 regulator-name = "VDDQ_MIPIHSI_1.8V";
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <1800000>;
338 regulator-name = "VDD18_ABB1_1.8V";
339 regulator-min-microvolt = <1800000>;
340 regulator-max-microvolt = <1800000>;
345 regulator-name = "VDD33_USB_3.3V";
346 regulator-min-microvolt = <3300000>;
347 regulator-max-microvolt = <3300000>;
353 regulator-name = "VDDQ_C2C_W_1.8V";
354 regulator-min-microvolt = <1800000>;
355 regulator-max-microvolt = <1800000>;
361 regulator-name = "VDD18_ABB0_2_1.8V";
362 regulator-min-microvolt = <1800000>;
363 regulator-max-microvolt = <1800000>;
369 regulator-name = "VDD10_HSIC_1.0V";
370 regulator-min-microvolt = <1000000>;
371 regulator-max-microvolt = <1000000>;
377 regulator-name = "VDD18_HSIC_1.8V";
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <1800000>;
385 regulator-name = "LDO20_1.8V";
386 regulator-min-microvolt = <1800000>;
387 regulator-max-microvolt = <1800000>;
392 regulator-name = "TFLASH_2.8V";
393 regulator-min-microvolt = <2800000>;
394 regulator-max-microvolt = <2800000>;
400 * Only U3 uses it, so let it define the
403 regulator-name = "LDO22";
408 regulator-name = "VDDQ_LCD_1.8V";
409 regulator-min-microvolt = <1800000>;
410 regulator-max-microvolt = <1800000>;
416 regulator-name = "vdd_mif";
417 regulator-min-microvolt = <900000>;
418 regulator-max-microvolt = <1100000>;
424 regulator-name = "vdd_arm";
425 regulator-min-microvolt = <900000>;
426 regulator-max-microvolt = <1350000>;
432 regulator-name = "vdd_int";
433 regulator-min-microvolt = <900000>;
434 regulator-max-microvolt = <1050000>;
440 regulator-name = "vdd_g3d";
441 regulator-min-microvolt = <900000>;
442 regulator-max-microvolt = <1100000>;
443 regulator-microvolt-offset = <50000>;
447 regulator-name = "VDDQ_CKEM1_2_1.2V";
448 regulator-min-microvolt = <1200000>;
449 regulator-max-microvolt = <1200000>;
455 regulator-name = "BUCK6_1.35V";
456 regulator-min-microvolt = <1350000>;
457 regulator-max-microvolt = <1350000>;
463 regulator-name = "BUCK7_2.0V";
464 regulator-min-microvolt = <2000000>;
465 regulator-max-microvolt = <2000000>;
471 * Constraints set by specific board: X,
474 regulator-name = "BUCK8_2.8V";
482 max98090: max98090@10 {
483 compatible = "maxim,max98090";
485 interrupt-parent = <&gpx0>;
487 clocks = <&i2s0 CLK_I2S_CDCLK>;
488 clock-names = "mclk";
489 #sound-dai-cells = <0>;
502 pinctrl-0 = <&i2s0_bus>;
503 pinctrl-names = "default";
505 clocks = <&clock_audss EXYNOS_I2S_BUS>,
506 <&clock_audss EXYNOS_DOUT_AUD_BUS>,
507 <&clock_audss EXYNOS_SCLK_I2S>;
508 clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
516 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
517 pinctrl-names = "default";
518 vmmc-supply = <&ldo20_reg>;
519 mmc-pwrseq = <&emmc_pwrseq>;
524 card-detect-delay = <200>;
525 samsung,dw-mshc-ciu-div = <3>;
526 samsung,dw-mshc-sdr-timing = <2 3>;
527 samsung,dw-mshc-ddr-timing = <1 2>;
534 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
535 clock-names = "rtc", "rtc_src";
540 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
541 pinctrl-names = "default";
542 vmmc-supply = <&ldo21_reg>;
543 vqmmc-supply = <&ldo4_reg>;
544 cd-gpios = <&gpk2 2 GPIO_ACTIVE_HIGH>;
558 vtmu-supply = <&ldo10_reg>;