1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd
10 model = "Firefly roc-rk3328-cc";
11 compatible = "firefly,roc-rk3328-cc", "rockchip,rk3328";
14 stdout-path = "serial2:1500000n8";
17 gmac_clkin: external-gmac-clock {
18 compatible = "fixed-clock";
19 clock-frequency = <125000000>;
20 clock-output-names = "gmac_clkin";
25 compatible = "regulator-fixed";
26 regulator-name = "dc_12v";
29 regulator-min-microvolt = <12000000>;
30 regulator-max-microvolt = <12000000>;
33 vcc_sd: sdmmc-regulator {
34 compatible = "regulator-fixed";
35 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&sdmmc0m1_gpio>;
38 regulator-name = "vcc_sd";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
41 vin-supply = <&vcc_io>;
44 vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator {
45 compatible = "regulator-fixed";
47 gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
48 pinctrl-names = "default";
49 pinctrl-0 = <&usb20_host_drv>;
50 regulator-name = "vcc_host1_5v";
52 vin-supply = <&vcc_sys>;
56 compatible = "regulator-fixed";
57 regulator-name = "vcc_sys";
60 regulator-min-microvolt = <5000000>;
61 regulator-max-microvolt = <5000000>;
62 vin-supply = <&dc_12v>;
65 vcc_phy: vcc-phy-regulator {
66 compatible = "regulator-fixed";
67 regulator-name = "vcc_phy";
74 cpu-supply = <&vdd_arm>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
87 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
88 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
89 clock_in_out = "input";
90 phy-supply = <&vcc_phy>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&rgmiim1_pins>;
94 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
95 snps,reset-active-low;
96 snps,reset-delays-us = <0 10000 50000>;
106 compatible = "rockchip,rk805";
108 interrupt-parent = <&gpio1>;
109 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
111 clock-output-names = "xin32k", "rk805-clkout2";
114 pinctrl-names = "default";
115 pinctrl-0 = <&pmic_int_l>;
116 rockchip,system-power-controller;
119 vcc1-supply = <&vcc_sys>;
120 vcc2-supply = <&vcc_sys>;
121 vcc3-supply = <&vcc_sys>;
122 vcc4-supply = <&vcc_sys>;
123 vcc5-supply = <&vcc_io>;
124 vcc6-supply = <&vcc_io>;
127 vdd_logic: DCDC_REG1 {
128 regulator-name = "vdd_logic";
129 regulator-min-microvolt = <712500>;
130 regulator-max-microvolt = <1450000>;
133 regulator-state-mem {
134 regulator-on-in-suspend;
135 regulator-suspend-microvolt = <1000000>;
140 regulator-name = "vdd_arm";
141 regulator-min-microvolt = <712500>;
142 regulator-max-microvolt = <1450000>;
145 regulator-state-mem {
146 regulator-on-in-suspend;
147 regulator-suspend-microvolt = <950000>;
152 regulator-name = "vcc_ddr";
155 regulator-state-mem {
156 regulator-on-in-suspend;
161 regulator-name = "vcc_io";
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
166 regulator-state-mem {
167 regulator-on-in-suspend;
168 regulator-suspend-microvolt = <3300000>;
173 regulator-name = "vcc_18";
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
178 regulator-state-mem {
179 regulator-on-in-suspend;
180 regulator-suspend-microvolt = <1800000>;
184 vcc18_emmc: LDO_REG2 {
185 regulator-name = "vcc18_emmc";
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <1800000>;
190 regulator-state-mem {
191 regulator-on-in-suspend;
192 regulator-suspend-microvolt = <1800000>;
197 regulator-name = "vdd_10";
198 regulator-min-microvolt = <1000000>;
199 regulator-max-microvolt = <1000000>;
202 regulator-state-mem {
203 regulator-on-in-suspend;
204 regulator-suspend-microvolt = <1000000>;
213 pmic_int_l: pmic-int-l {
214 rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
219 usb20_host_drv: usb20-host-drv {
220 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
230 max-frequency = <150000000>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
233 vmmc-supply = <&vcc_sd>;