1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/rockchip.h>
9 compatible = "radxa,cm3i", "rockchip,rk3568";
16 stdout-path = "serial2:115200n8";
20 compatible = "gpio-leds";
23 gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
24 function = LED_FUNCTION_HEARTBEAT;
25 color = <LED_COLOR_ID_GREEN>;
26 linux,default-trigger = "heartbeat";
27 pinctrl-names = "default";
28 pinctrl-0 = <&led_user_en>;
32 pcie30_avdd0v9: pcie30-avdd0v9-regulator {
33 compatible = "regulator-fixed";
34 regulator-name = "pcie30_avdd0v9";
37 regulator-min-microvolt = <900000>;
38 regulator-max-microvolt = <900000>;
39 vin-supply = <&vcc3v3_sys>;
42 pcie30_avdd1v8: pcie30-avdd1v8-regulator {
43 compatible = "regulator-fixed";
44 regulator-name = "pcie30_avdd1v8";
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
49 vin-supply = <&vcc3v3_sys>;
52 vcc3v3_sys: vcc3v3-sys-regulator {
53 compatible = "regulator-fixed";
54 regulator-name = "vcc3v3_sys";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
59 vin-supply = <&vcc5v_input>;
62 vcc5v0_sys: vcc5v0-sys-regulator {
63 compatible = "regulator-fixed";
64 regulator-name = "vcc5v0_sys";
67 regulator-min-microvolt = <5000000>;
68 regulator-max-microvolt = <5000000>;
69 vin-supply = <&vcc5v_input>;
72 /* labeled +5v_input in schematic */
73 vcc5v_input: vcc5v-input-regulator {
74 compatible = "regulator-fixed";
75 regulator-name = "vcc5v_input";
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
96 cpu-supply = <&vdd_cpu>;
100 cpu-supply = <&vdd_cpu>;
104 cpu-supply = <&vdd_cpu>;
108 cpu-supply = <&vdd_cpu>;
116 mali-supply = <&vdd_gpu>;
123 vdd_cpu: regulator@1c {
124 compatible = "tcs,tcs4525";
126 fcs,suspend-voltage-selector = <1>;
127 regulator-name = "vdd_cpu";
130 regulator-min-microvolt = <800000>;
131 regulator-max-microvolt = <1150000>;
132 regulator-ramp-delay = <2300>;
133 vin-supply = <&vcc5v_input>;
135 regulator-state-mem {
136 regulator-off-in-suspend;
141 compatible = "rockchip,rk809";
143 interrupt-parent = <&gpio0>;
144 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pmic_int>;
148 rockchip,system-power-controller;
151 vcc1-supply = <&vcc3v3_sys>;
152 vcc2-supply = <&vcc3v3_sys>;
153 vcc3-supply = <&vcc3v3_sys>;
154 vcc4-supply = <&vcc3v3_sys>;
155 vcc5-supply = <&vcc3v3_sys>;
156 vcc6-supply = <&vcc3v3_sys>;
157 vcc7-supply = <&vcc3v3_sys>;
158 vcc8-supply = <&vcc3v3_sys>;
159 vcc9-supply = <&vcc3v3_sys>;
162 vdd_logic: DCDC_REG1 {
163 regulator-name = "vdd_logic";
166 regulator-initial-mode = <0x2>;
167 regulator-min-microvolt = <500000>;
168 regulator-max-microvolt = <1350000>;
169 regulator-ramp-delay = <6001>;
171 regulator-state-mem {
172 regulator-off-in-suspend;
177 regulator-name = "vdd_gpu";
179 regulator-initial-mode = <0x2>;
180 regulator-min-microvolt = <500000>;
181 regulator-max-microvolt = <1350000>;
182 regulator-ramp-delay = <6001>;
184 regulator-state-mem {
185 regulator-off-in-suspend;
190 regulator-name = "vcc_ddr";
193 regulator-initial-mode = <0x2>;
195 regulator-state-mem {
196 regulator-on-in-suspend;
201 regulator-name = "vdd_npu";
202 regulator-initial-mode = <0x2>;
203 regulator-min-microvolt = <500000>;
204 regulator-max-microvolt = <1350000>;
205 regulator-ramp-delay = <6001>;
207 regulator-state-mem {
208 regulator-off-in-suspend;
213 regulator-name = "vcc_1v8";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
219 regulator-state-mem {
220 regulator-off-in-suspend;
224 vdda0v9_image: LDO_REG1 {
225 regulator-name = "vdda0v9_image";
226 regulator-min-microvolt = <900000>;
227 regulator-max-microvolt = <900000>;
229 regulator-state-mem {
230 regulator-off-in-suspend;
235 regulator-name = "vdda_0v9";
238 regulator-min-microvolt = <900000>;
239 regulator-max-microvolt = <900000>;
241 regulator-state-mem {
242 regulator-off-in-suspend;
246 vdda0v9_pmu: LDO_REG3 {
247 regulator-name = "vdda0v9_pmu";
250 regulator-min-microvolt = <900000>;
251 regulator-max-microvolt = <900000>;
253 regulator-state-mem {
254 regulator-on-in-suspend;
255 regulator-suspend-microvolt = <900000>;
259 vccio_acodec: LDO_REG4 {
260 regulator-name = "vccio_acodec";
262 regulator-min-microvolt = <3300000>;
263 regulator-max-microvolt = <3300000>;
265 regulator-state-mem {
266 regulator-off-in-suspend;
271 regulator-name = "vccio_sd";
272 regulator-min-microvolt = <1800000>;
273 regulator-max-microvolt = <3300000>;
275 regulator-state-mem {
276 regulator-off-in-suspend;
280 vcc3v3_pmu: LDO_REG6 {
281 regulator-name = "vcc3v3_pmu";
284 regulator-min-microvolt = <3300000>;
285 regulator-max-microvolt = <3300000>;
287 regulator-state-mem {
288 regulator-on-in-suspend;
289 regulator-suspend-microvolt = <3300000>;
294 regulator-name = "vcca_1v8";
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
300 regulator-state-mem {
301 regulator-off-in-suspend;
305 vcca1v8_pmu: LDO_REG8 {
306 regulator-name = "vcca1v8_pmu";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
312 regulator-state-mem {
313 regulator-on-in-suspend;
314 regulator-suspend-microvolt = <1800000>;
318 vcca1v8_image: LDO_REG9 {
319 regulator-name = "vcca1v8_image";
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <1800000>;
323 regulator-state-mem {
324 regulator-off-in-suspend;
328 vcc_3v3: SWITCH_REG1 {
329 regulator-name = "vcc_3v3";
333 regulator-state-mem {
334 regulator-off-in-suspend;
338 vcc3v3_sd: SWITCH_REG2 {
339 regulator-name = "vcc3v3_sd";
341 regulator-state-mem {
342 regulator-off-in-suspend;
351 led_user_en: led_user_en {
352 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
358 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
364 pmuio1-supply = <&vcc3v3_pmu>;
365 pmuio2-supply = <&vcc3v3_pmu>;
366 vccio1-supply = <&vccio_acodec>;
367 vccio2-supply = <&vcc_1v8>;
368 vccio3-supply = <&vccio_sd>;
369 vccio4-supply = <&vcc_1v8>;
370 vccio5-supply = <&vcc_3v3>;
371 vccio6-supply = <&vcc_1v8>;
372 vccio7-supply = <&vcc_3v3>;
377 vref-supply = <&vcca_1v8>;
383 max-frequency = <200000000>;
385 pinctrl-names = "default";
386 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
387 vmmc-supply = <&vcc_3v3>;
388 vqmmc-supply = <&vcc_1v8>;
393 rockchip,hw-tshut-mode = <1>;
394 rockchip,hw-tshut-polarity = <0>;
411 extcon = <&usb2phy0>;