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>;
44 vemmc_reg: voltage-regulator {
45 compatible = "regulator-fixed";
46 regulator-name = "VMEM_VDD_2_8V";
47 regulator-min-microvolt = <2800000>;
48 regulator-max-microvolt = <2800000>;
49 gpio = <&gpe1 3 GPIO_ACTIVE_HIGH>;
53 wlan_pwrseq: sdhci3-pwrseq {
54 compatible = "mmc-pwrseq-simple";
55 reset-gpios = <&gpe3 1 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-keys";
62 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
65 debounce-interval = <1>;
69 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
71 label = "volume down";
72 debounce-interval = <1>;
76 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
79 debounce-interval = <1>;
84 gpios = <&gpx2 3 GPIO_ACTIVE_LOW>;
87 debounce-interval = <1>;
91 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
94 debounce-interval = <1>;
99 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
102 debounce-interval = <1>;
106 tsp_reg: voltage-regulator {
107 compatible = "regulator-fixed";
108 regulator-name = "TSP_2_8V";
109 regulator-min-microvolt = <2800000>;
110 regulator-max-microvolt = <2800000>;
111 gpio = <&gpe2 3 GPIO_ACTIVE_HIGH>;
116 compatible = "spi-gpio";
117 #address-cells = <1>;
120 gpio-sck = <&gpy3 1 GPIO_ACTIVE_HIGH>;
121 gpio-mosi = <&gpy3 3 GPIO_ACTIVE_HIGH>;
122 num-chipselects = <1>;
123 cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;
126 compatible = "samsung,ld9040";
128 vdd3-supply = <&ldo7_reg>;
129 vci-supply = <&ldo17_reg>;
130 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
131 spi-max-frequency = <1200000>;
132 power-on-delay = <10>;
134 panel-width-mm = <90>;
135 panel-height-mm = <154>;
138 clock-frequency = <23492370>;
150 pixelclk-active = <0>;
155 remote-endpoint = <&fimd_dpi_ep>;
161 hdmi_en: voltage-regulator-hdmi-5v {
162 compatible = "regulator-fixed";
163 regulator-name = "HDMI_5V";
164 regulator-min-microvolt = <5000000>;
165 regulator-max-microvolt = <5000000>;
166 gpio = <&gpe0 1 GPIO_ACTIVE_HIGH>;
171 compatible = "i2c-gpio";
172 sda-gpios = <&gpe4 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
173 scl-gpios = <&gpe4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
174 i2c-gpio,delay-us = <100>;
175 #address-cells = <1>;
178 pinctrl-0 = <&i2c_ddc_bus>;
179 pinctrl-names = "default";
187 pinctrl-names = "default";
192 cpu0-supply = <&vdd_arm_reg>;
197 phys = <&exynos_usbphy 1>;
203 vbus-supply = <&safeout1_reg>;
208 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
209 <&clock CLK_SCLK_FIMC0>;
210 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
211 assigned-clock-rates = <0>, <160000000>;
216 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
217 <&clock CLK_SCLK_FIMC1>;
218 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
219 assigned-clock-rates = <0>, <160000000>;
224 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
225 <&clock CLK_SCLK_FIMC2>;
226 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
227 assigned-clock-rates = <0>, <160000000>;
232 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
233 <&clock CLK_SCLK_FIMC3>;
234 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
235 assigned-clock-rates = <0>, <160000000>;
239 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
240 pinctrl-names = "default";
244 #address-cells = <1>;
248 fimd_dpi_ep: endpoint {
249 remote-endpoint = <&lcd_ep>;
255 mali-supply = <&buck2_reg>;
260 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&hdmi_hpd>;
263 hdmi-en-supply = <&hdmi_en>;
264 vdd-supply = <&ldo3_reg>;
265 vdd_osc-supply = <&ldo4_reg>;
266 vdd_pll-supply = <&ldo3_reg>;
272 vusb_d-supply = <&ldo3_reg>;
273 vusb_a-supply = <&ldo8_reg>;
274 dr_mode = "peripheral";
279 samsung,i2c-sda-delay = <100>;
280 samsung,i2c-slave-addr = <0x10>;
281 samsung,i2c-max-bus-freq = <100000>;
282 pinctrl-0 = <&i2c3_bus>;
283 pinctrl-names = "default";
287 /* TBD: Atmel maXtouch touchscreen */
293 samsung,i2c-sda-delay = <100>;
294 samsung,i2c-slave-addr = <0x10>;
295 samsung,i2c-max-bus-freq = <100000>;
296 pinctrl-0 = <&i2c5_bus>;
297 pinctrl-names = "default";
300 vdd_arm_reg: pmic@60 {
301 compatible = "maxim,max8952";
304 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
305 <&gpx0 4 GPIO_ACTIVE_HIGH>;
306 max8952,default-mode = <0>;
307 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
309 max8952,sync-freq = <0>;
310 max8952,ramp-speed = <0>;
312 regulator-name = "VARM_1.2V_C210";
313 regulator-min-microvolt = <770000>;
314 regulator-max-microvolt = <1400000>;
320 compatible = "national,lp3974";
321 interrupts-extended = <&gpx0 7 0>, <&gpx2 7 0>;
322 pinctrl-names = "default";
323 pinctrl-0 = <&lp3974_irq>;
326 max8998,pmic-buck1-default-dvs-idx = <0>;
327 max8998,pmic-buck1-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
328 <&gpx0 6 GPIO_ACTIVE_HIGH>;
329 max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
330 <1100000>, <1000000>;
332 max8998,pmic-buck2-default-dvs-idx = <0>;
333 max8998,pmic-buck2-dvs-gpio = <&gpe2 0 GPIO_ACTIVE_HIGH>;
334 max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
338 regulator-name = "VALIVE_1.2V";
339 regulator-min-microvolt = <1200000>;
340 regulator-max-microvolt = <1200000>;
345 regulator-name = "VUSB+MIPI_1.1V";
346 regulator-min-microvolt = <1100000>;
347 regulator-max-microvolt = <1100000>;
352 regulator-name = "VADC_3.3V";
353 regulator-min-microvolt = <3300000>;
354 regulator-max-microvolt = <3300000>;
358 regulator-name = "VTF_2.8V";
359 regulator-min-microvolt = <2800000>;
360 regulator-max-microvolt = <2800000>;
364 regulator-name = "LDO6";
365 regulator-min-microvolt = <2000000>;
366 regulator-max-microvolt = <2000000>;
370 regulator-name = "VLCD+VMIPI_1.8V";
371 regulator-min-microvolt = <1800000>;
372 regulator-max-microvolt = <1800000>;
376 regulator-name = "VUSB+VDAC_3.3V";
377 regulator-min-microvolt = <3300000>;
378 regulator-max-microvolt = <3300000>;
383 regulator-name = "VCC_2.8V";
384 regulator-min-microvolt = <2800000>;
385 regulator-max-microvolt = <2800000>;
390 regulator-name = "VPLL_1.1V";
391 regulator-min-microvolt = <1100000>;
392 regulator-max-microvolt = <1100000>;
398 regulator-name = "CAM_AF_3.3V";
399 regulator-min-microvolt = <3300000>;
400 regulator-max-microvolt = <3300000>;
404 regulator-name = "PS_2.8V";
405 regulator-min-microvolt = <2800000>;
406 regulator-max-microvolt = <2800000>;
410 regulator-name = "VHIC_1.2V";
411 regulator-min-microvolt = <1200000>;
412 regulator-max-microvolt = <1200000>;
416 regulator-name = "CAM_I_HOST_1.8V";
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <1800000>;
422 regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
423 regulator-min-microvolt = <1200000>;
424 regulator-max-microvolt = <1200000>;
428 regulator-name = "CAM_S_ANA_2.8V";
429 regulator-min-microvolt = <2800000>;
430 regulator-max-microvolt = <2800000>;
434 regulator-name = "VCC_3.0V_LCD";
435 regulator-min-microvolt = <3000000>;
436 regulator-max-microvolt = <3000000>;
440 regulator-name = "VINT_1.1V";
441 regulator-min-microvolt = <750000>;
442 regulator-max-microvolt = <1500000>;
448 regulator-name = "VG3D_1.1V";
449 regulator-min-microvolt = <750000>;
450 regulator-max-microvolt = <1500000>;
455 regulator-name = "VCC_1.8V";
456 regulator-min-microvolt = <1800000>;
457 regulator-max-microvolt = <1800000>;
462 regulator-name = "VMEM_1.2V";
463 regulator-min-microvolt = <1200000>;
464 regulator-max-microvolt = <1200000>;
468 ap32khz_reg: EN32KHz-AP {
469 regulator-name = "32KHz AP";
473 cp32khz_reg: EN32KHz-CP {
474 regulator-name = "32KHz CP";
478 regulator-name = "VICHG";
481 safeout1_reg: ESAFEOUT1 {
482 regulator-name = "SAFEOUT1";
485 safeout2_reg: ESAFEOUT2 {
486 regulator-name = "SAFEOUT2";
502 /* Use the secure mdma0 */
515 lp3974_irq: lp3974-irq {
516 samsung,pins = "gpx0-7", "gpx2-7";
517 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
521 samsung,pins = "gpx3-7";
522 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
527 i2c_ddc_bus: i2c-ddc-bus {
528 samsung,pins = "gpe4-2", "gpe4-3";
529 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
530 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
531 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
536 compatible = "samsung,s5p6440-pwm";
543 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
544 pinctrl-names = "default";
545 vmmc-supply = <&vemmc_reg>;
551 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
552 pinctrl-names = "default";
553 vmmc-supply = <&ldo5_reg>;
554 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
561 #address-cells = <1>;
566 mmc-pwrseq = <&wlan_pwrseq>;
567 vmmc-supply = <&ldo5_reg>;
569 pinctrl-names = "default";
570 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
573 compatible = "brcm,bcm4330-fmac";
575 interrupt-parent = <&gpx2>;
576 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
577 interrupt-names = "host-wake";
583 /delete-property/dmas;
584 /delete-property/dma-names;
589 /delete-property/dmas;
590 /delete-property/dma-names;
595 /delete-property/dmas;
596 /delete-property/dma-names;
601 /delete-property/dmas;
602 /delete-property/dma-names;
606 mdma0: mdma@12840000 {
607 compatible = "arm,pl330", "arm,primecell";
608 reg = <0x12840000 0x1000>;
609 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
610 clocks = <&clock CLK_MDMA>;
611 clock-names = "apb_pclk";
615 power-domains = <&pd_lcd0>;
625 compatible = "samsung,exynos4210-sysram";
626 reg = <0x5000 0x1000>;