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";
20 stdout-path = "serial4:115200n8";
24 reg = <0x0 0x0 0x0 0x40000000>;
25 device_type = "memory";
29 compatible = "gpio-keys";
30 pinctrl-names = "default";
31 pinctrl-0 = <&pwr_key>;
34 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_POWER>;
41 vcc_sys: vcc-sys-regulator {
42 compatible = "regulator-fixed";
43 regulator-name = "vcc_sys";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
55 clock-frequency = <150000000>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
62 vmmc-supply = <&vcc_io>;
63 vqmmc-supply = <&vcc18_flash>;
70 compatible = "rockchip,rk808";
72 interrupt-parent = <&gpio0>;
73 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&pmic_int>, <&pmic_sleep>;
76 rockchip,system-power-controller;
77 vcc1-supply = <&vcc_sys>;
78 vcc2-supply = <&vcc_sys>;
79 vcc3-supply = <&vcc_sys>;
80 vcc4-supply = <&vcc_sys>;
81 vcc6-supply = <&vcc_sys>;
82 vcc7-supply = <&vcc_sys>;
83 vcc8-supply = <&vcc_io>;
84 vcc9-supply = <&vcc_sys>;
85 vcc10-supply = <&vcc_sys>;
86 vcc11-supply = <&vcc_sys>;
87 vcc12-supply = <&vcc_io>;
88 clock-output-names = "xin32k", "rk808-clkout2";
95 regulator-min-microvolt = <700000>;
96 regulator-max-microvolt = <1500000>;
97 regulator-name = "vdd_cpu";
103 regulator-min-microvolt = <700000>;
104 regulator-max-microvolt = <1500000>;
105 regulator-name = "vdd_log";
111 regulator-name = "vcc_ddr";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
119 regulator-name = "vcc_io";
122 vcc18_flash: LDO_REG1 {
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
127 regulator-name = "vcc18_flash";
133 regulator-min-microvolt = <3300000>;
134 regulator-max-microvolt = <3300000>;
135 regulator-name = "vcca_33";
141 regulator-min-microvolt = <1000000>;
142 regulator-max-microvolt = <1000000>;
143 regulator-name = "vdd_10";
147 regulator-min-microvolt = <3300000>;
148 regulator-max-microvolt = <3300000>;
149 regulator-name = "avdd_33";
155 regulator-min-microvolt = <1800000>;
156 regulator-max-microvolt = <3300000>;
157 regulator-name = "vccio_sd";
160 vdd10_lcd: LDO_REG6 {
163 regulator-min-microvolt = <1000000>;
164 regulator-max-microvolt = <1000000>;
165 regulator-name = "vdd10_lcd";
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <1800000>;
173 regulator-name = "vcc_18";
176 vcc18_lcd: LDO_REG8 {
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <1800000>;
181 regulator-name = "vcc18_lcd";
184 vcc_sd: SWITCH_REG1 {
185 regulator-name = "vcc_sd";
188 vcc33_lcd: SWITCH_REG2 {
191 regulator-name = "vcc33_lcd";
201 compatible = "bosch,bma250";
203 interrupt-parent = <&gpio2>;
204 interrupts = <RK_PC1 IRQ_TYPE_LEVEL_LOW>;
211 gsl1680: touchscreen@40 {
212 compatible = "silead,gsl1680";
214 interrupt-parent = <&gpio3>;
215 interrupts = <RK_PD4 IRQ_TYPE_EDGE_FALLING>;
216 power-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
217 touchscreen-size-x = <800>;
218 touchscreen-size-y = <1280>;
219 silead,max-fingers = <5>;
226 rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
231 pmic_sleep: pmic-sleep {
232 rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
236 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
246 card-detect-delay = <200>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_bus4>, <&sdmmc_cd>;
252 rockchip,default-sample-phase = <90>;
253 vmmc-supply = <&vcc_sd>;
254 vqmmc-supply = <&vccio_sd>;
259 rockchip,hw-tshut-mode = <0>; /* CRU */
260 rockchip,hw-tshut-polarity = <1>; /* high */