1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
11 compatible = "gpio-keys";
15 linux,code = <KEY_RESTART>;
16 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
17 debounce-interval = <60>;
22 compatible = "gpio-leds";
25 function = LED_FUNCTION_WLAN;
26 color = <LED_COLOR_ID_RED>;
27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
28 linux,default-trigger = "phy0tpt";
32 function = LED_FUNCTION_LAN;
33 color = <LED_COLOR_ID_GREEN>;
34 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
38 reg_usb_vbus: reg_usb_vbus {
39 compatible = "regulator-fixed";
40 regulator-name = "usb_vbus";
41 regulator-min-microvolt = <5000000>;
42 regulator-max-microvolt = <5000000>;
53 switch-phy-addr-swap = <0>;
54 switch-phy-swap = <0>;
64 vbus-supply = <®_usb_vbus>;