1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's S5PV210 SoC device tree source
5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
8 * Tomasz Figa <t.figa@samsung.com>
10 * Board device tree source for Samsung Goni board.
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/input/input.h>
17 #include "s5pv210.dtsi"
20 model = "Samsung Goni based on S5PC110";
21 compatible = "samsung,goni", "samsung,s5pv210";
28 bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p5 rw rootwait ignore_loglevel earlyprintk";
32 device_type = "memory";
33 reg = <0x30000000 0x05000000
35 0x50000000 0x08000000>;
38 pmic_ap_clk: clock-0 {
39 /* Workaround for missing clock on PMIC */
40 compatible = "fixed-clock";
42 clock-frequency = <32768>;
45 vtf_reg: regulator-0 {
46 compatible = "regulator-fixed";
47 regulator-name = "V_TF_2.8V";
48 regulator-min-microvolt = <2800000>;
49 regulator-max-microvolt = <2800000>;
50 gpio = <&mp05 4 GPIO_ACTIVE_HIGH>;
54 pda_reg: regulator-1 {
55 compatible = "regulator-fixed";
56 regulator-name = "VCC_1.8V_PDA";
57 regulator-min-microvolt = <1800000>;
58 regulator-max-microvolt = <1800000>;
61 bat_reg: regulator-2 {
62 compatible = "regulator-fixed";
63 regulator-name = "V_BAT";
64 regulator-min-microvolt = <3700000>;
65 regulator-max-microvolt = <3700000>;
68 tsp_reg: regulator-3 {
69 compatible = "regulator-fixed";
70 regulator-name = "TSP_VDD";
71 regulator-min-microvolt = <2800000>;
72 regulator-max-microvolt = <2800000>;
73 gpio = <&gpj1 3 GPIO_ACTIVE_HIGH>;
78 compatible = "i2c-gpio";
79 sda-gpios = <&gpj4 0 GPIO_ACTIVE_HIGH>;
80 scl-gpios = <&gpj4 3 GPIO_ACTIVE_HIGH>;
81 i2c-gpio,delay-us = <2>; /* ~100 kHz */
86 compatible = "national,lp3974";
89 max8998,pmic-buck1-default-dvs-idx = <0>;
90 max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
91 <&gph0 4 GPIO_ACTIVE_HIGH>;
92 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
95 max8998,pmic-buck2-default-dvs-idx = <0>;
96 max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
97 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
101 regulator-name = "VALIVE_1.1V";
102 regulator-min-microvolt = <1100000>;
103 regulator-max-microvolt = <1100000>;
108 regulator-name = "VUSB+MIPI_1.1V";
109 regulator-min-microvolt = <1100000>;
110 regulator-max-microvolt = <1100000>;
115 regulator-name = "VADC_3.3V";
116 regulator-min-microvolt = <3300000>;
117 regulator-max-microvolt = <3300000>;
121 regulator-name = "VTF_2.8V";
122 regulator-min-microvolt = <2800000>;
123 regulator-max-microvolt = <2800000>;
127 regulator-name = "VCC_3.3V";
128 regulator-min-microvolt = <3300000>;
129 regulator-max-microvolt = <3300000>;
133 regulator-name = "VLCD_1.8V";
134 regulator-min-microvolt = <1800000>;
135 regulator-max-microvolt = <1800000>;
140 regulator-name = "VUSB+VDAC_3.3V";
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
146 regulator-name = "VCC+VCAM_2.8V";
147 regulator-min-microvolt = <2800000>;
148 regulator-max-microvolt = <2800000>;
152 regulator-name = "VPLL_1.1V";
153 regulator-min-microvolt = <1100000>;
154 regulator-max-microvolt = <1100000>;
159 regulator-name = "CAM_IO_2.8V";
160 regulator-min-microvolt = <2800000>;
161 regulator-max-microvolt = <2800000>;
165 regulator-name = "CAM_ISP_1.2V";
166 regulator-min-microvolt = <1200000>;
167 regulator-max-microvolt = <1200000>;
171 regulator-name = "CAM_A_2.8V";
172 regulator-min-microvolt = <2800000>;
173 regulator-max-microvolt = <2800000>;
177 regulator-name = "CAM_CIF_1.8V";
178 regulator-min-microvolt = <1800000>;
179 regulator-max-microvolt = <1800000>;
183 regulator-name = "CAM_AF_3.3V";
184 regulator-min-microvolt = <3300000>;
185 regulator-max-microvolt = <3300000>;
189 regulator-name = "VMIPI_1.8V";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
195 regulator-name = "CAM_8M_1.8V";
196 regulator-min-microvolt = <1800000>;
197 regulator-max-microvolt = <1800000>;
202 regulator-name = "VARM_1.2V";
203 regulator-min-microvolt = <1200000>;
204 regulator-max-microvolt = <1200000>;
208 regulator-name = "VINT_1.2V";
209 regulator-min-microvolt = <1200000>;
210 regulator-max-microvolt = <1200000>;
214 regulator-name = "VCC_1.8V";
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
221 regulator-name = "CAM_CORE_1.2V";
222 regulator-min-microvolt = <1200000>;
223 regulator-max-microvolt = <1200000>;
227 ap32khz_reg: EN32KHz-AP {
228 regulator-name = "32KHz AP";
236 compatible = "gpio-keys";
240 linux,code = <KEY_POWER>;
242 debounce-interval = <1>;
249 clock-frequency = <24000000>;
253 linux,input-no-autorepeat;
255 samsung,keypad-num-rows = <3>;
256 samsung,keypad-num-columns = <3>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&keypad_row0>, <&keypad_row1>, <&keypad_row2>,
259 <&keypad_col0>, <&keypad_col1>, <&keypad_col2>;
265 linux,code = <KEY_CONNECT>;
271 linux,code = <KEY_BACK>;
277 linux,code = <KEY_CAMERA_FOCUS>;
283 linux,code = <KEY_VOLUMEUP>;
289 linux,code = <KEY_CAMERA>;
295 linux,code = <KEY_VOLUMEDOWN>;
316 clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>;
317 clock-names = "rtc", "rtc_src";
323 vmmc-supply = <&ldo5_reg>;
324 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus1 &sd0_bus4>;
325 pinctrl-names = "default";
331 cd-gpios = <&gph3 4 1>;
332 vmmc-supply = <&vtf_reg>;
334 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
335 pinctrl-names = "default";
340 vusb_a-supply = <&ldo3_reg>;
341 vusb_d-supply = <&ldo8_reg>;
342 dr_mode = "peripheral";
351 samsung,i2c-sda-delay = <100>;
352 samsung,i2c-max-bus-freq = <400000>;
353 samsung,i2c-slave-addr = <0x10>;
357 compatible = "atmel,maxtouch";
359 interrupt-parent = <&gpj0>;
360 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
364 atmel,x-size = <800>;
365 atmel,y-size = <480>;
366 atmel,burst-length = <0x21>;
367 atmel,threshold = <0x28>;
368 atmel,orientation = <1>;
370 vdd-supply = <&tsp_reg>;
375 samsung,i2c-sda-delay = <100>;
376 samsung,i2c-max-bus-freq = <100000>;
377 samsung,i2c-slave-addr = <0x10>;
380 noon010pc30: sensor@30 {
381 compatible = "siliconfile,noon010pc30";
383 vddio-supply = <&ldo11_reg>;
384 vdda-supply = <&ldo13_reg>;
385 vdd_core-supply = <&ldo14_reg>;
387 clock-frequency = <16000000>;
388 clocks = <&camera 0>;
389 clock-names = "mclk";
390 nreset-gpios = <&gpb 2 GPIO_ACTIVE_HIGH>;
391 nstby-gpios = <&gpb 0 GPIO_ACTIVE_HIGH>;
394 noon010pc30_ep: endpoint {
395 remote-endpoint = <&fimc0_ep>;
406 pinctrl-0 = <&cam_port_a_io &cam_port_a_clk_active>;
407 pinctrl-1 = <&cam_port_a_io &cam_port_a_clk_idle>;
408 pinctrl-names = "default", "idle";
411 #address-cells = <1>;
418 remote-endpoint = <&noon010pc30_ep>;
429 pinctrl-0 = <&lcd_clk &lcd_data24>;
430 pinctrl-names = "default";
434 native-mode = <&timing0>;
437 clock-frequency = <23439570>;
449 pixelclk-active = <0>;