Lines Matching +full:suspend +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2020 David Bauer <mail@david-bauer.net>
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/gpio/gpio.h>
14 compatible = "friendlyarm,nanopi-r2s", "rockchip,rk3328";
17 stdout-path = "serial2:1500000n8";
20 gmac_clk: gmac-clock {
21 compatible = "fixed-clock";
22 clock-frequency = <125000000>;
23 clock-output-names = "gmac_clkin";
24 #clock-cells = <0>;
28 compatible = "gpio-keys";
29 pinctrl-0 = <&reset_button_pin>;
30 pinctrl-names = "default";
34 gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>;
36 debounce-interval = <50>;
41 compatible = "gpio-leds";
42 pinctrl-0 = <&lan_led_pin>, <&sys_led_pin>, <&wan_led_pin>;
43 pinctrl-names = "default";
45 lan_led: led-0 {
46 gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
47 label = "nanopi-r2s:green:lan";
50 sys_led: led-1 {
51 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
52 label = "nanopi-r2s:red:sys";
55 wan_led: led-2 {
56 gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>;
57 label = "nanopi-r2s:green:wan";
61 vcc_io_sdio: sdmmcio-regulator {
62 compatible = "regulator-gpio";
63 enable-active-high;
64 gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
65 pinctrl-0 = <&sdio_vcc_pin>;
66 pinctrl-names = "default";
67 regulator-name = "vcc_io_sdio";
68 regulator-always-on;
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <3300000>;
71 regulator-settling-time-us = <5000>;
72 regulator-type = "voltage";
73 startup-delay-us = <2000>;
76 vin-supply = <&vcc_io_33>;
79 vcc_sd: sdmmc-regulator {
80 compatible = "regulator-fixed";
82 pinctrl-0 = <&sdmmc0m1_pin>;
83 pinctrl-names = "default";
84 regulator-name = "vcc_sd";
85 regulator-boot-on;
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
88 vin-supply = <&vcc_io_33>;
91 vdd_5v: vdd-5v {
92 compatible = "regulator-fixed";
93 regulator-name = "vdd_5v";
94 regulator-always-on;
95 regulator-boot-on;
96 regulator-min-microvolt = <5000000>;
97 regulator-max-microvolt = <5000000>;
102 cpu-supply = <&vdd_arm>;
106 cpu-supply = <&vdd_arm>;
110 cpu-supply = <&vdd_arm>;
114 cpu-supply = <&vdd_arm>;
118 assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
119 assigned-clock-parents = <&gmac_clk>, <&gmac_clk>;
121 phy-handle = <&rtl8211e>;
122 phy-mode = "rgmii";
123 phy-supply = <&vcc_io_33>;
124 pinctrl-0 = <&rgmiim1_pins>;
125 pinctrl-names = "default";
132 compatible = "snps,dwmac-mdio";
133 #address-cells = <1>;
134 #size-cells = <0>;
136 rtl8211e: ethernet-phy@1 {
138 pinctrl-0 = <&eth_phy_reset_pin>;
139 pinctrl-names = "default";
140 reset-assert-us = <10000>;
141 reset-deassert-us = <50000>;
142 reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
153 interrupt-parent = <&gpio1>;
155 #clock-cells = <1>;
156 clock-output-names = "xin32k", "rk805-clkout2";
157 gpio-controller;
158 #gpio-cells = <2>;
159 pinctrl-0 = <&pmic_int_l>;
160 pinctrl-names = "default";
161 rockchip,system-power-controller;
162 wakeup-source;
164 vcc1-supply = <&vdd_5v>;
165 vcc2-supply = <&vdd_5v>;
166 vcc3-supply = <&vdd_5v>;
167 vcc4-supply = <&vdd_5v>;
168 vcc5-supply = <&vcc_io_33>;
169 vcc6-supply = <&vdd_5v>;
173 regulator-name = "vdd_log";
174 regulator-always-on;
175 regulator-boot-on;
176 regulator-min-microvolt = <712500>;
177 regulator-max-microvolt = <1450000>;
178 regulator-ramp-delay = <12500>;
180 regulator-state-mem {
181 regulator-on-in-suspend;
182 regulator-suspend-microvolt = <1000000>;
187 regulator-name = "vdd_arm";
188 regulator-always-on;
189 regulator-boot-on;
190 regulator-min-microvolt = <712500>;
191 regulator-max-microvolt = <1450000>;
192 regulator-ramp-delay = <12500>;
194 regulator-state-mem {
195 regulator-on-in-suspend;
196 regulator-suspend-microvolt = <950000>;
201 regulator-name = "vcc_ddr";
202 regulator-always-on;
203 regulator-boot-on;
205 regulator-state-mem {
206 regulator-on-in-suspend;
211 regulator-name = "vcc_io_33";
212 regulator-always-on;
213 regulator-boot-on;
214 regulator-min-microvolt = <3300000>;
215 regulator-max-microvolt = <3300000>;
217 regulator-state-mem {
218 regulator-on-in-suspend;
219 regulator-suspend-microvolt = <3300000>;
224 regulator-name = "vcc_18";
225 regulator-always-on;
226 regulator-boot-on;
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <1800000>;
230 regulator-state-mem {
231 regulator-on-in-suspend;
232 regulator-suspend-microvolt = <1800000>;
237 regulator-name = "vcc18_emmc";
238 regulator-always-on;
239 regulator-boot-on;
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
243 regulator-state-mem {
244 regulator-on-in-suspend;
245 regulator-suspend-microvolt = <1800000>;
250 regulator-name = "vdd_10";
251 regulator-always-on;
252 regulator-boot-on;
253 regulator-min-microvolt = <1000000>;
254 regulator-max-microvolt = <1000000>;
256 regulator-state-mem {
257 regulator-on-in-suspend;
258 regulator-suspend-microvolt = <1000000>;
266 pmuio-supply = <&vcc_io_33>;
267 vccio1-supply = <&vcc_io_33>;
268 vccio2-supply = <&vcc18_emmc>;
269 vccio3-supply = <&vcc_io_sdio>;
270 vccio4-supply = <&vcc_18>;
271 vccio5-supply = <&vcc_io_33>;
272 vccio6-supply = <&vcc_io_33>;
278 reset_button_pin: reset-button-pin {
283 ethernet-phy {
284 eth_phy_reset_pin: eth-phy-reset-pin {
290 lan_led_pin: lan-led-pin {
294 sys_led_pin: sys-led-pin {
298 wan_led_pin: wan-led-pin {
304 pmic_int_l: pmic-int-l {
310 sdio_vcc_pin: sdio-vcc-pin {
321 bus-width = <4>;
322 cap-sd-highspeed;
323 disable-wp;
324 pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>;
325 pinctrl-names = "default";
326 sd-uhs-sdr12;
327 sd-uhs-sdr25;
328 sd-uhs-sdr50;
329 sd-uhs-sdr104;
330 vmmc-supply = <&vcc_sd>;
331 vqmmc-supply = <&vcc_io_sdio>;
336 rockchip,hw-tshut-mode = <0>;
337 rockchip,hw-tshut-polarity = <0>;