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";
20 stdout-path = "serial2:115200n8";
24 reg = <0x60000000 0x80000000>;
25 device_type = "memory";
29 compatible = "gpio-keys";
33 gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_POWER>;
35 label = "GPIO Key Power";
36 linux,input-type = <1>;
38 debounce-interval = <100>;
42 vcc_sys: vsys-regulator {
43 compatible = "regulator-fixed";
44 regulator-name = "vsys";
45 regulator-min-microvolt = <5000000>;
46 regulator-max-microvolt = <5000000>;
52 cpu-supply = <&vdd_cpu>;
56 cpu-supply = <&vdd_cpu>;
60 cpu-supply = <&vdd_cpu>;
64 cpu-supply = <&vdd_cpu>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_rst>;
80 compatible = "bosch,bma250";
82 interrupt-parent = <&gpio0>;
83 interrupts = <RK_PB7 IRQ_TYPE_LEVEL_LOW>;
89 clock-frequency = <400000>;
92 compatible = "rockchip,rk818";
94 interrupt-parent = <&gpio0>;
95 interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
96 rockchip,system-power-controller;
99 clock-output-names = "xin32k", "rk808-clkout2";
101 vcc1-supply = <&vcc_sys>;
102 vcc2-supply = <&vcc_sys>;
103 vcc3-supply = <&vcc_sys>;
104 vcc4-supply = <&vcc_sys>;
105 vcc6-supply = <&vcc_sys>;
106 vcc7-supply = <&vcc_sys>;
107 vcc8-supply = <&vcc_io>;
108 vcc9-supply = <&vcc_io>;
114 regulator-min-microvolt = <750000>;
115 regulator-max-microvolt = <1350000>;
116 regulator-name = "vdd_arm";
117 regulator-state-mem {
118 regulator-off-in-suspend;
125 regulator-min-microvolt = <850000>;
126 regulator-max-microvolt = <1250000>;
127 regulator-name = "vdd_gpu";
128 regulator-state-mem {
129 regulator-on-in-suspend;
130 regulator-suspend-microvolt = <1000000>;
137 regulator-name = "vcc_ddr";
138 regulator-state-mem {
139 regulator-on-in-suspend;
146 regulator-min-microvolt = <3300000>;
147 regulator-max-microvolt = <3300000>;
148 regulator-name = "vcc_io";
149 regulator-state-mem {
150 regulator-on-in-suspend;
151 regulator-suspend-microvolt = <3300000>;
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
158 regulator-name = "vcc_cif";
161 vcc_jetta33: LDO_REG2 {
164 regulator-min-microvolt = <3300000>;
165 regulator-max-microvolt = <3300000>;
166 regulator-name = "vcc_jetta33";
172 regulator-min-microvolt = <1000000>;
173 regulator-max-microvolt = <1000000>;
174 regulator-name = "vdd_10";
175 regulator-state-mem {
176 regulator-on-in-suspend;
177 regulator-suspend-microvolt = <1000000>;
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184 regulator-name = "lvds_12";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <3300000>;
190 regulator-name = "lvds_25";
194 regulator-min-microvolt = <1000000>;
195 regulator-max-microvolt = <1000000>;
196 regulator-name = "cif_18";
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <3300000>;
202 regulator-name = "vcc_sd";
203 regulator-state-mem {
204 regulator-on-in-suspend;
205 regulator-suspend-microvolt = <3300000>;
210 regulator-min-microvolt = <1800000>;
211 regulator-max-microvolt = <3300000>;
212 regulator-name = "wl_18";
216 regulator-name = "lcd_33";
224 gsl1680: touchscreen@40 {
225 compatible = "silead,gsl1680";
227 interrupt-parent = <&gpio1>;
228 interrupts = <RK_PB7 IRQ_TYPE_EDGE_FALLING>;
229 power-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
230 touchscreen-size-x = <800>;
231 touchscreen-size-y = <1280>;
232 silead,max-fingers = <5>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
240 vmmc-supply = <&vcc_sd>;
249 pcfg_output_low: pcfg-output-low {
254 host_vbus_drv: host-vbus-drv {
255 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
257 otg_vbus_drv: otg-vbus-drv {
258 rockchip,pins = <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>;