1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4210 based Universal C210 board device tree source
5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Device tree source file for Samsung's Universal C210 board which is based on
9 * Samsung's Exynos4210 rev0 SoC.
13 #include "exynos4210.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
17 model = "Samsung Universal C210 based on Exynos4210 rev0";
18 compatible = "samsung,universal_c210", "samsung,exynos4210", "samsung,exynos4";
21 device_type = "memory";
22 reg = <0x40000000 0x10000000
23 0x50000000 0x10000000>;
27 bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1";
28 stdout-path = "serial2:115200n8";
34 compatible = "samsung,clock-xxti";
35 clock-frequency = <0>;
39 compatible = "samsung,clock-xusbxti";
40 clock-frequency = <24000000>;
43 pmic_ap_clk: pmic-ap-clk {
44 /* Workaround for missing clock on PMIC */
45 compatible = "fixed-clock";
47 clock-frequency = <32768>;
51 vemmc_reg: voltage-regulator {
52 compatible = "regulator-fixed";
53 regulator-name = "VMEM_VDD_2_8V";
54 regulator-min-microvolt = <2800000>;
55 regulator-max-microvolt = <2800000>;
56 gpio = <&gpe1 3 GPIO_ACTIVE_HIGH>;
60 wlan_pwrseq: sdhci3-pwrseq {
61 compatible = "mmc-pwrseq-simple";
62 reset-gpios = <&gpe3 1 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-keys";
69 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
72 debounce-interval = <1>;
76 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
78 label = "volume down";
79 debounce-interval = <1>;
83 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
86 debounce-interval = <1>;
91 gpios = <&gpx2 3 GPIO_ACTIVE_LOW>;
94 debounce-interval = <1>;
98 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
101 debounce-interval = <1>;
106 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
109 debounce-interval = <1>;
113 tsp_reg: voltage-regulator {
114 compatible = "regulator-fixed";
115 regulator-name = "TSP_2_8V";
116 regulator-min-microvolt = <2800000>;
117 regulator-max-microvolt = <2800000>;
118 gpio = <&gpe2 3 GPIO_ACTIVE_HIGH>;
123 compatible = "spi-gpio";
124 #address-cells = <1>;
127 sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>;
128 mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>;
129 num-chipselects = <1>;
130 cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;
133 compatible = "samsung,ld9040";
135 vdd3-supply = <&ldo7_reg>;
136 vci-supply = <&ldo17_reg>;
137 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
138 spi-max-frequency = <1200000>;
139 power-on-delay = <10>;
141 panel-width-mm = <90>;
142 panel-height-mm = <154>;
145 clock-frequency = <23492370>;
157 pixelclk-active = <0>;
162 remote-endpoint = <&fimd_dpi_ep>;
168 hdmi_en: voltage-regulator-hdmi-5v {
169 compatible = "regulator-fixed";
170 regulator-name = "HDMI_5V";
171 regulator-min-microvolt = <5000000>;
172 regulator-max-microvolt = <5000000>;
173 gpio = <&gpe0 1 GPIO_ACTIVE_HIGH>;
178 compatible = "i2c-gpio";
179 sda-gpios = <&gpe4 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
180 scl-gpios = <&gpe4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
181 i2c-gpio,delay-us = <100>;
182 #address-cells = <1>;
185 pinctrl-0 = <&i2c_ddc_bus>;
186 pinctrl-names = "default";
194 pinctrl-names = "default";
199 cpu0-supply = <&vdd_arm_reg>;
205 /* Corresponds to 800MHz */
206 cooling-device = <&cpu0 2 2>;
209 /* Corresponds to 200MHz */
210 cooling-device = <&cpu0 4 4>;
217 phys = <&exynos_usbphy 1>;
223 vbus-supply = <&safeout1_reg>;
228 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
229 <&clock CLK_SCLK_FIMC0>;
230 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
231 assigned-clock-rates = <0>, <160000000>;
236 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
237 <&clock CLK_SCLK_FIMC1>;
238 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
239 assigned-clock-rates = <0>, <160000000>;
244 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
245 <&clock CLK_SCLK_FIMC2>;
246 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
247 assigned-clock-rates = <0>, <160000000>;
252 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
253 <&clock CLK_SCLK_FIMC3>;
254 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
255 assigned-clock-rates = <0>, <160000000>;
259 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
260 pinctrl-names = "default";
264 #address-cells = <1>;
268 fimd_dpi_ep: endpoint {
269 remote-endpoint = <&lcd_ep>;
275 mali-supply = <&buck2_reg>;
280 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
281 pinctrl-names = "default";
282 pinctrl-0 = <&hdmi_hpd>;
283 hdmi-en-supply = <&hdmi_en>;
284 vdd-supply = <&ldo3_reg>;
285 vdd_osc-supply = <&ldo4_reg>;
286 vdd_pll-supply = <&ldo3_reg>;
292 vusb_d-supply = <&ldo3_reg>;
293 vusb_a-supply = <&ldo8_reg>;
294 dr_mode = "peripheral";
299 samsung,i2c-sda-delay = <100>;
300 samsung,i2c-slave-addr = <0x10>;
301 samsung,i2c-max-bus-freq = <100000>;
302 pinctrl-0 = <&i2c3_bus>;
303 pinctrl-names = "default";
307 /* TBD: Atmel maXtouch touchscreen */
313 samsung,i2c-sda-delay = <100>;
314 samsung,i2c-slave-addr = <0x10>;
315 samsung,i2c-max-bus-freq = <100000>;
316 pinctrl-0 = <&i2c5_bus>;
317 pinctrl-names = "default";
320 vdd_arm_reg: pmic@60 {
321 compatible = "maxim,max8952";
324 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
325 <&gpx0 4 GPIO_ACTIVE_HIGH>;
326 max8952,default-mode = <0>;
327 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
329 max8952,sync-freq = <0>;
330 max8952,ramp-speed = <0>;
332 regulator-name = "VARM_1.2V_C210";
333 regulator-min-microvolt = <770000>;
334 regulator-max-microvolt = <1400000>;
340 compatible = "national,lp3974";
341 interrupts-extended = <&gpx0 7 0>, <&gpx2 7 0>;
342 pinctrl-names = "default";
343 pinctrl-0 = <&lp3974_irq>;
346 max8998,pmic-buck1-default-dvs-idx = <0>;
347 max8998,pmic-buck1-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
348 <&gpx0 6 GPIO_ACTIVE_HIGH>;
349 max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
350 <1100000>, <1000000>;
352 max8998,pmic-buck2-default-dvs-idx = <0>;
353 max8998,pmic-buck2-dvs-gpio = <&gpe2 0 GPIO_ACTIVE_HIGH>;
354 max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
358 regulator-name = "VALIVE_1.2V";
359 regulator-min-microvolt = <1200000>;
360 regulator-max-microvolt = <1200000>;
365 regulator-name = "VUSB+MIPI_1.1V";
366 regulator-min-microvolt = <1100000>;
367 regulator-max-microvolt = <1100000>;
372 regulator-name = "VADC_3.3V";
373 regulator-min-microvolt = <3300000>;
374 regulator-max-microvolt = <3300000>;
378 regulator-name = "VTF_2.8V";
379 regulator-min-microvolt = <2800000>;
380 regulator-max-microvolt = <2800000>;
384 regulator-name = "LDO6";
385 regulator-min-microvolt = <2000000>;
386 regulator-max-microvolt = <2000000>;
390 regulator-name = "VLCD+VMIPI_1.8V";
391 regulator-min-microvolt = <1800000>;
392 regulator-max-microvolt = <1800000>;
396 regulator-name = "VUSB+VDAC_3.3V";
397 regulator-min-microvolt = <3300000>;
398 regulator-max-microvolt = <3300000>;
403 regulator-name = "VCC_2.8V";
404 regulator-min-microvolt = <2800000>;
405 regulator-max-microvolt = <2800000>;
410 regulator-name = "VPLL_1.1V";
411 regulator-min-microvolt = <1100000>;
412 regulator-max-microvolt = <1100000>;
418 regulator-name = "CAM_AF_3.3V";
419 regulator-min-microvolt = <3300000>;
420 regulator-max-microvolt = <3300000>;
424 regulator-name = "PS_2.8V";
425 regulator-min-microvolt = <2800000>;
426 regulator-max-microvolt = <2800000>;
430 regulator-name = "VHIC_1.2V";
431 regulator-min-microvolt = <1200000>;
432 regulator-max-microvolt = <1200000>;
436 regulator-name = "CAM_I_HOST_1.8V";
437 regulator-min-microvolt = <1800000>;
438 regulator-max-microvolt = <1800000>;
442 regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
443 regulator-min-microvolt = <1200000>;
444 regulator-max-microvolt = <1200000>;
448 regulator-name = "CAM_S_ANA_2.8V";
449 regulator-min-microvolt = <2800000>;
450 regulator-max-microvolt = <2800000>;
454 regulator-name = "VCC_3.0V_LCD";
455 regulator-min-microvolt = <3000000>;
456 regulator-max-microvolt = <3000000>;
460 regulator-name = "VINT_1.1V";
461 regulator-min-microvolt = <750000>;
462 regulator-max-microvolt = <1500000>;
468 regulator-name = "VG3D_1.1V";
469 regulator-min-microvolt = <750000>;
470 regulator-max-microvolt = <1500000>;
475 regulator-name = "VCC_1.8V";
476 regulator-min-microvolt = <1800000>;
477 regulator-max-microvolt = <1800000>;
482 regulator-name = "VMEM_1.2V";
483 regulator-min-microvolt = <1200000>;
484 regulator-max-microvolt = <1200000>;
488 ap32khz_reg: EN32KHz-AP {
489 regulator-name = "32KHz AP";
493 cp32khz_reg: EN32KHz-CP {
494 regulator-name = "32KHz CP";
498 regulator-name = "VICHG";
501 safeout1_reg: ESAFEOUT1 {
502 regulator-name = "SAFEOUT1";
505 safeout2_reg: ESAFEOUT2 {
506 regulator-name = "SAFEOUT2";
522 /* Use the secure mdma0 */
535 bt_shutdown: bt-shutdown {
536 samsung,pins = "gpe1-4";
537 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
538 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
541 bt_host_wakeup: bt-host-wakeup {
542 samsung,pins = "gpx2-6";
543 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
544 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
547 bt_device_wakeup: bt-device-wakeup {
548 samsung,pins = "gpx3-1";
549 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
550 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
553 lp3974_irq: lp3974-irq {
554 samsung,pins = "gpx0-7", "gpx2-7";
555 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
559 samsung,pins = "gpx3-7";
560 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
565 i2c_ddc_bus: i2c-ddc-bus {
566 samsung,pins = "gpe4-2", "gpe4-3";
567 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
568 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
569 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
574 compatible = "samsung,s5p6440-pwm";
580 clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
581 clock-names = "rtc", "rtc_src";
587 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
588 pinctrl-names = "default";
589 vmmc-supply = <&vemmc_reg>;
595 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
596 pinctrl-names = "default";
597 vmmc-supply = <&ldo5_reg>;
598 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
605 #address-cells = <1>;
610 mmc-pwrseq = <&wlan_pwrseq>;
611 vmmc-supply = <&ldo5_reg>;
613 pinctrl-names = "default";
614 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
617 compatible = "brcm,bcm4330-fmac";
619 interrupt-parent = <&gpx2>;
620 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
621 interrupt-names = "host-wake";
627 /delete-property/dmas;
628 /delete-property/dma-names;
629 pinctrl-0 = <&uart0_data &uart0_fctl>;
630 pinctrl-names = "default";
633 compatible = "brcm,bcm4330-bt";
634 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
635 pinctrl-names = "default";
636 shutdown-gpios = <&gpe1 4 GPIO_ACTIVE_HIGH>;
637 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
638 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
644 /delete-property/dmas;
645 /delete-property/dma-names;
650 /delete-property/dmas;
651 /delete-property/dma-names;
656 /delete-property/dmas;
657 /delete-property/dma-names;
661 mdma0: mdma@12840000 {
662 compatible = "arm,pl330", "arm,primecell";
663 reg = <0x12840000 0x1000>;
664 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
665 clocks = <&clock CLK_MDMA>;
666 clock-names = "apb_pclk";
670 power-domains = <&pd_lcd0>;
680 compatible = "samsung,exynos4210-sysram";
681 reg = <0x5000 0x1000>;