1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
8 #include <dt-bindings/input/input.h>
11 model = "Rockchip PX5 EVB";
12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
15 stdout-path = "serial4:115200n8";
19 reg = <0x0 0x0 0x0 0x40000000>;
20 device_type = "memory";
24 compatible = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pwr_key>;
29 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_POWER>;
36 vcc_sys: vcc-sys-regulator {
37 compatible = "regulator-fixed";
38 regulator-name = "vcc_sys";
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
50 clock-frequency = <150000000>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
57 vmmc-supply = <&vcc_io>;
58 vqmmc-supply = <&vcc18_flash>;
65 compatible = "rockchip,rk808";
67 interrupt-parent = <&gpio0>;
68 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&pmic_int>, <&pmic_sleep>;
71 rockchip,system-power-controller;
72 vcc1-supply = <&vcc_sys>;
73 vcc2-supply = <&vcc_sys>;
74 vcc3-supply = <&vcc_sys>;
75 vcc4-supply = <&vcc_sys>;
76 vcc6-supply = <&vcc_sys>;
77 vcc7-supply = <&vcc_sys>;
78 vcc8-supply = <&vcc_io>;
79 vcc9-supply = <&vcc_sys>;
80 vcc10-supply = <&vcc_sys>;
81 vcc11-supply = <&vcc_sys>;
82 vcc12-supply = <&vcc_io>;
83 clock-output-names = "xin32k", "rk808-clkout2";
90 regulator-min-microvolt = <700000>;
91 regulator-max-microvolt = <1500000>;
92 regulator-name = "vdd_cpu";
98 regulator-min-microvolt = <700000>;
99 regulator-max-microvolt = <1500000>;
100 regulator-name = "vdd_log";
106 regulator-name = "vcc_ddr";
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
114 regulator-name = "vcc_io";
117 vcc18_flash: LDO_REG1 {
120 regulator-min-microvolt = <1800000>;
121 regulator-max-microvolt = <1800000>;
122 regulator-name = "vcc18_flash";
128 regulator-min-microvolt = <3300000>;
129 regulator-max-microvolt = <3300000>;
130 regulator-name = "vcca_33";
136 regulator-min-microvolt = <1000000>;
137 regulator-max-microvolt = <1000000>;
138 regulator-name = "vdd_10";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
144 regulator-name = "avdd_33";
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <3300000>;
152 regulator-name = "vccio_sd";
155 vdd10_lcd: LDO_REG6 {
158 regulator-min-microvolt = <1000000>;
159 regulator-max-microvolt = <1000000>;
160 regulator-name = "vdd10_lcd";
166 regulator-min-microvolt = <1800000>;
167 regulator-max-microvolt = <1800000>;
168 regulator-name = "vcc_18";
171 vcc18_lcd: LDO_REG8 {
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
176 regulator-name = "vcc18_lcd";
179 vcc_sd: SWITCH_REG1 {
180 regulator-name = "vcc_sd";
183 vcc33_lcd: SWITCH_REG2 {
186 regulator-name = "vcc33_lcd";
196 compatible = "bosch,bma250";
198 interrupt-parent = <&gpio2>;
199 interrupts = <RK_PC1 IRQ_TYPE_LEVEL_LOW>;
206 gsl1680: touchscreen@40 {
207 compatible = "silead,gsl1680";
209 interrupt-parent = <&gpio3>;
210 interrupts = <RK_PD4 IRQ_TYPE_EDGE_FALLING>;
211 power-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
212 touchscreen-size-x = <800>;
213 touchscreen-size-y = <1280>;
214 silead,max-fingers = <5>;
221 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
226 pmic_sleep: pmic-sleep {
227 rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
231 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
241 card-detect-delay = <200>;
245 pinctrl-names = "default";
246 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_bus4>, <&sdmmc_cd>;
247 rockchip,default-sample-phase = <90>;
248 vmmc-supply = <&vcc_sd>;
249 vqmmc-supply = <&vccio_sd>;
254 rockchip,hw-tshut-mode = <0>; /* CRU */
255 rockchip,hw-tshut-polarity = <1>; /* high */