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 model = "Netxeon R89";
13 compatible = "netxeon,r89", "rockchip,rk3288";
16 device_type = "memory";
17 reg = <0x0 0x0 0x0 0x80000000>;
20 ext_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 clock-frequency = <125000000>;
23 clock-output-names = "ext_gmac";
28 compatible = "gpio-keys";
31 pinctrl-names = "default";
32 pinctrl-0 = <&pwrbtn>;
35 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_POWER>;
37 label = "GPIO Key Power";
38 linux,input-type = <1>;
40 debounce-interval = <100>;
45 compatible = "gpio-ir-receiver";
46 gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>;
47 pinctrl-names = "default";
48 pinctrl-0 = <&ir_int>;
51 vcc_host: vcc-host-regulator {
52 compatible = "regulator-fixed";
54 gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&host_vbus_drv>;
57 regulator-name = "vcc_host";
62 vcc_otg: vcc-otg-regulator {
63 compatible = "regulator-fixed";
65 gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&otg_vbus_drv>;
68 regulator-name = "vcc_otg";
73 vcc_sdmmc: sdmmc-regulator {
74 compatible = "regulator-fixed";
75 regulator-name = "sdmmc-supply";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
78 gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
79 startup-delay-us = <100000>;
80 vin-supply = <&vcc_io>;
83 vcc_sys: sys-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "sys-supply";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
94 cpu-supply = <&vdd_cpu>;
98 cpu-supply = <&vdd_cpu>;
102 cpu-supply = <&vdd_cpu>;
106 cpu-supply = <&vdd_cpu>;
110 phy-supply = <&vcc_lan>;
112 clock_in_out = "input";
113 snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
114 snps,reset-active-low;
115 snps,reset-delays-us = <0 10000 1000000>;
116 assigned-clocks = <&cru SCLK_MAC>;
117 assigned-clock-parents = <&ext_gmac>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&rgmii_pins>;
133 compatible = "silergy,syr827";
135 fcs,suspend-voltage-selector = <1>;
136 regulator-name = "VDD_CPU";
137 regulator-enable-ramp-delay = <300>;
138 regulator-min-microvolt = <850000>;
139 regulator-max-microvolt = <1350000>;
140 regulator-ramp-delay = <8000>;
143 vin-supply = <&vcc_sys>;
147 compatible = "silergy,syr828";
149 fcs,suspend-voltage-selector = <1>;
150 regulator-name = "VDD_GPU";
151 regulator-enable-ramp-delay = <300>;
152 regulator-min-microvolt = <850000>;
153 regulator-max-microvolt = <1350000>;
154 regulator-ramp-delay = <8000>;
157 vin-supply = <&vcc_sys>;
161 compatible = "haoyu,hym8563";
164 clock-output-names = "xin32k";
165 interrupt-parent = <&gpio0>;
166 interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pmic_int>;
172 compatible = "active-semi,act8846";
174 pinctrl-names = "default";
175 pinctrl-0 = <&pmic_vsel>, <&pwr_hold>;
176 system-power-controller;
180 regulator-name = "VCC_DDR";
181 regulator-min-microvolt = <1200000>;
182 regulator-max-microvolt = <1200000>;
187 regulator-name = "VCC_IO";
188 regulator-min-microvolt = <3300000>;
189 regulator-max-microvolt = <3300000>;
194 regulator-name = "VDD_LOG";
195 regulator-min-microvolt = <1000000>;
196 regulator-max-microvolt = <1000000>;
201 regulator-name = "VCC_20";
202 regulator-min-microvolt = <2000000>;
203 regulator-max-microvolt = <2000000>;
208 regulator-name = "VCCIO_SD";
209 regulator-min-microvolt = <3300000>;
210 regulator-max-microvolt = <3300000>;
215 regulator-name = "VDD10_LCD";
216 regulator-min-microvolt = <1000000>;
217 regulator-max-microvolt = <1000000>;
222 regulator-name = "VCC_WL";
223 regulator-min-microvolt = <3300000>;
224 regulator-max-microvolt = <3300000>;
229 regulator-name = "VCCA_33";
230 regulator-min-microvolt = <3300000>;
231 regulator-max-microvolt = <3300000>;
236 regulator-name = "VCC_LAN";
237 regulator-min-microvolt = <3300000>;
238 regulator-max-microvolt = <3300000>;
243 regulator-name = "VDD_10";
244 regulator-min-microvolt = <1000000>;
245 regulator-max-microvolt = <1000000>;
250 regulator-name = "VCC_18";
251 regulator-min-microvolt = <1800000>;
252 regulator-max-microvolt = <1800000>;
257 regulator-name = "VCC18_LCD";
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <1800000>;
271 pcfg_output_high: pcfg-output-high {
275 pcfg_output_low: pcfg-output-low {
280 pmic_vsel: pmic-vsel {
281 rockchip,pins = <7 RK_PA1 RK_FUNC_GPIO &pcfg_output_low>;
285 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_output_high>;
291 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
297 rockchip,pins = <7 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
303 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
308 host_vbus_drv: host-vbus-drv {
309 rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
312 otg_vbus_drv: otg-vbus-drv {
313 rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
323 vref-supply = <&vcc_18>;
331 card-detect-delay = <200>;
333 pinctrl-names = "default";
334 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
335 vmmc-supply = <&vcc_sdmmc>;
336 vqmmc-supply = <&vccio_sd>;
341 rockchip,hw-tshut-mode = <0>;
342 rockchip,hw-tshut-polarity = <0>;