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>
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
17 compatible = "gpio-keys";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
28 compatible = "gpio-leds";
31 label = "green:system";
32 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
36 reg_usb_vbus: regulator {
37 compatible = "regulator-fixed";
38 regulator-name = "usb_vbus";
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
41 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
52 switch-phy-addr-swap = <0>;
53 switch-phy-swap = <0>;
65 vbus-supply = <®_usb_vbus>;