2 * Samsung's Exynos4210 based Trats board device tree source
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
7 * Device tree source file for Samsung's Trats board which is based on
8 * Samsung's Exynos4210 SoC.
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
16 #include "exynos4210.dtsi"
17 #include <dt-bindings/gpio/gpio.h>
20 model = "Samsung Trats based on Exynos4210";
21 compatible = "samsung,trats", "samsung,exynos4210", "samsung,exynos4";
24 device_type = "memory";
25 reg = <0x40000000 0x10000000
28 0x70000000 0x10000000>;
32 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
33 stdout-path = &serial_2;
37 compatible = "simple-bus";
39 vemmc_reg: regulator-0 {
40 compatible = "regulator-fixed";
41 regulator-name = "VMEM_VDD_2.8V";
42 regulator-min-microvolt = <2800000>;
43 regulator-max-microvolt = <2800000>;
44 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
48 tsp_reg: regulator-1 {
49 compatible = "regulator-fixed";
50 regulator-name = "TSP_FIXED_VOLTAGES";
51 regulator-min-microvolt = <2800000>;
52 regulator-max-microvolt = <2800000>;
53 gpio = <&gpl0 3 GPIO_ACTIVE_HIGH>;
57 cam_af_28v_reg: regulator-2 {
58 compatible = "regulator-fixed";
59 regulator-name = "8M_AF_2.8V_EN";
60 regulator-min-microvolt = <2800000>;
61 regulator-max-microvolt = <2800000>;
62 gpio = <&gpk1 1 GPIO_ACTIVE_HIGH>;
66 cam_io_en_reg: regulator-3 {
67 compatible = "regulator-fixed";
68 regulator-name = "CAM_IO_EN";
69 regulator-min-microvolt = <2800000>;
70 regulator-max-microvolt = <2800000>;
71 gpio = <&gpe2 1 GPIO_ACTIVE_HIGH>;
75 cam_io_12v_reg: regulator-4 {
76 compatible = "regulator-fixed";
77 regulator-name = "8M_1.2V_EN";
78 regulator-min-microvolt = <1200000>;
79 regulator-max-microvolt = <1200000>;
80 gpio = <&gpe2 5 GPIO_ACTIVE_HIGH>;
84 vt_core_15v_reg: regulator-5 {
85 compatible = "regulator-fixed";
86 regulator-name = "VT_CORE_1.5V";
87 regulator-min-microvolt = <1500000>;
88 regulator-max-microvolt = <1500000>;
89 gpio = <&gpe2 2 GPIO_ACTIVE_HIGH>;
95 compatible = "gpio-keys";
98 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
100 label = "volume down";
101 debounce-interval = <10>;
105 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
108 debounce-interval = <10>;
112 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
115 debounce-interval = <10>;
120 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
123 debounce-interval = <10>;
129 compatible = "samsung,clock-xxti";
130 clock-frequency = <0>;
134 compatible = "samsung,clock-xusbxti";
135 clock-frequency = <24000000>;
140 cpu_thermal: cpu-thermal {
143 /* Corresponds to 800MHz at freq_table */
144 cooling-device = <&cpu0 2 2>;
147 /* Corresponds to 200MHz at freq_table */
148 cooling-device = <&cpu0 4 4>;
155 pinctrl-names = "default";
159 fimc_0: fimc@11800000 {
161 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
162 <&clock CLK_SCLK_FIMC0>;
163 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
164 assigned-clock-rates = <0>, <160000000>;
167 fimc_1: fimc@11810000 {
169 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
170 <&clock CLK_SCLK_FIMC1>;
171 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
172 assigned-clock-rates = <0>, <160000000>;
175 fimc_2: fimc@11820000 {
177 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
178 <&clock CLK_SCLK_FIMC2>;
179 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
180 assigned-clock-rates = <0>, <160000000>;
183 fimc_3: fimc@11830000 {
185 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
186 <&clock CLK_SCLK_FIMC3>;
187 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
188 assigned-clock-rates = <0>, <160000000>;
194 cpu0-supply = <&varm_breg>;
198 vddcore-supply = <&vusb_reg>;
199 vddio-supply = <&vmipi_reg>;
200 samsung,burst-clock-frequency = <500000000>;
201 samsung,esc-clock-frequency = <20000000>;
202 samsung,pll-clock-frequency = <24000000>;
207 compatible = "samsung,s6e8aa0";
208 vdd3-supply = <&vcclcd_reg>;
209 vci-supply = <&vlcd_reg>;
210 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
211 power-on-delay= <50>;
216 panel-width-mm = <58>;
217 panel-height-mm = <103>;
221 clock-frequency = <57153600>;
237 vbus-supply = <&safe1_sreg>;
245 vusb_d-supply = <&vusb_reg>;
246 vusb_a-supply = <&vusbdac_reg>;
247 dr_mode = "peripheral";
252 samsung,i2c-sda-delay = <100>;
253 samsung,i2c-slave-addr = <0x10>;
254 samsung,i2c-max-bus-freq = <400000>;
255 pinctrl-0 = <&i2c3_bus>;
256 pinctrl-names = "default";
259 mms114-touchscreen@48 {
260 compatible = "melfas,mms114";
262 interrupt-parent = <&gpx0>;
263 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
266 avdd-supply = <&tsp_reg>;
267 vdd-supply = <&tsp_reg>;
272 samsung,i2c-sda-delay = <100>;
273 samsung,i2c-slave-addr = <0x10>;
274 samsung,i2c-max-bus-freq = <100000>;
275 pinctrl-0 = <&i2c5_bus>;
276 pinctrl-names = "default";
280 compatible = "maxim,max8997-pmic";
283 interrupt-parent = <&gpx0>;
284 interrupts = <7 IRQ_TYPE_NONE>;
286 max8997,pmic-buck1-uses-gpio-dvs;
287 max8997,pmic-buck2-uses-gpio-dvs;
288 max8997,pmic-buck5-uses-gpio-dvs;
290 max8997,pmic-ignore-gpiodvs-side-effect;
291 max8997,pmic-buck125-default-dvs-idx = <0>;
293 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
294 <&gpx0 6 GPIO_ACTIVE_HIGH>,
295 <&gpl0 0 GPIO_ACTIVE_HIGH>;
297 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
298 <1250000>, <1200000>,
299 <1150000>, <1100000>,
302 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
304 <1100000>, <1000000>,
307 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
308 <1200000>, <1200000>,
309 <1200000>, <1200000>,
310 <1200000>, <1200000>;
314 regulator-name = "VALIVE_1.1V_C210";
315 regulator-min-microvolt = <1100000>;
316 regulator-max-microvolt = <1100000>;
321 regulator-name = "VUSB_1.1V_C210";
322 regulator-min-microvolt = <1100000>;
323 regulator-max-microvolt = <1100000>;
327 regulator-name = "VMIPI_1.8V";
328 regulator-min-microvolt = <1800000>;
329 regulator-max-microvolt = <1800000>;
333 regulator-name = "VCC_1.8V_PDA";
334 regulator-min-microvolt = <1800000>;
335 regulator-max-microvolt = <1800000>;
340 regulator-name = "CAM_ISP_1.8V";
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <1800000>;
346 regulator-name = "VUSB+VDAC_3.3V_C210";
347 regulator-min-microvolt = <3300000>;
348 regulator-max-microvolt = <3300000>;
352 regulator-name = "VCC_2.8V_PDA";
353 regulator-min-microvolt = <2800000>;
354 regulator-max-microvolt = <2800000>;
359 regulator-name = "VPLL_1.1V_C210";
360 regulator-min-microvolt = <1100000>;
361 regulator-max-microvolt = <1100000>;
366 regulator-name = "VT_CAM_1.8V";
367 regulator-min-microvolt = <1800000>;
368 regulator-max-microvolt = <1800000>;
372 regulator-name = "VCC_3.3V_LCD";
373 regulator-min-microvolt = <3300000>;
374 regulator-max-microvolt = <3300000>;
378 regulator-name = "VLCD_2.2V";
379 regulator-min-microvolt = <2200000>;
380 regulator-max-microvolt = <2200000>;
383 camsensor_reg: LDO16 {
384 regulator-name = "CAM_SENSOR_IO_1.8V";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
390 regulator-name = "VDDQ_M1M2_1.2V";
391 regulator-min-microvolt = <1200000>;
392 regulator-max-microvolt = <1200000>;
398 * HACK: The real name is VARM_1.2V_C210,
399 * but exynos-cpufreq does not support
400 * DT-based regulator lookup yet.
402 regulator-name = "vdd_arm";
403 regulator-min-microvolt = <900000>;
404 regulator-max-microvolt = <1350000>;
409 regulator-name = "VINT_1.1V_C210";
410 regulator-min-microvolt = <900000>;
411 regulator-max-microvolt = <1100000>;
416 regulator-name = "CAM_ISP_CORE_1.2V";
417 regulator-min-microvolt = <1200000>;
418 regulator-max-microvolt = <1200000>;
422 regulator-name = "VMEM_1.2V_C210";
423 regulator-min-microvolt = <1200000>;
424 regulator-max-microvolt = <1200000>;
429 regulator-name = "VCC_SUB_2.0V";
430 regulator-min-microvolt = <2000000>;
431 regulator-max-microvolt = <2000000>;
435 safe1_sreg: ESAFEOUT1 {
436 regulator-name = "SAFEOUT1";
439 safe2_sreg: ESAFEOUT2 {
440 regulator-name = "SAFEOUT2";
450 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
451 pinctrl-names = "default";
452 vmmc-supply = <&vemmc_reg>;