1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com>
7 #include <dt-bindings/input/input.h>
11 model = "Rockchip PX3-EVB";
12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188";
15 stdout-path = "serial2:115200n8";
19 reg = <0x60000000 0x80000000>;
20 device_type = "memory";
24 compatible = "gpio-keys";
28 gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_POWER>;
30 label = "GPIO Key Power";
31 linux,input-type = <1>;
33 debounce-interval = <100>;
37 vcc_sys: vsys-regulator {
38 compatible = "regulator-fixed";
39 regulator-name = "vsys";
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
47 cpu-supply = <&vdd_cpu>;
51 cpu-supply = <&vdd_cpu>;
55 cpu-supply = <&vdd_cpu>;
59 cpu-supply = <&vdd_cpu>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_rst>;
75 compatible = "bosch,bma250";
77 interrupt-parent = <&gpio0>;
78 interrupts = <RK_PB7 IRQ_TYPE_LEVEL_LOW>;
84 clock-frequency = <400000>;
87 compatible = "rockchip,rk818";
89 interrupt-parent = <&gpio0>;
90 interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
91 rockchip,system-power-controller;
94 clock-output-names = "xin32k", "rk808-clkout2";
96 vcc1-supply = <&vcc_sys>;
97 vcc2-supply = <&vcc_sys>;
98 vcc3-supply = <&vcc_sys>;
99 vcc4-supply = <&vcc_sys>;
100 vcc6-supply = <&vcc_sys>;
101 vcc7-supply = <&vcc_sys>;
102 vcc8-supply = <&vcc_io>;
103 vcc9-supply = <&vcc_io>;
109 regulator-min-microvolt = <750000>;
110 regulator-max-microvolt = <1350000>;
111 regulator-name = "vdd_arm";
112 regulator-state-mem {
113 regulator-off-in-suspend;
120 regulator-min-microvolt = <850000>;
121 regulator-max-microvolt = <1250000>;
122 regulator-name = "vdd_gpu";
123 regulator-state-mem {
124 regulator-on-in-suspend;
125 regulator-suspend-microvolt = <1000000>;
132 regulator-name = "vcc_ddr";
133 regulator-state-mem {
134 regulator-on-in-suspend;
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
143 regulator-name = "vcc_io";
144 regulator-state-mem {
145 regulator-on-in-suspend;
146 regulator-suspend-microvolt = <3300000>;
151 regulator-min-microvolt = <3300000>;
152 regulator-max-microvolt = <3300000>;
153 regulator-name = "vcc_cif";
156 vcc_jetta33: LDO_REG2 {
159 regulator-min-microvolt = <3300000>;
160 regulator-max-microvolt = <3300000>;
161 regulator-name = "vcc_jetta33";
167 regulator-min-microvolt = <1000000>;
168 regulator-max-microvolt = <1000000>;
169 regulator-name = "vdd_10";
170 regulator-state-mem {
171 regulator-on-in-suspend;
172 regulator-suspend-microvolt = <1000000>;
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
179 regulator-name = "lvds_12";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <3300000>;
185 regulator-name = "lvds_25";
189 regulator-min-microvolt = <1000000>;
190 regulator-max-microvolt = <1000000>;
191 regulator-name = "cif_18";
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <3300000>;
197 regulator-name = "vcc_sd";
198 regulator-state-mem {
199 regulator-on-in-suspend;
200 regulator-suspend-microvolt = <3300000>;
205 regulator-min-microvolt = <1800000>;
206 regulator-max-microvolt = <3300000>;
207 regulator-name = "wl_18";
210 lcd_33: SWITCH_REG1 {
211 regulator-name = "lcd_33";
219 gsl1680: touchscreen@40 {
220 compatible = "silead,gsl1680";
222 interrupt-parent = <&gpio1>;
223 interrupts = <RK_PB7 IRQ_TYPE_EDGE_FALLING>;
224 power-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
225 touchscreen-size-x = <800>;
226 touchscreen-size-y = <1280>;
227 silead,max-fingers = <5>;
233 pinctrl-names = "default";
234 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
235 vmmc-supply = <&vcc_sd>;
244 pcfg_output_low: pcfg-output-low {
249 host_vbus_drv: host-vbus-drv {
250 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
252 otg_vbus_drv: otg-vbus-drv {
253 rockchip,pins = <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>;