1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com>
13 ext_gmac: external-gmac-clock {
14 compatible = "fixed-clock";
16 clock-frequency = <125000000>;
17 clock-output-names = "ext_gmac";
21 compatible = "gpio-ir-receiver";
22 pinctrl-names = "default";
23 pinctrl-0 = <&ir_int>;
27 compatible = "gpio-keys";
30 gpio-key,wakeup = <1>;
31 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
34 pinctrl-names = "default";
35 pinctrl-0 = <&pwr_key>;
41 compatible = "gpio-leds";
45 gpios = <&gpio8 1 GPIO_ACTIVE_LOW>;
46 label = "firefly:blue:user";
47 linux,default-trigger = "rc-feedback";
48 pinctrl-names = "default";
49 pinctrl-0 = <&work_led>;
54 gpios = <&gpio8 2 GPIO_ACTIVE_LOW>;
55 label = "firefly:green:power";
56 linux,default-trigger = "default-on";
57 pinctrl-names = "default";
58 pinctrl-0 = <&power_led>;
62 vcc_sys: vsys-regulator {
63 compatible = "regulator-fixed";
64 regulator-name = "vcc_sys";
65 regulator-min-microvolt = <5000000>;
66 regulator-max-microvolt = <5000000>;
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_flash: flash-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "vcc_flash";
86 regulator-min-microvolt = <1800000>;
87 regulator-max-microvolt = <1800000>;
88 vin-supply = <&vcc_io>;
91 vcc_5v: usb-regulator {
92 compatible = "regulator-fixed";
93 regulator-name = "vcc_5v";
94 regulator-min-microvolt = <5000000>;
95 regulator-max-microvolt = <5000000>;
98 vin-supply = <&vcc_sys>;
101 vcc_host_5v: usb-host-regulator {
102 compatible = "regulator-fixed";
104 gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&host_vbus_drv>;
107 regulator-name = "vcc_host_5v";
108 regulator-min-microvolt = <5000000>;
109 regulator-max-microvolt = <5000000>;
111 vin-supply = <&vcc_5v>;
114 vcc_otg_5v: usb-otg-regulator {
115 compatible = "regulator-fixed";
117 gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&otg_vbus_drv>;
120 regulator-name = "vcc_otg_5v";
121 regulator-min-microvolt = <5000000>;
122 regulator-max-microvolt = <5000000>;
124 vin-supply = <&vcc_5v>;
129 cpu0-supply = <&vdd_cpu>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>;
141 vmmc-supply = <&vcc_io>;
142 vqmmc-supply = <&vcc_flash>;
147 assigned-clocks = <&cru SCLK_MAC>;
148 assigned-clock-parents = <&ext_gmac>;
149 clock_in_out = "input";
150 pinctrl-names = "default";
151 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
152 phy-supply = <&vcc_lan>;
154 snps,reset-active-low;
155 snps,reset-delays-us = <0 10000 1000000>;
156 snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
163 ddc-i2c-bus = <&i2c5>;
168 clock-frequency = <400000>;
172 compatible = "silergy,syr827";
173 fcs,suspend-voltage-selector = <1>;
175 regulator-name = "vdd_cpu";
176 regulator-min-microvolt = <850000>;
177 regulator-max-microvolt = <1350000>;
180 vin-supply = <&vcc_sys>;
184 compatible = "silergy,syr828";
185 fcs,suspend-voltage-selector = <1>;
187 regulator-name = "vdd_gpu";
188 regulator-min-microvolt = <850000>;
189 regulator-max-microvolt = <1350000>;
191 vin-supply = <&vcc_sys>;
194 hym8563: hym8563@51 {
195 compatible = "haoyu,hym8563";
198 clock-frequency = <32768>;
199 clock-output-names = "xin32k";
200 interrupt-parent = <&gpio7>;
201 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&rtc_int>;
206 act8846: act8846@5a {
207 compatible = "active-semi,act8846";
209 pinctrl-names = "default";
210 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
211 system-power-controller;
215 regulator-name = "vcc_ddr";
216 regulator-min-microvolt = <1200000>;
217 regulator-max-microvolt = <1200000>;
222 regulator-name = "vcc_io";
223 regulator-min-microvolt = <3300000>;
224 regulator-max-microvolt = <3300000>;
229 regulator-name = "vdd_log";
230 regulator-min-microvolt = <1100000>;
231 regulator-max-microvolt = <1100000>;
236 regulator-name = "vcc_20";
237 regulator-min-microvolt = <2000000>;
238 regulator-max-microvolt = <2000000>;
243 regulator-name = "vccio_sd";
244 regulator-min-microvolt = <3300000>;
245 regulator-max-microvolt = <3300000>;
250 regulator-name = "vdd10_lcd";
251 regulator-min-microvolt = <1000000>;
252 regulator-max-microvolt = <1000000>;
257 regulator-name = "vcca_18";
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <1800000>;
263 regulator-name = "vcca_33";
264 regulator-min-microvolt = <3300000>;
265 regulator-max-microvolt = <3300000>;
269 regulator-name = "vcc_lan";
270 regulator-min-microvolt = <3300000>;
271 regulator-max-microvolt = <3300000>;
275 regulator-name = "vdd_10";
276 regulator-min-microvolt = <1000000>;
277 regulator-max-microvolt = <1000000>;
282 regulator-name = "vcc_18";
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <1800000>;
289 regulator-name = "vcc18_lcd";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
315 pcfg_output_high: pcfg-output-high {
319 pcfg_output_low: pcfg-output-low {
325 rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_output_high>;
331 rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
335 rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
339 rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
345 rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_up>;
351 rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
356 power_led: power-led {
357 rockchip,pins = <8 2 RK_FUNC_GPIO &pcfg_pull_none>;
361 rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_none>;
366 sdmmc_pwr: sdmmc-pwr {
367 rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
372 host_vbus_drv: host-vbus-drv {
373 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
376 usbhub_rst: usbhub-rst {
377 rockchip,pins = <8 3 RK_FUNC_GPIO &pcfg_output_high>;
382 otg_vbus_drv: otg-vbus-drv {
383 rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
389 vref-supply = <&vcc_18>;
399 pinctrl-names = "default";
400 pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>;
401 vmmc-supply = <&vcc_18>;
409 card-detect-delay = <200>;
412 pinctrl-names = "default";
413 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
414 vmmc-supply = <&vcc_sd>;
419 pinctrl-names = "default";
420 pinctrl-0 = <&spi0_clk>, <&spi0_cs0>, <&spi0_tx>, <&spi0_rx>, <&spi0_cs1>;
425 pinctrl-names = "default";
426 pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
443 pinctrl-names = "default";
444 pinctrl-0 = <&usbhub_rst>;