2 * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+ X11
14 ext_gmac: external-gmac-clock {
15 compatible = "fixed-clock";
17 clock-frequency = <125000000>;
18 clock-output-names = "ext_gmac";
22 compatible = "gpio-ir-receiver";
23 pinctrl-names = "default";
24 pinctrl-0 = <&ir_int>;
28 compatible = "gpio-keys";
33 gpio-key,wakeup = <1>;
34 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&pwr_key>;
44 compatible = "gpio-leds";
48 gpios = <&gpio8 1 GPIO_ACTIVE_LOW>;
49 label = "firefly:blue:user";
50 linux,default-trigger = "rc-feedback";
51 pinctrl-names = "default";
52 pinctrl-0 = <&work_led>;
57 gpios = <&gpio8 2 GPIO_ACTIVE_LOW>;
58 label = "firefly:green:power";
59 linux,default-trigger = "default-on";
60 pinctrl-names = "default";
61 pinctrl-0 = <&power_led>;
65 vcc_sys: vsys-regulator {
66 compatible = "regulator-fixed";
67 regulator-name = "vcc_sys";
68 regulator-min-microvolt = <5000000>;
69 regulator-max-microvolt = <5000000>;
74 vcc_sd: sdmmc-regulator {
75 compatible = "regulator-fixed";
76 gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&sdmmc_pwr>;
79 regulator-name = "vcc_sd";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
82 startup-delay-us = <100000>;
83 vin-supply = <&vcc_io>;
86 vcc_flash: flash-regulator {
87 compatible = "regulator-fixed";
88 regulator-name = "vcc_flash";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 vin-supply = <&vcc_io>;
94 vcc_5v: usb-regulator {
95 compatible = "regulator-fixed";
96 regulator-name = "vcc_5v";
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
101 vin-supply = <&vcc_sys>;
104 vcc_host_5v: usb-host-regulator {
105 compatible = "regulator-fixed";
107 gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&host_vbus_drv>;
110 regulator-name = "vcc_host_5v";
111 regulator-min-microvolt = <5000000>;
112 regulator-max-microvolt = <5000000>;
114 vin-supply = <&vcc_5v>;
117 vcc_otg_5v: usb-otg-regulator {
118 compatible = "regulator-fixed";
120 gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&otg_vbus_drv>;
123 regulator-name = "vcc_otg_5v";
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
127 vin-supply = <&vcc_5v>;
132 cpu0-supply = <&vdd_cpu>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>;
144 vmmc-supply = <&vcc_io>;
145 vqmmc-supply = <&vcc_flash>;
150 assigned-clocks = <&cru SCLK_MAC>;
151 assigned-clock-parents = <&ext_gmac>;
152 clock_in_out = "input";
153 pinctrl-names = "default";
154 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
155 phy-supply = <&vcc_lan>;
157 snps,reset-active-low;
158 snps,reset-delays-us = <0 10000 1000000>;
159 snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
166 ddc-i2c-bus = <&i2c5>;
171 clock-frequency = <400000>;
175 compatible = "silergy,syr827";
176 fcs,suspend-voltage-selector = <1>;
178 regulator-name = "vdd_cpu";
179 regulator-min-microvolt = <850000>;
180 regulator-max-microvolt = <1350000>;
183 vin-supply = <&vcc_sys>;
187 compatible = "silergy,syr828";
188 fcs,suspend-voltage-selector = <1>;
190 regulator-name = "vdd_gpu";
191 regulator-min-microvolt = <850000>;
192 regulator-max-microvolt = <1350000>;
194 vin-supply = <&vcc_sys>;
197 hym8563: hym8563@51 {
198 compatible = "haoyu,hym8563";
201 clock-frequency = <32768>;
202 clock-output-names = "xin32k";
203 interrupt-parent = <&gpio7>;
204 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&rtc_int>;
209 act8846: act8846@5a {
210 compatible = "active-semi,act8846";
212 pinctrl-names = "default";
213 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
214 system-power-controller;
218 regulator-name = "vcc_ddr";
219 regulator-min-microvolt = <1200000>;
220 regulator-max-microvolt = <1200000>;
225 regulator-name = "vcc_io";
226 regulator-min-microvolt = <3300000>;
227 regulator-max-microvolt = <3300000>;
232 regulator-name = "vdd_log";
233 regulator-min-microvolt = <1100000>;
234 regulator-max-microvolt = <1100000>;
239 regulator-name = "vcc_20";
240 regulator-min-microvolt = <2000000>;
241 regulator-max-microvolt = <2000000>;
246 regulator-name = "vccio_sd";
247 regulator-min-microvolt = <3300000>;
248 regulator-max-microvolt = <3300000>;
253 regulator-name = "vdd10_lcd";
254 regulator-min-microvolt = <1000000>;
255 regulator-max-microvolt = <1000000>;
260 regulator-name = "vcca_18";
261 regulator-min-microvolt = <1800000>;
262 regulator-max-microvolt = <1800000>;
266 regulator-name = "vcca_33";
267 regulator-min-microvolt = <3300000>;
268 regulator-max-microvolt = <3300000>;
272 regulator-name = "vcc_lan";
273 regulator-min-microvolt = <3300000>;
274 regulator-max-microvolt = <3300000>;
278 regulator-name = "vdd_10";
279 regulator-min-microvolt = <1000000>;
280 regulator-max-microvolt = <1000000>;
285 regulator-name = "vcc_18";
286 regulator-min-microvolt = <1800000>;
287 regulator-max-microvolt = <1800000>;
292 regulator-name = "vcc18_lcd";
293 regulator-min-microvolt = <1800000>;
294 regulator-max-microvolt = <1800000>;
318 pcfg_output_high: pcfg-output-high {
322 pcfg_output_low: pcfg-output-low {
328 rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_output_high>;
334 rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
338 rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
342 rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
348 rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_up>;
354 rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
359 power_led: power-led {
360 rockchip,pins = <8 2 RK_FUNC_GPIO &pcfg_pull_none>;
364 rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_none>;
369 sdmmc_pwr: sdmmc-pwr {
370 rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
375 host_vbus_drv: host-vbus-drv {
376 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
379 usbhub_rst: usbhub-rst {
380 rockchip,pins = <8 3 RK_FUNC_GPIO &pcfg_output_high>;
385 otg_vbus_drv: otg-vbus-drv {
386 rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
392 vref-supply = <&vcc_18>;
402 pinctrl-names = "default";
403 pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>;
404 vmmc-supply = <&vcc_18>;
412 card-detect-delay = <200>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
417 vmmc-supply = <&vcc_sd>;
422 pinctrl-names = "default";
423 pinctrl-0 = <&spi0_clk>, <&spi0_cs0>, <&spi0_tx>, <&spi0_rx>, <&spi0_cs1>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
446 pinctrl-names = "default";
447 pinctrl-0 = <&usbhub_rst>;