1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4210 based Trats board device tree source
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Device tree source file for Samsung's Trats board which is based on
9 * Samsung's Exynos4210 SoC.
13 #include "exynos4210.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
17 model = "Samsung Trats based on Exynos4210";
18 compatible = "samsung,trats", "samsung,exynos4210", "samsung,exynos4";
19 chassis-type = "handset";
22 device_type = "memory";
23 reg = <0x40000000 0x10000000
26 0x70000000 0x10000000>;
30 bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
31 stdout-path = "serial2:115200n8";
34 vemmc_reg: regulator-0 {
35 compatible = "regulator-fixed";
36 regulator-name = "VMEM_VDD_2.8V";
37 regulator-min-microvolt = <2800000>;
38 regulator-max-microvolt = <2800000>;
39 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
43 tsp_reg: regulator-1 {
44 compatible = "regulator-fixed";
45 regulator-name = "TSP_FIXED_VOLTAGES";
46 regulator-min-microvolt = <2800000>;
47 regulator-max-microvolt = <2800000>;
48 gpio = <&gpl0 3 GPIO_ACTIVE_HIGH>;
52 cam_af_28v_reg: regulator-2 {
53 compatible = "regulator-fixed";
54 regulator-name = "8M_AF_2.8V_EN";
55 regulator-min-microvolt = <2800000>;
56 regulator-max-microvolt = <2800000>;
57 gpio = <&gpk1 1 GPIO_ACTIVE_HIGH>;
61 cam_io_en_reg: regulator-3 {
62 compatible = "regulator-fixed";
63 regulator-name = "CAM_IO_EN";
64 regulator-min-microvolt = <2800000>;
65 regulator-max-microvolt = <2800000>;
66 gpio = <&gpe2 1 GPIO_ACTIVE_HIGH>;
70 cam_io_12v_reg: regulator-4 {
71 compatible = "regulator-fixed";
72 regulator-name = "8M_1.2V_EN";
73 regulator-min-microvolt = <1200000>;
74 regulator-max-microvolt = <1200000>;
75 gpio = <&gpe2 5 GPIO_ACTIVE_HIGH>;
79 vt_core_15v_reg: regulator-5 {
80 compatible = "regulator-fixed";
81 regulator-name = "VT_CORE_1.5V";
82 regulator-min-microvolt = <1500000>;
83 regulator-max-microvolt = <1500000>;
84 gpio = <&gpe2 2 GPIO_ACTIVE_HIGH>;
89 compatible = "gpio-keys";
92 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
94 label = "volume down";
95 debounce-interval = <10>;
99 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
102 debounce-interval = <10>;
106 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
109 debounce-interval = <10>;
114 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
117 debounce-interval = <10>;
121 wlan_pwrseq: sdhci3-pwrseq {
122 compatible = "mmc-pwrseq-simple";
123 reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>;
128 compatible = "samsung,clock-xxti";
129 clock-frequency = <0>;
133 compatible = "samsung,clock-xusbxti";
134 clock-frequency = <24000000>;
137 pmic_ap_clk: pmic-ap-clk {
138 /* Workaround for missing clock on max8997 PMIC */
139 compatible = "fixed-clock";
141 clock-frequency = <32768>;
147 pinctrl-names = "default";
153 cpu0-supply = <&varm_breg>;
159 /* Corresponds to 800MHz at freq_table */
160 cooling-device = <&cpu0 2 2>, <&cpu1 2 2>;
163 /* Corresponds to 200MHz at freq_table */
164 cooling-device = <&cpu0 4 4>, <&cpu1 4 4>;
170 vddcore-supply = <&vusb_reg>;
171 vddio-supply = <&vmipi_reg>;
172 samsung,burst-clock-frequency = <500000000>;
173 samsung,esc-clock-frequency = <20000000>;
174 samsung,pll-clock-frequency = <24000000>;
179 compatible = "samsung,s6e8aa0";
180 vdd3-supply = <&vcclcd_reg>;
181 vci-supply = <&vlcd_reg>;
182 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
183 power-on-delay = <50>;
188 panel-width-mm = <58>;
189 panel-height-mm = <103>;
193 clock-frequency = <57153600>;
209 vbus-supply = <&safe1_sreg>;
214 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
215 <&clock CLK_SCLK_FIMC0>;
216 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
217 assigned-clock-rates = <0>, <160000000>;
222 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
223 <&clock CLK_SCLK_FIMC1>;
224 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
225 assigned-clock-rates = <0>, <160000000>;
230 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
231 <&clock CLK_SCLK_FIMC2>;
232 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
233 assigned-clock-rates = <0>, <160000000>;
238 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
239 <&clock CLK_SCLK_FIMC3>;
240 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
241 assigned-clock-rates = <0>, <160000000>;
253 vusb_d-supply = <&vusb_reg>;
254 vusb_a-supply = <&vusbdac_reg>;
255 dr_mode = "peripheral";
260 samsung,i2c-sda-delay = <100>;
261 samsung,i2c-slave-addr = <0x10>;
262 samsung,i2c-max-bus-freq = <400000>;
263 pinctrl-0 = <&i2c3_bus>;
264 pinctrl-names = "default";
268 compatible = "melfas,mms114";
270 interrupt-parent = <&gpx0>;
271 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
272 touchscreen-size-x = <720>;
273 touchscreen-size-y = <1280>;
274 avdd-supply = <&tsp_reg>;
275 vdd-supply = <&tsp_reg>;
280 samsung,i2c-sda-delay = <100>;
281 samsung,i2c-slave-addr = <0x10>;
282 samsung,i2c-max-bus-freq = <100000>;
283 pinctrl-0 = <&i2c5_bus>;
284 pinctrl-names = "default";
288 compatible = "maxim,max8997-pmic";
291 interrupts-extended = <&gpx0 7 IRQ_TYPE_LEVEL_LOW>,
292 <&gpx2 3 IRQ_TYPE_EDGE_FALLING>;
294 max8997,pmic-buck1-uses-gpio-dvs;
295 max8997,pmic-buck2-uses-gpio-dvs;
296 max8997,pmic-buck5-uses-gpio-dvs;
298 max8997,pmic-ignore-gpiodvs-side-effect;
299 max8997,pmic-buck125-default-dvs-idx = <0>;
301 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
302 <&gpx0 6 GPIO_ACTIVE_HIGH>,
303 <&gpl0 0 GPIO_ACTIVE_HIGH>;
305 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
306 <1250000>, <1200000>,
307 <1150000>, <1100000>,
310 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
312 <1100000>, <1000000>,
315 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
316 <1200000>, <1200000>,
317 <1200000>, <1200000>,
318 <1200000>, <1200000>;
322 regulator-name = "VALIVE_1.1V_C210";
323 regulator-min-microvolt = <1100000>;
324 regulator-max-microvolt = <1100000>;
329 regulator-name = "VUSB_1.1V_C210";
330 regulator-min-microvolt = <1100000>;
331 regulator-max-microvolt = <1100000>;
335 regulator-name = "VMIPI_1.8V";
336 regulator-min-microvolt = <1800000>;
337 regulator-max-microvolt = <1800000>;
341 regulator-name = "VCC_1.8V_PDA";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
348 regulator-name = "CAM_ISP_1.8V";
349 regulator-min-microvolt = <1800000>;
350 regulator-max-microvolt = <1800000>;
354 regulator-name = "VUSB+VDAC_3.3V_C210";
355 regulator-min-microvolt = <3300000>;
356 regulator-max-microvolt = <3300000>;
360 regulator-name = "VCC_2.8V_PDA";
361 regulator-min-microvolt = <2800000>;
362 regulator-max-microvolt = <2800000>;
367 regulator-name = "VPLL_1.1V_C210";
368 regulator-min-microvolt = <1100000>;
369 regulator-max-microvolt = <1100000>;
374 regulator-name = "VT_CAM_1.8V";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
380 regulator-name = "VCC_3.3V_LCD";
381 regulator-min-microvolt = <3300000>;
382 regulator-max-microvolt = <3300000>;
386 regulator-name = "VLCD_2.2V";
387 regulator-min-microvolt = <2200000>;
388 regulator-max-microvolt = <2200000>;
391 camsensor_reg: LDO16 {
392 regulator-name = "CAM_SENSOR_IO_1.8V";
393 regulator-min-microvolt = <1800000>;
394 regulator-max-microvolt = <1800000>;
398 regulator-name = "VTF_2.8V";
399 regulator-min-microvolt = <2800000>;
400 regulator-max-microvolt = <2800000>;
404 regulator-name = "VDDQ_M1M2_1.2V";
405 regulator-min-microvolt = <1200000>;
406 regulator-max-microvolt = <1200000>;
411 regulator-name = "VARM_1.2V_C210";
412 regulator-min-microvolt = <900000>;
413 regulator-max-microvolt = <1350000>;
418 regulator-name = "VINT_1.1V_C210";
419 regulator-min-microvolt = <900000>;
420 regulator-max-microvolt = <1100000>;
425 regulator-name = "CAM_ISP_CORE_1.2V";
426 regulator-min-microvolt = <1200000>;
427 regulator-max-microvolt = <1200000>;
431 regulator-name = "VMEM_1.2V_C210";
432 regulator-min-microvolt = <1200000>;
433 regulator-max-microvolt = <1200000>;
438 regulator-name = "VCC_SUB_2.0V";
439 regulator-min-microvolt = <2000000>;
440 regulator-max-microvolt = <2000000>;
444 safe1_sreg: ESAFEOUT1 {
445 regulator-name = "SAFEOUT1";
448 safe2_sreg: ESAFEOUT2 {
449 regulator-name = "SAFEOUT2";
454 regulator-name = "EN32KHZ_AP";
459 regulator-name = "EN32KHZ_CP";
467 bt_shutdown: bt-shutdown-pins {
468 samsung,pins = "gpl1-0";
469 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
470 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
473 bt_host_wakeup: bt-host-wakeup-pins {
474 samsung,pins = "gpx2-6";
475 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
476 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
479 bt_device_wakeup: bt-device-wakeup-pins {
480 samsung,pins = "gpx3-1";
481 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
482 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
488 clocks = <&clock CLK_RTC>, <&pmic_ap_clk>;
489 clock-names = "rtc", "rtc_src";
495 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>;
496 pinctrl-names = "default";
497 vmmc-supply = <&vemmc_reg>;
503 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
504 pinctrl-names = "default";
505 vmmc-supply = <&tflash_reg>;
506 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
513 #address-cells = <1>;
518 mmc-pwrseq = <&wlan_pwrseq>;
519 vmmc-supply = <&tflash_reg>;
521 pinctrl-names = "default";
522 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
525 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
528 interrupt-parent = <&gpx2>;
529 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
530 interrupt-names = "host-wake";
536 pinctrl-0 = <&uart0_data &uart0_fctl>;
537 pinctrl-names = "default";
540 compatible = "brcm,bcm4330-bt";
541 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
542 pinctrl-names = "default";
543 shutdown-gpios = <&gpl1 0 GPIO_ACTIVE_HIGH>;
544 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
545 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;