1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2015 Heiko Stuebner <heiko@sntech.de>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pwm/pwm.h>
12 compatible = "netxeon,r89", "rockchip,rk3288";
15 device_type = "memory";
16 reg = <0x0 0x0 0x0 0x80000000>;
19 ext_gmac: external-gmac-clock {
20 compatible = "fixed-clock";
21 clock-frequency = <125000000>;
22 clock-output-names = "ext_gmac";
27 compatible = "gpio-keys";
30 pinctrl-names = "default";
31 pinctrl-0 = <&pwrbtn>;
34 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_POWER>;
36 label = "GPIO Key Power";
37 linux,input-type = <1>;
39 debounce-interval = <100>;
44 compatible = "gpio-ir-receiver";
45 gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&ir_int>;
50 vcc_host: vcc-host-regulator {
51 compatible = "regulator-fixed";
53 gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&host_vbus_drv>;
56 regulator-name = "vcc_host";
61 vcc_otg: vcc-otg-regulator {
62 compatible = "regulator-fixed";
64 gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&otg_vbus_drv>;
67 regulator-name = "vcc_otg";
72 vcc_sdmmc: sdmmc-regulator {
73 compatible = "regulator-fixed";
74 regulator-name = "sdmmc-supply";
75 regulator-min-microvolt = <3300000>;
76 regulator-max-microvolt = <3300000>;
77 gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
78 startup-delay-us = <100000>;
79 vin-supply = <&vcc_io>;
82 vcc_sys: sys-regulator {
83 compatible = "regulator-fixed";
84 regulator-name = "sys-supply";
85 regulator-min-microvolt = <5000000>;
86 regulator-max-microvolt = <5000000>;
93 cpu0-supply = <&vdd_cpu>;
97 phy-supply = <&vcc_lan>;
99 clock_in_out = "input";
100 snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
101 snps,reset-active-low;
102 snps,reset-delays-us = <0 10000 1000000>;
103 assigned-clocks = <&cru SCLK_MAC>;
104 assigned-clock-parents = <&ext_gmac>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&rgmii_pins>;
120 compatible = "silergy,syr827";
122 fcs,suspend-voltage-selector = <1>;
123 regulator-name = "VDD_CPU";
124 regulator-enable-ramp-delay = <300>;
125 regulator-min-microvolt = <850000>;
126 regulator-max-microvolt = <1350000>;
127 regulator-ramp-delay = <8000>;
130 vin-supply = <&vcc_sys>;
134 compatible = "silergy,syr828";
136 fcs,suspend-voltage-selector = <1>;
137 regulator-name = "VDD_GPU";
138 regulator-enable-ramp-delay = <300>;
139 regulator-min-microvolt = <850000>;
140 regulator-max-microvolt = <1350000>;
141 regulator-ramp-delay = <8000>;
144 vin-supply = <&vcc_sys>;
148 compatible = "haoyu,hym8563";
151 clock-output-names = "xin32k";
152 interrupt-parent = <&gpio0>;
153 interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&pmic_int>;
159 compatible = "active-semi,act8846";
161 pinctrl-names = "default";
162 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
163 system-power-controller;
167 regulator-name = "VCC_DDR";
168 regulator-min-microvolt = <1200000>;
169 regulator-max-microvolt = <1200000>;
174 regulator-name = "VCC_IO";
175 regulator-min-microvolt = <3300000>;
176 regulator-max-microvolt = <3300000>;
181 regulator-name = "VDD_LOG";
182 regulator-min-microvolt = <1000000>;
183 regulator-max-microvolt = <1000000>;
188 regulator-name = "VCC_20";
189 regulator-min-microvolt = <2000000>;
190 regulator-max-microvolt = <2000000>;
195 regulator-name = "VCCIO_SD";
196 regulator-min-microvolt = <3300000>;
197 regulator-max-microvolt = <3300000>;
202 regulator-name = "VDD10_LCD";
203 regulator-min-microvolt = <1000000>;
204 regulator-max-microvolt = <1000000>;
209 regulator-name = "VCC_WL";
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
216 regulator-name = "VCCA_33";
217 regulator-min-microvolt = <3300000>;
218 regulator-max-microvolt = <3300000>;
223 regulator-name = "VCC_LAN";
224 regulator-min-microvolt = <3300000>;
225 regulator-max-microvolt = <3300000>;
230 regulator-name = "VDD_10";
231 regulator-min-microvolt = <1000000>;
232 regulator-max-microvolt = <1000000>;
237 regulator-name = "VCC_18";
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
244 regulator-name = "VCC18_LCD";
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <1800000>;
258 pcfg_output_high: pcfg-output-high {
262 pcfg_output_low: pcfg-output-low {
267 pmic_vsel: pmic-vsel {
268 rockchip,pins = <7 1 RK_FUNC_GPIO &pcfg_output_low>;
272 rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_output_high>;
278 rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
284 rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>;
290 rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;
295 host_vbus_drv: host-vbus-drv {
296 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
299 otg_vbus_drv: otg-vbus-drv {
300 rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
310 vref-supply = <&vcc_18>;
318 card-detect-delay = <200>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
322 vmmc-supply = <&vcc_sdmmc>;
323 vqmmc-supply = <&vccio_sd>;
328 rockchip,hw-tshut-mode = <0>;
329 rockchip,hw-tshut-polarity = <0>;