1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * Copyright (c) 2016 Heiko Stuebner <heiko@sntech.de>
10 device_type = "memory";
14 ext_gmac: external-gmac-clock {
15 compatible = "fixed-clock";
17 clock-frequency = <125000000>;
18 clock-output-names = "ext_gmac";
21 io_domains: io-domains {
22 compatible = "rockchip,rk3288-io-voltage-domain";
23 rockchip,grf = <&grf>;
25 audio-supply = <&vcca_33>;
26 flash0-supply = <&vcc_flash>;
27 flash1-supply = <&vcc_lan>;
28 gpio30-supply = <&vcc_io>;
29 gpio1830-supply = <&vcc_io>;
30 lcdc-supply = <&vcc_io>;
31 sdcard-supply = <&vccio_sd>;
32 wifi-supply = <&vcc_18>;
38 compatible = "gpio-leds";
42 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
43 label = "miqi:green:user";
44 linux,default-trigger = "default-on";
45 pinctrl-names = "default";
46 pinctrl-0 = <&led_ctl>;
50 vcc_flash: flash-regulator {
51 compatible = "regulator-fixed";
52 regulator-name = "vcc_flash";
53 regulator-min-microvolt = <1800000>;
54 regulator-max-microvolt = <1800000>;
55 vin-supply = <&vcc_io>;
58 vcc_host: usb-host-regulator {
59 compatible = "regulator-fixed";
61 gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
62 pinctrl-names = "default";
63 pinctrl-0 = <&host_vbus_drv>;
64 regulator-name = "vcc_host";
65 regulator-min-microvolt = <5000000>;
66 regulator-max-microvolt = <5000000>;
68 vin-supply = <&vcc_sys>;
71 vcc_sd: sdmmc-regulator {
72 compatible = "regulator-fixed";
73 gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&sdmmc_pwr>;
76 regulator-name = "vcc_sd";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
79 startup-delay-us = <100000>;
80 vin-supply = <&vcc_io>;
83 vcc_sys: vsys-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "vcc_sys";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
94 cpu0-supply = <&vdd_cpu>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>;
105 vmmc-supply = <&vcc_io>;
106 vqmmc-supply = <&vcc_flash>;
111 assigned-clocks = <&cru SCLK_MAC>;
112 assigned-clock-parents = <&ext_gmac>;
113 clock_in_out = "input";
114 pinctrl-names = "default";
115 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
116 phy-supply = <&vcc_lan>;
118 snps,reset-active-low;
119 snps,reset-delays-us = <0 10000 1000000>;
120 snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
127 ddc-i2c-bus = <&i2c5>;
132 clock-frequency = <400000>;
136 compatible = "silergy,syr827";
137 fcs,suspend-voltage-selector = <1>;
139 regulator-name = "vdd_cpu";
140 regulator-min-microvolt = <850000>;
141 regulator-max-microvolt = <1350000>;
144 regulator-enable-ramp-delay = <300>;
145 regulator-ramp-delay = <8000>;
146 vin-supply = <&vcc_sys>;
150 compatible = "silergy,syr828";
151 fcs,suspend-voltage-selector = <1>;
153 regulator-name = "vdd_gpu";
154 regulator-min-microvolt = <850000>;
155 regulator-max-microvolt = <1350000>;
157 vin-supply = <&vcc_sys>;
160 hym8563: hym8563@51 {
161 compatible = "haoyu,hym8563";
164 clock-frequency = <32768>;
165 clock-output-names = "xin32k";
168 act8846: act8846@5a {
169 compatible = "active-semi,act8846";
171 pinctrl-names = "default";
172 pinctrl-0 = <&pmic_vsel>;
173 system-power-controller;
175 vp1-supply = <&vcc_sys>;
176 vp2-supply = <&vcc_sys>;
177 vp3-supply = <&vcc_sys>;
178 vp4-supply = <&vcc_sys>;
179 inl1-supply = <&vcc_sys>;
180 inl2-supply = <&vcc_sys>;
181 inl3-supply = <&vcc_20>;
185 regulator-name = "vcc_ddr";
190 regulator-name = "vcc_io";
191 regulator-min-microvolt = <3300000>;
192 regulator-max-microvolt = <3300000>;
197 regulator-name = "vdd_log";
198 regulator-min-microvolt = <1100000>;
199 regulator-max-microvolt = <1100000>;
204 regulator-name = "vcc_20";
205 regulator-min-microvolt = <2000000>;
206 regulator-max-microvolt = <2000000>;
211 regulator-name = "vccio_sd";
212 regulator-min-microvolt = <3300000>;
213 regulator-max-microvolt = <3300000>;
218 regulator-name = "vdd10_lcd";
219 regulator-min-microvolt = <1000000>;
220 regulator-max-microvolt = <1000000>;
225 regulator-name = "vcca_18";
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
231 regulator-name = "vcca_33";
232 regulator-min-microvolt = <3300000>;
233 regulator-max-microvolt = <3300000>;
237 regulator-name = "vcc_lan";
238 regulator-min-microvolt = <3300000>;
239 regulator-max-microvolt = <3300000>;
243 regulator-name = "vdd_10";
244 regulator-min-microvolt = <1000000>;
245 regulator-max-microvolt = <1000000>;
250 regulator-name = "vcc_18";
251 regulator-min-microvolt = <1800000>;
252 regulator-max-microvolt = <1800000>;
257 regulator-name = "vcc18_lcd";
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <1800000>;
283 pcfg_output_high: pcfg-output-high {
287 pcfg_output_low: pcfg-output-low {
291 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
293 drive-strength = <12>;
298 rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_up>;
301 pmic_sleep: pmic-sleep {
302 rockchip,pins = <0 0 RK_FUNC_GPIO &pcfg_output_low>;
305 pmic_vsel: pmic-vsel {
306 rockchip,pins = <7 1 RK_FUNC_GPIO &pcfg_output_low>;
312 rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
316 rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
320 rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
326 rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>;
332 * Default drive strength isn't enough to achieve even
333 * high-speed mode on firefly board so bump up to 12ma.
335 sdmmc_bus4: sdmmc-bus4 {
336 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_12ma>,
337 <6 17 RK_FUNC_1 &pcfg_pull_up_drv_12ma>,
338 <6 18 RK_FUNC_1 &pcfg_pull_up_drv_12ma>,
339 <6 19 RK_FUNC_1 &pcfg_pull_up_drv_12ma>;
342 sdmmc_clk: sdmmc-clk {
343 rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_12ma>;
346 sdmmc_cmd: sdmmc-cmd {
347 rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_12ma>;
350 sdmmc_pwr: sdmmc-pwr {
351 rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
356 host_vbus_drv: host-vbus-drv {
357 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
363 vref-supply = <&vcc_18>;
371 card-detect-delay = <200>;
374 pinctrl-names = "default";
375 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
376 vmmc-supply = <&vcc_sd>;
377 vqmmc-supply = <&vccio_sd>;
382 rockchip,hw-tshut-mode = <0>;
383 rockchip,hw-tshut-polarity = <0>;
400 vbus-supply = <&vcc_host>;