1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd
4 * Copyright (c) 2020 Engicam srl
5 * Copyright (c) 2020 Amarula Solutons
6 * Copyright (c) 2020 Amarula Solutons(India)
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
13 compatible = "engicam,px30-core", "rockchip,px30";
17 cpu-supply = <&vdd_arm>;
21 cpu-supply = <&vdd_arm>;
25 cpu-supply = <&vdd_arm>;
29 cpu-supply = <&vdd_arm>;
43 compatible = "rockchip,rk809";
45 interrupt-parent = <&gpio0>;
46 interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
47 pinctrl-names = "default";
48 pinctrl-0 = <&pmic_int>;
49 rockchip,system-power-controller;
52 clock-output-names = "rk808-clkout1", "rk808-clkout2";
54 vcc1-supply = <&vcc5v0_sys>;
55 vcc2-supply = <&vcc5v0_sys>;
56 vcc3-supply = <&vcc5v0_sys>;
57 vcc4-supply = <&vcc5v0_sys>;
58 vcc5-supply = <&vcc3v3_sys>;
59 vcc6-supply = <&vcc3v3_sys>;
60 vcc7-supply = <&vcc3v3_sys>;
61 vcc8-supply = <&vcc3v3_sys>;
62 vcc9-supply = <&vcc5v0_sys>;
66 regulator-name = "vdd_log";
69 regulator-min-microvolt = <950000>;
70 regulator-max-microvolt = <1350000>;
71 regulator-ramp-delay = <6001>;
74 regulator-on-in-suspend;
75 regulator-suspend-microvolt = <950000>;
80 regulator-name = "vdd_arm";
83 regulator-min-microvolt = <950000>;
84 regulator-max-microvolt = <1350000>;
85 regulator-ramp-delay = <6001>;
88 regulator-off-in-suspend;
89 regulator-suspend-microvolt = <950000>;
94 regulator-name = "vcc_ddr";
99 regulator-on-in-suspend;
104 regulator-name = "vcc_3v3";
107 regulator-min-microvolt = <3300000>;
108 regulator-max-microvolt = <3300000>;
110 regulator-state-mem {
111 regulator-on-in-suspend;
112 regulator-suspend-microvolt = <3300000>;
116 vcc3v3_sys: DCDC_REG5 {
117 regulator-name = "vcc3v3_sys";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
123 regulator-state-mem {
124 regulator-on-in-suspend;
125 regulator-suspend-microvolt = <3300000>;
130 regulator-name = "vcc_1v0";
133 regulator-min-microvolt = <1000000>;
134 regulator-max-microvolt = <1000000>;
136 regulator-state-mem {
137 regulator-on-in-suspend;
138 regulator-suspend-microvolt = <1000000>;
143 regulator-name = "vcc_1v8";
146 regulator-min-microvolt = <1800000>;
147 regulator-max-microvolt = <1800000>;
149 regulator-state-mem {
150 regulator-on-in-suspend;
151 regulator-suspend-microvolt = <1800000>;
156 regulator-name = "vdd_1v0";
159 regulator-min-microvolt = <1000000>;
160 regulator-max-microvolt = <1000000>;
162 regulator-state-mem {
163 regulator-on-in-suspend;
164 regulator-suspend-microvolt = <1000000>;
168 vcc3v0_pmu: LDO_REG4 {
169 regulator-name = "vcc3v0_pmu";
172 regulator-min-microvolt = <3300000>;
173 regulator-max-microvolt = <3300000>;
175 regulator-state-mem {
176 regulator-on-in-suspend;
177 regulator-suspend-microvolt = <3300000>;
183 regulator-name = "vccio_sd";
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <3300000>;
189 regulator-state-mem {
190 regulator-on-in-suspend;
191 regulator-suspend-microvolt = <3300000>;
195 vcc3v3_lcd: SWITCH_REG1 {
197 regulator-name = "vcc3v3_lcd";
200 vcc5v0_host: SWITCH_REG2 {
201 regulator-name = "vcc5v0_host";
210 vccio1-supply = <&vcc_3v3>;
211 vccio2-supply = <&vcc_3v3>;
212 vccio3-supply = <&vcc_3v3>;
213 vccio4-supply = <&vcc_3v3>;
214 vccio5-supply = <&vcc_3v3>;
215 vccio6-supply = <&vcc_1v8>;
222 rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
228 pmuio1-supply = <&vcc_3v3>;
229 pmuio2-supply = <&vcc_3v3>;
234 rockchip,hw-tshut-mode = <1>;
235 rockchip,hw-tshut-polarity = <1>;