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>;
54 compatible = "gpio-keys";
57 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
60 debounce-interval = <1>;
64 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
66 label = "volume down";
67 debounce-interval = <1>;
71 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
74 debounce-interval = <1>;
79 gpios = <&gpx2 3 GPIO_ACTIVE_LOW>;
82 debounce-interval = <1>;
86 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
89 debounce-interval = <1>;
94 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
97 debounce-interval = <1>;
101 tsp_reg: voltage-regulator {
102 compatible = "regulator-fixed";
103 regulator-name = "TSP_2_8V";
104 regulator-min-microvolt = <2800000>;
105 regulator-max-microvolt = <2800000>;
106 gpio = <&gpe2 3 GPIO_ACTIVE_HIGH>;
111 compatible = "spi-gpio";
112 #address-cells = <1>;
115 gpio-sck = <&gpy3 1 GPIO_ACTIVE_HIGH>;
116 gpio-mosi = <&gpy3 3 GPIO_ACTIVE_HIGH>;
117 num-chipselects = <1>;
118 cs-gpios = <&gpy4 3 GPIO_ACTIVE_HIGH>;
121 compatible = "samsung,ld9040";
123 vdd3-supply = <&ldo7_reg>;
124 vci-supply = <&ldo17_reg>;
125 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
126 spi-max-frequency = <1200000>;
129 power-on-delay = <10>;
131 panel-width-mm = <90>;
132 panel-height-mm = <154>;
135 clock-frequency = <23492370>;
147 pixelclk-active = <0>;
152 remote-endpoint = <&fimd_dpi_ep>;
158 hdmi_en: voltage-regulator-hdmi-5v {
159 compatible = "regulator-fixed";
160 regulator-name = "HDMI_5V";
161 regulator-min-microvolt = <5000000>;
162 regulator-max-microvolt = <5000000>;
163 gpio = <&gpe0 1 GPIO_ACTIVE_HIGH>;
168 compatible = "i2c-gpio";
169 gpios = <&gpe4 2 GPIO_ACTIVE_HIGH &gpe4 3 GPIO_ACTIVE_HIGH>;
170 i2c-gpio,delay-us = <100>;
171 #address-cells = <1>;
174 pinctrl-0 = <&i2c_ddc_bus>;
175 pinctrl-names = "default";
181 mdma0: mdma@12840000 {
182 compatible = "arm,pl330", "arm,primecell";
183 reg = <0x12840000 0x1000>;
184 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
185 clocks = <&clock CLK_MDMA>;
186 clock-names = "apb_pclk";
190 power-domains = <&pd_lcd0>;
197 pinctrl-names = "default";
202 cpu0-supply = <&vdd_arm_reg>;
207 phys = <&exynos_usbphy 1>;
213 vbus-supply = <&safeout1_reg>;
218 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
219 <&clock CLK_SCLK_FIMC0>;
220 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
221 assigned-clock-rates = <0>, <160000000>;
226 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
227 <&clock CLK_SCLK_FIMC1>;
228 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
229 assigned-clock-rates = <0>, <160000000>;
234 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
235 <&clock CLK_SCLK_FIMC2>;
236 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
237 assigned-clock-rates = <0>, <160000000>;
242 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
243 <&clock CLK_SCLK_FIMC3>;
244 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
245 assigned-clock-rates = <0>, <160000000>;
249 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
250 pinctrl-names = "default";
254 #address-cells = <1>;
258 fimd_dpi_ep: endpoint {
259 remote-endpoint = <&lcd_ep>;
265 mali-supply = <&buck2_reg>;
270 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&hdmi_hpd>;
273 hdmi-en-supply = <&hdmi_en>;
274 vdd-supply = <&ldo3_reg>;
275 vdd_osc-supply = <&ldo4_reg>;
276 vdd_pll-supply = <&ldo3_reg>;
282 vusb_d-supply = <&ldo3_reg>;
283 vusb_a-supply = <&ldo8_reg>;
284 dr_mode = "peripheral";
289 samsung,i2c-sda-delay = <100>;
290 samsung,i2c-slave-addr = <0x10>;
291 samsung,i2c-max-bus-freq = <100000>;
292 pinctrl-0 = <&i2c3_bus>;
293 pinctrl-names = "default";
297 /* TBD: Atmel maXtouch touchscreen */
303 samsung,i2c-sda-delay = <100>;
304 samsung,i2c-slave-addr = <0x10>;
305 samsung,i2c-max-bus-freq = <100000>;
306 pinctrl-0 = <&i2c5_bus>;
307 pinctrl-names = "default";
310 vdd_arm_reg: pmic@60 {
311 compatible = "maxim,max8952";
314 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
315 <&gpx0 4 GPIO_ACTIVE_HIGH>;
316 max8952,default-mode = <0>;
317 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
319 max8952,sync-freq = <0>;
320 max8952,ramp-speed = <0>;
322 regulator-name = "vdd_arm";
323 regulator-min-microvolt = <770000>;
324 regulator-max-microvolt = <1400000>;
330 compatible = "national,lp3974";
331 interrupts-extended = <&gpx0 7 0>, <&gpx2 7 0>;
332 pinctrl-names = "default";
333 pinctrl-0 = <&lp3974_irq>;
336 max8998,pmic-buck1-default-dvs-idx = <0>;
337 max8998,pmic-buck1-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
338 <&gpx0 6 GPIO_ACTIVE_HIGH>;
339 max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
340 <1100000>, <1000000>;
342 max8998,pmic-buck2-default-dvs-idx = <0>;
343 max8998,pmic-buck2-dvs-gpio = <&gpe2 0 GPIO_ACTIVE_HIGH>;
344 max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
348 regulator-name = "VALIVE_1.2V";
349 regulator-min-microvolt = <1200000>;
350 regulator-max-microvolt = <1200000>;
355 regulator-name = "VUSB+MIPI_1.1V";
356 regulator-min-microvolt = <1100000>;
357 regulator-max-microvolt = <1100000>;
362 regulator-name = "VADC_3.3V";
363 regulator-min-microvolt = <3300000>;
364 regulator-max-microvolt = <3300000>;
368 regulator-name = "VTF_2.8V";
369 regulator-min-microvolt = <2800000>;
370 regulator-max-microvolt = <2800000>;
374 regulator-name = "LDO6";
375 regulator-min-microvolt = <2000000>;
376 regulator-max-microvolt = <2000000>;
380 regulator-name = "VLCD+VMIPI_1.8V";
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <1800000>;
386 regulator-name = "VUSB+VDAC_3.3V";
387 regulator-min-microvolt = <3300000>;
388 regulator-max-microvolt = <3300000>;
393 regulator-name = "VCC_2.8V";
394 regulator-min-microvolt = <2800000>;
395 regulator-max-microvolt = <2800000>;
400 regulator-name = "VPLL_1.1V";
401 regulator-min-microvolt = <1100000>;
402 regulator-max-microvolt = <1100000>;
408 regulator-name = "CAM_AF_3.3V";
409 regulator-min-microvolt = <3300000>;
410 regulator-max-microvolt = <3300000>;
414 regulator-name = "PS_2.8V";
415 regulator-min-microvolt = <2800000>;
416 regulator-max-microvolt = <2800000>;
420 regulator-name = "VHIC_1.2V";
421 regulator-min-microvolt = <1200000>;
422 regulator-max-microvolt = <1200000>;
426 regulator-name = "CAM_I_HOST_1.8V";
427 regulator-min-microvolt = <1800000>;
428 regulator-max-microvolt = <1800000>;
432 regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
433 regulator-min-microvolt = <1200000>;
434 regulator-max-microvolt = <1200000>;
438 regulator-name = "CAM_S_ANA_2.8V";
439 regulator-min-microvolt = <2800000>;
440 regulator-max-microvolt = <2800000>;
444 regulator-name = "VCC_3.0V_LCD";
445 regulator-min-microvolt = <3000000>;
446 regulator-max-microvolt = <3000000>;
450 regulator-name = "VINT_1.1V";
451 regulator-min-microvolt = <750000>;
452 regulator-max-microvolt = <1500000>;
458 regulator-name = "VG3D_1.1V";
459 regulator-min-microvolt = <750000>;
460 regulator-max-microvolt = <1500000>;
465 regulator-name = "VCC_1.8V";
466 regulator-min-microvolt = <1800000>;
467 regulator-max-microvolt = <1800000>;
472 regulator-name = "VMEM_1.2V";
473 regulator-min-microvolt = <1200000>;
474 regulator-max-microvolt = <1200000>;
478 ap32khz_reg: EN32KHz-AP {
479 regulator-name = "32KHz AP";
483 cp32khz_reg: EN32KHz-CP {
484 regulator-name = "32KHz CP";
488 regulator-name = "VICHG";
491 safeout1_reg: ESAFEOUT1 {
492 regulator-name = "SAFEOUT1";
495 safeout2_reg: ESAFEOUT2 {
496 regulator-name = "SAFEOUT2";
512 /* Use the secure mdma0 */
525 lp3974_irq: lp3974-irq {
526 samsung,pins = "gpx0-7", "gpx2-7";
527 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
531 samsung,pins = "gpx3-7";
532 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
537 i2c_ddc_bus: i2c-ddc-bus {
538 samsung,pins = "gpe4-2", "gpe4-3";
539 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
540 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
541 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
546 compatible = "samsung,s5p6440-pwm";
553 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
554 pinctrl-names = "default";
555 vmmc-supply = <&vemmc_reg>;
561 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
562 pinctrl-names = "default";
563 vmmc-supply = <&ldo5_reg>;
564 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
570 /delete-property/dmas;
571 /delete-property/dma-names;
576 /delete-property/dmas;
577 /delete-property/dma-names;
582 /delete-property/dmas;
583 /delete-property/dma-names;
588 /delete-property/dmas;
589 /delete-property/dma-names;
598 compatible = "samsung,exynos4210-sysram";
599 reg = <0x5000 0x1000>;