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";
32 gpio-key,wakeup = <1>;
33 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&pwr_key>;
43 compatible = "gpio-leds";
47 gpios = <&gpio8 1 GPIO_ACTIVE_LOW>;
48 label = "firefly:blue:user";
49 linux,default-trigger = "rc-feedback";
50 pinctrl-names = "default";
51 pinctrl-0 = <&work_led>;
56 gpios = <&gpio8 2 GPIO_ACTIVE_LOW>;
57 label = "firefly:green:power";
58 linux,default-trigger = "default-on";
59 pinctrl-names = "default";
60 pinctrl-0 = <&power_led>;
64 vcc_sys: vsys-regulator {
65 compatible = "regulator-fixed";
66 regulator-name = "vcc_sys";
67 regulator-min-microvolt = <5000000>;
68 regulator-max-microvolt = <5000000>;
73 vcc_sd: sdmmc-regulator {
74 compatible = "regulator-fixed";
75 gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&sdmmc_pwr>;
78 regulator-name = "vcc_sd";
79 regulator-min-microvolt = <3300000>;
80 regulator-max-microvolt = <3300000>;
81 startup-delay-us = <100000>;
82 vin-supply = <&vcc_io>;
85 vcc_flash: flash-regulator {
86 compatible = "regulator-fixed";
87 regulator-name = "vcc_flash";
88 regulator-min-microvolt = <1800000>;
89 regulator-max-microvolt = <1800000>;
90 vin-supply = <&vcc_io>;
93 vcc_5v: usb-regulator {
94 compatible = "regulator-fixed";
95 regulator-name = "vcc_5v";
96 regulator-min-microvolt = <5000000>;
97 regulator-max-microvolt = <5000000>;
100 vin-supply = <&vcc_sys>;
103 vcc_host_5v: usb-host-regulator {
104 compatible = "regulator-fixed";
106 gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&host_vbus_drv>;
109 regulator-name = "vcc_host_5v";
110 regulator-min-microvolt = <5000000>;
111 regulator-max-microvolt = <5000000>;
113 vin-supply = <&vcc_5v>;
116 vcc_otg_5v: usb-otg-regulator {
117 compatible = "regulator-fixed";
119 gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&otg_vbus_drv>;
122 regulator-name = "vcc_otg_5v";
123 regulator-min-microvolt = <5000000>;
124 regulator-max-microvolt = <5000000>;
126 vin-supply = <&vcc_5v>;
131 cpu0-supply = <&vdd_cpu>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>;
143 vmmc-supply = <&vcc_io>;
144 vqmmc-supply = <&vcc_flash>;
149 assigned-clocks = <&cru SCLK_MAC>;
150 assigned-clock-parents = <&ext_gmac>;
151 clock_in_out = "input";
152 pinctrl-names = "default";
153 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
154 phy-supply = <&vcc_lan>;
156 snps,reset-active-low;
157 snps,reset-delays-us = <0 10000 1000000>;
158 snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
165 ddc-i2c-bus = <&i2c5>;
170 clock-frequency = <400000>;
174 compatible = "silergy,syr827";
175 fcs,suspend-voltage-selector = <1>;
177 regulator-name = "vdd_cpu";
178 regulator-min-microvolt = <850000>;
179 regulator-max-microvolt = <1350000>;
182 vin-supply = <&vcc_sys>;
186 compatible = "silergy,syr828";
187 fcs,suspend-voltage-selector = <1>;
189 regulator-name = "vdd_gpu";
190 regulator-min-microvolt = <850000>;
191 regulator-max-microvolt = <1350000>;
193 vin-supply = <&vcc_sys>;
196 hym8563: hym8563@51 {
197 compatible = "haoyu,hym8563";
200 clock-frequency = <32768>;
201 clock-output-names = "xin32k";
202 interrupt-parent = <&gpio7>;
203 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&rtc_int>;
208 act8846: act8846@5a {
209 compatible = "active-semi,act8846";
211 pinctrl-names = "default";
212 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
213 system-power-controller;
217 regulator-name = "vcc_ddr";
218 regulator-min-microvolt = <1200000>;
219 regulator-max-microvolt = <1200000>;
224 regulator-name = "vcc_io";
225 regulator-min-microvolt = <3300000>;
226 regulator-max-microvolt = <3300000>;
231 regulator-name = "vdd_log";
232 regulator-min-microvolt = <1100000>;
233 regulator-max-microvolt = <1100000>;
238 regulator-name = "vcc_20";
239 regulator-min-microvolt = <2000000>;
240 regulator-max-microvolt = <2000000>;
245 regulator-name = "vccio_sd";
246 regulator-min-microvolt = <3300000>;
247 regulator-max-microvolt = <3300000>;
252 regulator-name = "vdd10_lcd";
253 regulator-min-microvolt = <1000000>;
254 regulator-max-microvolt = <1000000>;
259 regulator-name = "vcca_18";
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <1800000>;
265 regulator-name = "vcca_33";
266 regulator-min-microvolt = <3300000>;
267 regulator-max-microvolt = <3300000>;
271 regulator-name = "vcc_lan";
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
277 regulator-name = "vdd_10";
278 regulator-min-microvolt = <1000000>;
279 regulator-max-microvolt = <1000000>;
284 regulator-name = "vcc_18";
285 regulator-min-microvolt = <1800000>;
286 regulator-max-microvolt = <1800000>;
291 regulator-name = "vcc18_lcd";
292 regulator-min-microvolt = <1800000>;
293 regulator-max-microvolt = <1800000>;
317 pcfg_output_high: pcfg-output-high {
321 pcfg_output_low: pcfg-output-low {
327 rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_output_high>;
333 rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
337 rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
341 rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
347 rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_up>;
353 rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
358 power_led: power-led {
359 rockchip,pins = <8 2 RK_FUNC_GPIO &pcfg_pull_none>;
363 rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_none>;
368 sdmmc_pwr: sdmmc-pwr {
369 rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
374 host_vbus_drv: host-vbus-drv {
375 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
378 usbhub_rst: usbhub-rst {
379 rockchip,pins = <8 3 RK_FUNC_GPIO &pcfg_output_high>;
384 otg_vbus_drv: otg-vbus-drv {
385 rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
391 vref-supply = <&vcc_18>;
401 pinctrl-names = "default";
402 pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>;
403 vmmc-supply = <&vcc_18>;
411 card-detect-delay = <200>;
414 pinctrl-names = "default";
415 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
416 vmmc-supply = <&vcc_sd>;
421 pinctrl-names = "default";
422 pinctrl-0 = <&spi0_clk>, <&spi0_cs0>, <&spi0_tx>, <&spi0_rx>, <&spi0_cs1>;
427 pinctrl-names = "default";
428 pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
445 pinctrl-names = "default";
446 pinctrl-0 = <&usbhub_rst>;