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>
16 #include "exynos-mfc-reserved-memory.dtsi"
20 stdout-path = &serial_1;
24 compatible = "samsung,secure-firmware";
25 reg = <0x0204F000 0x1000>;
29 compatible = "gpio-keys";
30 pinctrl-names = "default";
31 pinctrl-0 = <&gpio_power_key>;
34 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_POWER>;
37 debounce-interval = <10>;
43 compatible = "simple-audio-card";
45 simple-audio-card,format = "i2s";
46 simple-audio-card,bitclock-master = <&link0_codec>;
47 simple-audio-card,frame-master = <&link0_codec>;
49 simple-audio-card,cpu {
50 sound-dai = <&i2s0 0>;
51 system-clock-frequency = <19200000>;
54 link0_codec: simple-audio-card,codec {
55 sound-dai = <&max98090>;
56 clocks = <&i2s0 CLK_I2S_CDCLK>;
61 pinctrl-0 = <&sd1_cd>;
62 pinctrl-names = "default";
63 compatible = "mmc-pwrseq-emmc";
64 reset-gpios = <&gpk1 2 GPIO_ACTIVE_LOW>;
69 pinctrl-names = "default";
75 compatible = "samsung,clock-xxti";
76 clock-frequency = <0>;
80 compatible = "samsung,clock-xusbxti";
81 clock-frequency = <24000000>;
86 cpu_thermal: cpu-thermal {
89 /* Corresponds to 800MHz at freq_table */
90 cooling-device = <&cpu0 7 7>;
93 /* Corresponds to 200MHz at freq_table */
94 cooling-device = <&cpu0 13 13>;
102 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
103 vdd-supply = <&buck1_reg>;
108 devfreq = <&bus_dmc>;
113 devfreq = <&bus_dmc>;
118 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
119 vdd-supply = <&buck3_reg>;
124 devfreq = <&bus_leftbus>;
129 devfreq = <&bus_leftbus>;
134 devfreq = <&bus_leftbus>;
139 devfreq = <&bus_leftbus>;
144 devfreq = <&bus_leftbus>;
149 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
150 <&clock_audss EXYNOS_MOUT_I2S>,
151 <&clock_audss EXYNOS_DOUT_SRP>,
152 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
153 assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
154 <&clock_audss EXYNOS_MOUT_AUDSS>;
155 assigned-clock-rates = <0>, <0>, <192000000>, <19200000>;
159 cpu0-supply = <&buck2_reg>;
162 /* RSTN signal for eMMC */
164 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
165 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
169 gpio_power_key: power_key {
170 samsung,pins = "gpx1-3";
171 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
174 max77686_irq: max77686-irq {
175 samsung,pins = "gpx3-2";
176 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
177 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
178 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
182 samsung,pins = "gpx3-7";
183 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
197 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
198 <&clock CLK_SCLK_FIMC0>;
199 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
200 assigned-clock-rates = <0>, <176000000>;
205 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
206 <&clock CLK_SCLK_FIMC1>;
207 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
208 assigned-clock-rates = <0>, <176000000>;
213 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
214 <&clock CLK_SCLK_FIMC2>;
215 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
216 assigned-clock-rates = <0>, <176000000>;
221 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
222 <&clock CLK_SCLK_FIMC3>;
223 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
224 assigned-clock-rates = <0>, <176000000>;
228 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&hdmi_hpd>;
231 vdd-supply = <&ldo8_reg>;
232 vdd_osc-supply = <&ldo10_reg>;
233 vdd_pll-supply = <&ldo8_reg>;
243 dr_mode = "peripheral";
245 vusb_d-supply = <&ldo15_reg>;
246 vusb_a-supply = <&ldo12_reg>;
250 samsung,i2c-sda-delay = <100>;
251 samsung,i2c-max-bus-freq = <400000>;
255 compatible = "smsc,usb3503";
258 intn-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
259 connect-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
260 reset-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
265 compatible = "maxim,max77686";
266 interrupt-parent = <&gpx3>;
267 interrupts = <2 IRQ_TYPE_NONE>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&max77686_irq>;
275 regulator-name = "VDD_ALIVE_1.0V";
276 regulator-min-microvolt = <1000000>;
277 regulator-max-microvolt = <1000000>;
282 regulator-name = "VDDQ_M1_2_1.8V";
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <1800000>;
289 regulator-name = "VDDQ_EXT_1.8V";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
296 regulator-name = "VDDQ_MMC2_2.8V";
297 regulator-min-microvolt = <2800000>;
298 regulator-max-microvolt = <2800000>;
303 regulator-name = "VDDQ_MMC1_3_1.8V";
304 regulator-min-microvolt = <1800000>;
305 regulator-max-microvolt = <1800000>;
311 regulator-name = "VDD10_MPLL_1.0V";
312 regulator-min-microvolt = <1000000>;
313 regulator-max-microvolt = <1000000>;
318 regulator-name = "VDD10_XPLL_1.0V";
319 regulator-min-microvolt = <1000000>;
320 regulator-max-microvolt = <1000000>;
325 regulator-name = "VDD10_HDMI_1.0V";
326 regulator-min-microvolt = <1000000>;
327 regulator-max-microvolt = <1000000>;
331 regulator-name = "VDDQ_MIPIHSI_1.8V";
332 regulator-min-microvolt = <1800000>;
333 regulator-max-microvolt = <1800000>;
337 regulator-name = "VDD18_ABB1_1.8V";
338 regulator-min-microvolt = <1800000>;
339 regulator-max-microvolt = <1800000>;
344 regulator-name = "VDD33_USB_3.3V";
345 regulator-min-microvolt = <3300000>;
346 regulator-max-microvolt = <3300000>;
352 regulator-name = "VDDQ_C2C_W_1.8V";
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
360 regulator-name = "VDD18_ABB0_2_1.8V";
361 regulator-min-microvolt = <1800000>;
362 regulator-max-microvolt = <1800000>;
368 regulator-name = "VDD10_HSIC_1.0V";
369 regulator-min-microvolt = <1000000>;
370 regulator-max-microvolt = <1000000>;
376 regulator-name = "VDD18_HSIC_1.8V";
377 regulator-min-microvolt = <1800000>;
378 regulator-max-microvolt = <1800000>;
384 regulator-name = "LDO20_1.8V";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
391 regulator-name = "TFLASH_2.8V";
392 regulator-min-microvolt = <2800000>;
393 regulator-max-microvolt = <2800000>;
399 * Only U3 uses it, so let it define the
402 regulator-name = "LDO22";
407 regulator-name = "VDDQ_LCD_1.8V";
408 regulator-min-microvolt = <1800000>;
409 regulator-max-microvolt = <1800000>;
415 regulator-name = "vdd_mif";
416 regulator-min-microvolt = <900000>;
417 regulator-max-microvolt = <1100000>;
423 regulator-name = "vdd_arm";
424 regulator-min-microvolt = <900000>;
425 regulator-max-microvolt = <1350000>;
431 regulator-name = "vdd_int";
432 regulator-min-microvolt = <900000>;
433 regulator-max-microvolt = <1050000>;
439 regulator-name = "vdd_g3d";
440 regulator-min-microvolt = <900000>;
441 regulator-max-microvolt = <1100000>;
442 regulator-microvolt-offset = <50000>;
446 regulator-name = "VDDQ_CKEM1_2_1.2V";
447 regulator-min-microvolt = <1200000>;
448 regulator-max-microvolt = <1200000>;
454 regulator-name = "BUCK6_1.35V";
455 regulator-min-microvolt = <1350000>;
456 regulator-max-microvolt = <1350000>;
462 regulator-name = "BUCK7_2.0V";
463 regulator-min-microvolt = <2000000>;
464 regulator-max-microvolt = <2000000>;
470 * Constraints set by specific board: X,
473 regulator-name = "BUCK8_2.8V";
481 max98090: max98090@10 {
482 compatible = "maxim,max98090";
484 interrupt-parent = <&gpx0>;
485 interrupts = <0 IRQ_TYPE_NONE>;
486 clocks = <&i2s0 CLK_I2S_CDCLK>;
487 clock-names = "mclk";
488 #sound-dai-cells = <0>;
501 pinctrl-0 = <&i2s0_bus>;
502 pinctrl-names = "default";
511 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
512 pinctrl-names = "default";
513 vmmc-supply = <&ldo20_reg>;
514 mmc-pwrseq = <&emmc_pwrseq>;
518 card-detect-delay = <200>;
519 samsung,dw-mshc-ciu-div = <3>;
520 samsung,dw-mshc-sdr-timing = <2 3>;
521 samsung,dw-mshc-ddr-timing = <1 2>;
528 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
529 clock-names = "rtc", "rtc_src";
534 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
535 pinctrl-names = "default";
536 vmmc-supply = <&ldo21_reg>;
537 vqmmc-supply = <&ldo4_reg>;
538 cd-gpios = <&gpk2 2 GPIO_ACTIVE_HIGH>;
552 vtmu-supply = <&ldo10_reg>;