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>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
58 vmmc-supply = <&vcc_io>;
59 vqmmc-supply = <&vcc18_flash>;
66 compatible = "rockchip,rk808";
68 interrupt-parent = <&gpio0>;
69 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&pmic_int>, <&pmic_sleep>;
72 rockchip,system-power-controller;
73 vcc1-supply = <&vcc_sys>;
74 vcc2-supply = <&vcc_sys>;
75 vcc3-supply = <&vcc_sys>;
76 vcc4-supply = <&vcc_sys>;
77 vcc6-supply = <&vcc_sys>;
78 vcc7-supply = <&vcc_sys>;
79 vcc8-supply = <&vcc_io>;
80 vcc9-supply = <&vcc_sys>;
81 vcc10-supply = <&vcc_sys>;
82 vcc11-supply = <&vcc_sys>;
83 vcc12-supply = <&vcc_io>;
84 clock-output-names = "xin32k", "rk808-clkout2";
91 regulator-min-microvolt = <700000>;
92 regulator-max-microvolt = <1500000>;
93 regulator-name = "vdd_cpu";
99 regulator-min-microvolt = <700000>;
100 regulator-max-microvolt = <1500000>;
101 regulator-name = "vdd_log";
107 regulator-name = "vcc_ddr";
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
115 regulator-name = "vcc_io";
118 vcc18_flash: LDO_REG1 {
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
123 regulator-name = "vcc18_flash";
129 regulator-min-microvolt = <3300000>;
130 regulator-max-microvolt = <3300000>;
131 regulator-name = "vcca_33";
137 regulator-min-microvolt = <1000000>;
138 regulator-max-microvolt = <1000000>;
139 regulator-name = "vdd_10";
143 regulator-min-microvolt = <3300000>;
144 regulator-max-microvolt = <3300000>;
145 regulator-name = "avdd_33";
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <3300000>;
153 regulator-name = "vccio_sd";
156 vdd10_lcd: LDO_REG6 {
159 regulator-min-microvolt = <1000000>;
160 regulator-max-microvolt = <1000000>;
161 regulator-name = "vdd10_lcd";
167 regulator-min-microvolt = <1800000>;
168 regulator-max-microvolt = <1800000>;
169 regulator-name = "vcc_18";
172 vcc18_lcd: LDO_REG8 {
175 regulator-min-microvolt = <1800000>;
176 regulator-max-microvolt = <1800000>;
177 regulator-name = "vcc18_lcd";
180 vcc_sd: SWITCH_REG1 {
181 regulator-name = "vcc_sd";
184 vcc33_lcd: SWITCH_REG2 {
187 regulator-name = "vcc33_lcd";
197 compatible = "bosch,bma250";
199 interrupt-parent = <&gpio2>;
200 interrupts = <RK_PC1 IRQ_TYPE_LEVEL_LOW>;
207 gsl1680: touchscreen@40 {
208 compatible = "silead,gsl1680";
210 interrupt-parent = <&gpio3>;
211 interrupts = <RK_PD4 IRQ_TYPE_EDGE_FALLING>;
212 power-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
213 touchscreen-size-x = <800>;
214 touchscreen-size-y = <1280>;
215 silead,max-fingers = <5>;
222 rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_none>;
227 pmic_sleep: pmic-sleep {
228 rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
232 rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
242 card-detect-delay = <200>;
247 pinctrl-names = "default";
248 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_bus4>, <&sdmmc_cd>;
249 rockchip,default-sample-phase = <90>;
250 vmmc-supply = <&vcc_sd>;
251 vqmmc-supply = <&vccio_sd>;
256 rockchip,hw-tshut-mode = <0>; /* CRU */
257 rockchip,hw-tshut-polarity = <1>; /* high */