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 Aquila board.
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include "s5pv210.dtsi"
19 model = "Samsung Aquila based on S5PC110";
20 compatible = "samsung,aquila", "samsung,s5pv210";
27 bootargs = "console=ttySAC2,115200n8 root=/dev/mmcblk1p5 rw rootwait ignore_loglevel earlyprintk";
31 device_type = "memory";
32 reg = <0x30000000 0x05000000>, <0x40000000 0x18000000>;
35 pmic_ap_clk: clock-0 {
36 /* Workaround for missing clock on PMIC */
37 compatible = "fixed-clock";
39 clock-frequency = <32768>;
42 vtf_reg: regulator-0 {
43 compatible = "regulator-fixed";
44 regulator-name = "V_TF_2.8V";
45 regulator-min-microvolt = <2800000>;
46 regulator-max-microvolt = <2800000>;
47 gpio = <&mp05 4 GPIO_ACTIVE_HIGH>;
51 pda_reg: regulator-1 {
52 compatible = "regulator-fixed";
53 regulator-name = "VCC_1.8V_PDA";
54 regulator-min-microvolt = <1800000>;
55 regulator-max-microvolt = <1800000>;
58 bat_reg: regulator-2 {
59 compatible = "regulator-fixed";
60 regulator-name = "V_BAT";
61 regulator-min-microvolt = <3700000>;
62 regulator-max-microvolt = <3700000>;
66 compatible = "i2c-gpio";
67 sda-gpios = <&gpj4 0 GPIO_ACTIVE_HIGH>;
68 scl-gpios = <&gpj4 3 GPIO_ACTIVE_HIGH>;
69 i2c-gpio,delay-us = <2>; /* ~100 kHz */
74 compatible = "national,lp3974";
77 max8998,pmic-buck1-default-dvs-idx = <0>;
78 max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
79 <&gph0 4 GPIO_ACTIVE_HIGH>;
80 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
83 max8998,pmic-buck2-default-dvs-idx = <0>;
84 max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
85 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
89 regulator-name = "VALIVE_1.1V";
90 regulator-min-microvolt = <1100000>;
91 regulator-max-microvolt = <1100000>;
96 regulator-name = "VUSB+MIPI_1.1V";
97 regulator-min-microvolt = <1100000>;
98 regulator-max-microvolt = <1100000>;
103 regulator-name = "VADC_3.3V";
104 regulator-min-microvolt = <3300000>;
105 regulator-max-microvolt = <3300000>;
109 regulator-name = "VTF_2.8V";
110 regulator-min-microvolt = <2800000>;
111 regulator-max-microvolt = <2800000>;
116 regulator-name = "VCC_3.3V";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
123 regulator-name = "VCC_3.0V";
124 regulator-min-microvolt = <3000000>;
125 regulator-max-microvolt = <3000000>;
131 regulator-name = "VUSB+VDAC_3.3V";
132 regulator-min-microvolt = <3300000>;
133 regulator-max-microvolt = <3300000>;
138 regulator-name = "VCC+VCAM_2.8V";
139 regulator-min-microvolt = <2800000>;
140 regulator-max-microvolt = <2800000>;
145 regulator-name = "VPLL_1.1V";
146 regulator-min-microvolt = <1100000>;
147 regulator-max-microvolt = <1100000>;
153 regulator-name = "CAM_IO_2.8V";
154 regulator-min-microvolt = <2800000>;
155 regulator-max-microvolt = <2800000>;
160 regulator-name = "CAM_ISP_1.2V";
161 regulator-min-microvolt = <1200000>;
162 regulator-max-microvolt = <1200000>;
167 regulator-name = "CAM_A_2.8V";
168 regulator-min-microvolt = <2800000>;
169 regulator-max-microvolt = <2800000>;
174 regulator-name = "CAM_CIF_1.8V";
175 regulator-min-microvolt = <1800000>;
176 regulator-max-microvolt = <1800000>;
181 regulator-name = "CAM_AF_3.3V";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
188 regulator-name = "VMIPI_1.8V";
189 regulator-min-microvolt = <1800000>;
190 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>;
209 regulator-name = "VINT_1.2V";
210 regulator-min-microvolt = <1200000>;
211 regulator-max-microvolt = <1200000>;
216 regulator-name = "VCC_1.8V";
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <1800000>;
223 regulator-name = "CAM_CORE_1.2V";
224 regulator-min-microvolt = <1200000>;
225 regulator-max-microvolt = <1200000>;
229 ap32khz_reg: EN32KHz-AP {
230 regulator-name = "32KHz AP";
235 regulator-name = "VICHG";
238 safeout1_reg: ESAFEOUT1 {
239 regulator-name = "SAFEOUT1";
243 safeout2_reg: ESAFEOUT2 {
244 regulator-name = "SAFEOUT2";
253 compatible = "gpio-keys";
257 linux,code = <KEY_POWER>;
259 debounce-interval = <1>;
266 clock-frequency = <24000000>;
270 linux,input-no-autorepeat;
272 samsung,keypad-num-rows = <3>;
273 samsung,keypad-num-columns = <3>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&keypad_row0>, <&keypad_row1>, <&keypad_row2>,
276 <&keypad_col0>, <&keypad_col1>, <&keypad_col2>;
282 linux,code = <KEY_CONNECT>;
288 linux,code = <KEY_BACK>;
294 linux,code = <KEY_CAMERA_FOCUS>;
300 linux,code = <KEY_VOLUMEUP>;
306 linux,code = <KEY_CAMERA>;
312 linux,code = <KEY_VOLUMEDOWN>;
333 clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>;
334 clock-names = "rtc", "rtc_src";
341 vmmc-supply = <&ldo5_reg>;
342 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
343 pinctrl-names = "default";
348 cd-gpios = <&gph3 4 1>;
349 vmmc-supply = <&vtf_reg>;
351 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &t_flash_detect>;
352 pinctrl-names = "default";
361 vusb_a-supply = <&ldo3_reg>;
362 vusb_d-supply = <&ldo8_reg>;
363 dr_mode = "peripheral";
372 pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;
373 pinctrl-names = "default";
377 native-mode = <&timing0>;
379 clock-frequency = <0>;
393 t_flash_detect: t-flash-detect-pins {
394 samsung,pins = "gph3-4";
395 samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>;
396 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>;