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
33 0x40000000 0x18000000>;
36 pmic_ap_clk: clock-0 {
37 /* Workaround for missing clock on PMIC */
38 compatible = "fixed-clock";
40 clock-frequency = <32768>;
43 vtf_reg: regulator-0 {
44 compatible = "regulator-fixed";
45 regulator-name = "V_TF_2.8V";
46 regulator-min-microvolt = <2800000>;
47 regulator-max-microvolt = <2800000>;
48 gpio = <&mp05 4 GPIO_ACTIVE_HIGH>;
52 pda_reg: regulator-1 {
53 compatible = "regulator-fixed";
54 regulator-name = "VCC_1.8V_PDA";
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <1800000>;
59 bat_reg: regulator-2 {
60 compatible = "regulator-fixed";
61 regulator-name = "V_BAT";
62 regulator-min-microvolt = <3700000>;
63 regulator-max-microvolt = <3700000>;
67 compatible = "i2c-gpio";
68 sda-gpios = <&gpj4 0 GPIO_ACTIVE_HIGH>;
69 scl-gpios = <&gpj4 3 GPIO_ACTIVE_HIGH>;
70 i2c-gpio,delay-us = <2>; /* ~100 kHz */
75 compatible = "national,lp3974";
78 max8998,pmic-buck1-default-dvs-idx = <0>;
79 max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
80 <&gph0 4 GPIO_ACTIVE_HIGH>;
81 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
84 max8998,pmic-buck2-default-dvs-idx = <0>;
85 max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
86 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
90 regulator-name = "VALIVE_1.1V";
91 regulator-min-microvolt = <1100000>;
92 regulator-max-microvolt = <1100000>;
97 regulator-name = "VUSB+MIPI_1.1V";
98 regulator-min-microvolt = <1100000>;
99 regulator-max-microvolt = <1100000>;
104 regulator-name = "VADC_3.3V";
105 regulator-min-microvolt = <3300000>;
106 regulator-max-microvolt = <3300000>;
110 regulator-name = "VTF_2.8V";
111 regulator-min-microvolt = <2800000>;
112 regulator-max-microvolt = <2800000>;
117 regulator-name = "VCC_3.3V";
118 regulator-min-microvolt = <3300000>;
119 regulator-max-microvolt = <3300000>;
124 regulator-name = "VCC_3.0V";
125 regulator-min-microvolt = <3000000>;
126 regulator-max-microvolt = <3000000>;
132 regulator-name = "VUSB+VDAC_3.3V";
133 regulator-min-microvolt = <3300000>;
134 regulator-max-microvolt = <3300000>;
139 regulator-name = "VCC+VCAM_2.8V";
140 regulator-min-microvolt = <2800000>;
141 regulator-max-microvolt = <2800000>;
146 regulator-name = "VPLL_1.1V";
147 regulator-min-microvolt = <1100000>;
148 regulator-max-microvolt = <1100000>;
154 regulator-name = "CAM_IO_2.8V";
155 regulator-min-microvolt = <2800000>;
156 regulator-max-microvolt = <2800000>;
161 regulator-name = "CAM_ISP_1.2V";
162 regulator-min-microvolt = <1200000>;
163 regulator-max-microvolt = <1200000>;
168 regulator-name = "CAM_A_2.8V";
169 regulator-min-microvolt = <2800000>;
170 regulator-max-microvolt = <2800000>;
175 regulator-name = "CAM_CIF_1.8V";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
182 regulator-name = "CAM_AF_3.3V";
183 regulator-min-microvolt = <3300000>;
184 regulator-max-microvolt = <3300000>;
189 regulator-name = "VMIPI_1.8V";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
196 regulator-name = "CAM_8M_1.8V";
197 regulator-min-microvolt = <1800000>;
198 regulator-max-microvolt = <1800000>;
203 regulator-name = "VARM_1.2V";
204 regulator-min-microvolt = <1200000>;
205 regulator-max-microvolt = <1200000>;
210 regulator-name = "VINT_1.2V";
211 regulator-min-microvolt = <1200000>;
212 regulator-max-microvolt = <1200000>;
217 regulator-name = "VCC_1.8V";
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
224 regulator-name = "CAM_CORE_1.2V";
225 regulator-min-microvolt = <1200000>;
226 regulator-max-microvolt = <1200000>;
230 ap32khz_reg: EN32KHz-AP {
231 regulator-name = "32KHz AP";
236 regulator-name = "VICHG";
239 safeout1_reg: ESAFEOUT1 {
240 regulator-name = "SAFEOUT1";
244 safeout2_reg: ESAFEOUT2 {
245 regulator-name = "SAFEOUT2";
254 compatible = "gpio-keys";
258 linux,code = <KEY_POWER>;
260 debounce-interval = <1>;
267 clock-frequency = <24000000>;
271 linux,input-no-autorepeat;
273 samsung,keypad-num-rows = <3>;
274 samsung,keypad-num-columns = <3>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&keypad_row0>, <&keypad_row1>, <&keypad_row2>,
277 <&keypad_col0>, <&keypad_col1>, <&keypad_col2>;
283 linux,code = <KEY_CONNECT>;
289 linux,code = <KEY_BACK>;
295 linux,code = <KEY_CAMERA_FOCUS>;
301 linux,code = <KEY_VOLUMEUP>;
307 linux,code = <KEY_CAMERA>;
313 linux,code = <KEY_VOLUMEDOWN>;
334 clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>;
335 clock-names = "rtc", "rtc_src";
342 vmmc-supply = <&ldo5_reg>;
343 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
344 pinctrl-names = "default";
349 cd-gpios = <&gph3 4 1>;
350 vmmc-supply = <&vtf_reg>;
352 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &t_flash_detect>;
353 pinctrl-names = "default";
362 vusb_a-supply = <&ldo3_reg>;
363 vusb_d-supply = <&ldo8_reg>;
364 dr_mode = "peripheral";
373 pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;
374 pinctrl-names = "default";
378 native-mode = <&timing0>;
380 clock-frequency = <0>;
394 t_flash_detect: t-flash-detect {
395 samsung,pins = "gph3-4";
396 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
397 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;