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 ddc-i2c-bus = <&i2c5>;
155 clock-frequency = <400000>;
159 compatible = "silergy,syr827";
160 fcs,suspend-voltage-selector = <1>;
162 regulator-name = "vdd_cpu";
163 regulator-min-microvolt = <850000>;
164 regulator-max-microvolt = <1350000>;
167 vin-supply = <&vcc_sys>;
171 compatible = "silergy,syr828";
172 fcs,suspend-voltage-selector = <1>;
174 regulator-name = "vdd_gpu";
175 regulator-min-microvolt = <850000>;
176 regulator-max-microvolt = <1350000>;
178 vin-supply = <&vcc_sys>;
181 hym8563: hym8563@51 {
182 compatible = "haoyu,hym8563";
185 clock-frequency = <32768>;
186 clock-output-names = "xin32k";
187 interrupt-parent = <&gpio7>;
188 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
189 pinctrl-names = "default";
190 pinctrl-0 = <&rtc_int>;
193 act8846: act8846@5a {
194 compatible = "active-semi,act8846";
196 pinctrl-names = "default";
197 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
198 system-power-controller;
202 regulator-name = "vcc_ddr";
203 regulator-min-microvolt = <1200000>;
204 regulator-max-microvolt = <1200000>;
209 regulator-name = "vcc_io";
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
216 regulator-name = "vdd_log";
217 regulator-min-microvolt = <1100000>;
218 regulator-max-microvolt = <1100000>;
223 regulator-name = "vcc_20";
224 regulator-min-microvolt = <2000000>;
225 regulator-max-microvolt = <2000000>;
230 regulator-name = "vccio_sd";
231 regulator-min-microvolt = <3300000>;
232 regulator-max-microvolt = <3300000>;
237 regulator-name = "vdd10_lcd";
238 regulator-min-microvolt = <1000000>;
239 regulator-max-microvolt = <1000000>;
244 regulator-name = "vcca_18";
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <1800000>;
250 regulator-name = "vcca_33";
251 regulator-min-microvolt = <3300000>;
252 regulator-max-microvolt = <3300000>;
256 regulator-name = "vcc_lan";
257 regulator-min-microvolt = <3300000>;
258 regulator-max-microvolt = <3300000>;
262 regulator-name = "vdd_10";
263 regulator-min-microvolt = <1000000>;
264 regulator-max-microvolt = <1000000>;
269 regulator-name = "vcc_18";
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <1800000>;
276 regulator-name = "vcc18_lcd";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
302 pcfg_output_high: pcfg-output-high {
306 pcfg_output_low: pcfg-output-low {
312 rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_output_high>;
318 rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
322 rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
326 rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
332 rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_up>;
338 rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
343 power_led: power-led {
344 rockchip,pins = <8 2 RK_FUNC_GPIO &pcfg_pull_none>;
348 rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_none>;
353 sdmmc_pwr: sdmmc-pwr {
354 rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
359 host_vbus_drv: host-vbus-drv {
360 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
363 usbhub_rst: usbhub-rst {
364 rockchip,pins = <8 3 RK_FUNC_GPIO &pcfg_output_high>;
369 otg_vbus_drv: otg-vbus-drv {
370 rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
376 vref-supply = <&vcc_18>;
386 pinctrl-names = "default";
387 pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>;
388 vmmc-supply = <&vcc_18>;
396 card-detect-delay = <200>;
399 pinctrl-names = "default";
400 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
401 vmmc-supply = <&vcc_sd>;
406 pinctrl-names = "default";
407 pinctrl-0 = <&spi0_clk>, <&spi0_cs0>, <&spi0_tx>, <&spi0_rx>, <&spi0_cs1>;
412 pinctrl-names = "default";
413 pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&usbhub_rst>;