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_sdio: sdmmcio-regulator {
45 compatible = "regulator-gpio";
46 gpios = <&grf_gpio 0 GPIO_ACTIVE_HIGH>;
49 regulator-name = "vcc_sdio";
50 regulator-type = "voltage";
51 regulator-min-microvolt = <1800000>;
52 regulator-max-microvolt = <3300000>;
54 vin-supply = <&vcc_sys>;
57 vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator {
58 compatible = "regulator-fixed";
60 gpio = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&usb20_host_drv>;
63 regulator-name = "vcc_host1_5v";
65 vin-supply = <&vcc_sys>;
69 compatible = "regulator-fixed";
70 regulator-name = "vcc_sys";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
75 vin-supply = <&dc_12v>;
78 vcc_phy: vcc-phy-regulator {
79 compatible = "regulator-fixed";
80 regulator-name = "vcc_phy";
87 cpu-supply = <&vdd_arm>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
100 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
101 assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
102 clock_in_out = "input";
103 phy-supply = <&vcc_phy>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&rgmiim1_pins>;
107 snps,force_thresh_dma_mode;
108 snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
109 snps,reset-active-low;
110 snps,reset-delays-us = <0 10000 50000>;
120 compatible = "rockchip,rk805";
122 interrupt-parent = <&gpio1>;
123 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
125 clock-output-names = "xin32k", "rk805-clkout2";
128 pinctrl-names = "default";
129 pinctrl-0 = <&pmic_int_l>;
130 rockchip,system-power-controller;
133 vcc1-supply = <&vcc_sys>;
134 vcc2-supply = <&vcc_sys>;
135 vcc3-supply = <&vcc_sys>;
136 vcc4-supply = <&vcc_sys>;
137 vcc5-supply = <&vcc_io>;
138 vcc6-supply = <&vcc_io>;
141 vdd_logic: DCDC_REG1 {
142 regulator-name = "vdd_logic";
143 regulator-min-microvolt = <712500>;
144 regulator-max-microvolt = <1450000>;
147 regulator-state-mem {
148 regulator-on-in-suspend;
149 regulator-suspend-microvolt = <1000000>;
154 regulator-name = "vdd_arm";
155 regulator-min-microvolt = <712500>;
156 regulator-max-microvolt = <1450000>;
159 regulator-state-mem {
160 regulator-on-in-suspend;
161 regulator-suspend-microvolt = <950000>;
166 regulator-name = "vcc_ddr";
169 regulator-state-mem {
170 regulator-on-in-suspend;
175 regulator-name = "vcc_io";
176 regulator-min-microvolt = <3300000>;
177 regulator-max-microvolt = <3300000>;
180 regulator-state-mem {
181 regulator-on-in-suspend;
182 regulator-suspend-microvolt = <3300000>;
187 regulator-name = "vcc_18";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
192 regulator-state-mem {
193 regulator-on-in-suspend;
194 regulator-suspend-microvolt = <1800000>;
198 vcc18_emmc: LDO_REG2 {
199 regulator-name = "vcc18_emmc";
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <1800000>;
204 regulator-state-mem {
205 regulator-on-in-suspend;
206 regulator-suspend-microvolt = <1800000>;
211 regulator-name = "vdd_10";
212 regulator-min-microvolt = <1000000>;
213 regulator-max-microvolt = <1000000>;
216 regulator-state-mem {
217 regulator-on-in-suspend;
218 regulator-suspend-microvolt = <1000000>;
228 vccio1-supply = <&vcc_io>;
229 vccio2-supply = <&vcc18_emmc>;
230 vccio3-supply = <&vcc_sdio>;
231 vccio4-supply = <&vcc_18>;
232 vccio5-supply = <&vcc_io>;
233 vccio6-supply = <&vcc_io>;
234 pmuio-supply = <&vcc_io>;
239 pmic_int_l: pmic-int-l {
240 rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
245 usb20_host_drv: usb20-host-drv {
246 rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
256 max-frequency = <150000000>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
263 vmmc-supply = <&vcc_sd>;
264 vqmmc-supply = <&vcc_sdio>;