1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device tree file for Firefly Rockchip RK3288 Core board
4 * Copyright (c) 2016 Randy Li <ayaka@soulik.info>
7 #include <dt-bindings/input/input.h>
12 device_type = "memory";
13 reg = <0x0 0x0 0x0 0x80000000>;
16 ext_gmac: external-gmac-clock {
17 compatible = "fixed-clock";
19 clock-frequency = <125000000>;
20 clock-output-names = "ext_gmac";
24 vcc_flash: flash-regulator {
25 compatible = "regulator-fixed";
26 regulator-name = "vcc_flash";
27 regulator-min-microvolt = <1800000>;
28 regulator-max-microvolt = <1800000>;
29 vin-supply = <&vcc_io>;
34 cpu0-supply = <&vdd_cpu>;
44 pinctrl-names = "default";
45 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>;
46 vmmc-supply = <&vcc_io>;
47 vqmmc-supply = <&vcc_flash>;
52 assigned-clocks = <&cru SCLK_MAC>;
53 assigned-clock-parents = <&ext_gmac>;
54 clock_in_out = "input";
55 pinctrl-names = "default";
56 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
57 phy-supply = <&vcc_lan>;
59 snps,reset-active-low;
60 snps,reset-delays-us = <0 10000 1000000>;
61 snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
68 clock-frequency = <400000>;
72 compatible = "silergy,syr827";
73 fcs,suspend-voltage-selector = <1>;
75 regulator-name = "vdd_cpu";
76 regulator-min-microvolt = <850000>;
77 regulator-max-microvolt = <1350000>;
80 regulator-enable-ramp-delay = <300>;
81 regulator-ramp-delay = <8000>;
82 vin-supply = <&vcc_sys>;
86 compatible = "silergy,syr828";
87 fcs,suspend-voltage-selector = <1>;
89 regulator-name = "vdd_gpu";
90 regulator-min-microvolt = <850000>;
91 regulator-max-microvolt = <1350000>;
93 vin-supply = <&vcc_sys>;
97 compatible = "active-semi,act8846";
99 pinctrl-names = "default";
100 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
101 system-power-controller;
103 vp1-supply = <&vcc_sys>;
104 vp2-supply = <&vcc_sys>;
105 vp3-supply = <&vcc_sys>;
106 vp4-supply = <&vcc_sys>;
107 inl1-supply = <&vcc_sys>;
108 inl2-supply = <&vcc_sys>;
109 inl3-supply = <&vcc_20>;
113 regulator-name = "vcc_ddr";
114 regulator-min-microvolt = <1200000>;
115 regulator-max-microvolt = <1200000>;
120 regulator-name = "vcc_io";
121 regulator-min-microvolt = <3300000>;
122 regulator-max-microvolt = <3300000>;
127 regulator-name = "vdd_log";
128 regulator-min-microvolt = <1100000>;
129 regulator-max-microvolt = <1100000>;
134 regulator-name = "vcc_20";
135 regulator-min-microvolt = <2000000>;
136 regulator-max-microvolt = <2000000>;
141 regulator-name = "vccio_sd";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
147 regulator-name = "vdd10_lcd";
148 regulator-min-microvolt = <1000000>;
149 regulator-max-microvolt = <1000000>;
154 regulator-name = "vcca_18";
155 regulator-min-microvolt = <1800000>;
156 regulator-max-microvolt = <1800000>;
161 regulator-name = "vcca_33";
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
168 regulator-name = "vcca_lan";
169 regulator-min-microvolt = <3300000>;
170 regulator-max-microvolt = <3300000>;
174 regulator-name = "vdd_10";
175 regulator-min-microvolt = <1000000>;
176 regulator-max-microvolt = <1000000>;
180 vccio_wl: vcc_18: REG11 {
181 regulator-name = "vcc_18";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
187 regulator-name = "vcc18_lcd";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
199 audio-supply = <&vccio_wl>;
200 bb-supply = <&vcc_io>;
201 dvp-supply = <&dovdd_1v8>;
202 flash0-supply = <&vcc_flash>;
203 flash1-supply = <&vcc_lan>;
204 gpio30-supply = <&vcc_io>;
205 gpio1830-supply = <&vcc_io>;
206 lcdc-supply = <&vcc_io>;
207 sdcard-supply = <&vccio_sd>;
208 wifi-supply = <&vccio_wl>;
212 pcfg_output_high: pcfg-output-high {
216 pcfg_output_low: pcfg-output-low {
220 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
222 drive-strength = <12>;
227 rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_output_high>;
230 pmic_vsel: pmic-vsel {
231 rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_output_low>;
237 rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
241 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
245 rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>;
251 rockchip,hw-tshut-mode = <0>;
252 rockchip,hw-tshut-polarity = <0>;