2 * Copyright (c) 2016 Heiko Stuebner <heiko@sntech.de>
4 * SPDX-License-Identifier: GPL-2.0+ X11
11 device_type = "memory";
15 ext_gmac: external-gmac-clock {
16 compatible = "fixed-clock";
18 clock-frequency = <125000000>;
19 clock-output-names = "ext_gmac";
22 io_domains: io-domains {
23 compatible = "rockchip,rk3288-io-voltage-domain";
24 rockchip,grf = <&grf>;
26 audio-supply = <&vcca_33>;
27 flash0-supply = <&vcc_flash>;
28 flash1-supply = <&vcc_lan>;
29 gpio30-supply = <&vcc_io>;
30 gpio1830-supply = <&vcc_io>;
31 lcdc-supply = <&vcc_io>;
32 sdcard-supply = <&vccio_sd>;
33 wifi-supply = <&vcc_18>;
39 compatible = "gpio-leds";
43 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
44 label = "miqi:green:user";
45 linux,default-trigger = "default-on";
46 pinctrl-names = "default";
47 pinctrl-0 = <&led_ctl>;
51 vcc_flash: flash-regulator {
52 compatible = "regulator-fixed";
53 regulator-name = "vcc_flash";
54 regulator-min-microvolt = <1800000>;
55 regulator-max-microvolt = <1800000>;
56 vin-supply = <&vcc_io>;
59 vcc_host: usb-host-regulator {
60 compatible = "regulator-fixed";
62 gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&host_vbus_drv>;
65 regulator-name = "vcc_host";
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5000000>;
69 vin-supply = <&vcc_sys>;
72 vcc_sd: sdmmc-regulator {
73 compatible = "regulator-fixed";
74 gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&sdmmc_pwr>;
77 regulator-name = "vcc_sd";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
80 startup-delay-us = <100000>;
81 vin-supply = <&vcc_io>;
84 vcc_sys: vsys-regulator {
85 compatible = "regulator-fixed";
86 regulator-name = "vcc_sys";
87 regulator-min-microvolt = <5000000>;
88 regulator-max-microvolt = <5000000>;
95 cpu0-supply = <&vdd_cpu>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>;
106 vmmc-supply = <&vcc_io>;
107 vqmmc-supply = <&vcc_flash>;
112 assigned-clocks = <&cru SCLK_MAC>;
113 assigned-clock-parents = <&ext_gmac>;
114 clock_in_out = "input";
115 pinctrl-names = "default";
116 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
117 phy-supply = <&vcc_lan>;
119 snps,reset-active-low;
120 snps,reset-delays-us = <0 10000 1000000>;
121 snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
128 ddc-i2c-bus = <&i2c5>;
133 clock-frequency = <400000>;
137 compatible = "silergy,syr827";
138 fcs,suspend-voltage-selector = <1>;
140 regulator-name = "vdd_cpu";
141 regulator-min-microvolt = <850000>;
142 regulator-max-microvolt = <1350000>;
145 regulator-enable-ramp-delay = <300>;
146 regulator-ramp-delay = <8000>;
147 vin-supply = <&vcc_sys>;
151 compatible = "silergy,syr828";
152 fcs,suspend-voltage-selector = <1>;
154 regulator-name = "vdd_gpu";
155 regulator-min-microvolt = <850000>;
156 regulator-max-microvolt = <1350000>;
158 vin-supply = <&vcc_sys>;
161 hym8563: hym8563@51 {
162 compatible = "haoyu,hym8563";
165 clock-frequency = <32768>;
166 clock-output-names = "xin32k";
169 act8846: act8846@5a {
170 compatible = "active-semi,act8846";
172 pinctrl-names = "default";
173 pinctrl-0 = <&pmic_vsel>;
174 system-power-controller;
176 vp1-supply = <&vcc_sys>;
177 vp2-supply = <&vcc_sys>;
178 vp3-supply = <&vcc_sys>;
179 vp4-supply = <&vcc_sys>;
180 inl1-supply = <&vcc_sys>;
181 inl2-supply = <&vcc_sys>;
182 inl3-supply = <&vcc_20>;
186 regulator-name = "vcc_ddr";
191 regulator-name = "vcc_io";
192 regulator-min-microvolt = <3300000>;
193 regulator-max-microvolt = <3300000>;
198 regulator-name = "vdd_log";
199 regulator-min-microvolt = <1100000>;
200 regulator-max-microvolt = <1100000>;
205 regulator-name = "vcc_20";
206 regulator-min-microvolt = <2000000>;
207 regulator-max-microvolt = <2000000>;
212 regulator-name = "vccio_sd";
213 regulator-min-microvolt = <3300000>;
214 regulator-max-microvolt = <3300000>;
219 regulator-name = "vdd10_lcd";
220 regulator-min-microvolt = <1000000>;
221 regulator-max-microvolt = <1000000>;
226 regulator-name = "vcca_18";
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <1800000>;
232 regulator-name = "vcca_33";
233 regulator-min-microvolt = <3300000>;
234 regulator-max-microvolt = <3300000>;
238 regulator-name = "vcc_lan";
239 regulator-min-microvolt = <3300000>;
240 regulator-max-microvolt = <3300000>;
244 regulator-name = "vdd_10";
245 regulator-min-microvolt = <1000000>;
246 regulator-max-microvolt = <1000000>;
251 regulator-name = "vcc_18";
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <1800000>;
258 regulator-name = "vcc18_lcd";
259 regulator-min-microvolt = <1800000>;
260 regulator-max-microvolt = <1800000>;
284 pcfg_output_high: pcfg-output-high {
288 pcfg_output_low: pcfg-output-low {
292 pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma {
294 drive-strength = <12>;
299 rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_up>;
302 pmic_sleep: pmic-sleep {
303 rockchip,pins = <0 0 RK_FUNC_GPIO &pcfg_output_low>;
306 pmic_vsel: pmic-vsel {
307 rockchip,pins = <7 1 RK_FUNC_GPIO &pcfg_output_low>;
313 rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
317 rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
321 rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
327 rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>;
333 * Default drive strength isn't enough to achieve even
334 * high-speed mode on firefly board so bump up to 12ma.
336 sdmmc_bus4: sdmmc-bus4 {
337 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_12ma>,
338 <6 17 RK_FUNC_1 &pcfg_pull_up_drv_12ma>,
339 <6 18 RK_FUNC_1 &pcfg_pull_up_drv_12ma>,
340 <6 19 RK_FUNC_1 &pcfg_pull_up_drv_12ma>;
343 sdmmc_clk: sdmmc-clk {
344 rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_12ma>;
347 sdmmc_cmd: sdmmc-cmd {
348 rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_12ma>;
351 sdmmc_pwr: sdmmc-pwr {
352 rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
357 host_vbus_drv: host-vbus-drv {
358 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
364 vref-supply = <&vcc_18>;
372 card-detect-delay = <200>;
375 pinctrl-names = "default";
376 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
377 vmmc-supply = <&vcc_sd>;
378 vqmmc-supply = <&vccio_sd>;
383 rockchip,hw-tshut-mode = <0>;
384 rockchip,hw-tshut-polarity = <0>;
401 vbus-supply = <&vcc_host>;