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 bootargs = "console=ttyS0,115200n8";
15 led-boot = &led_status_green;
16 led-failsafe = &led_status_yellow;
17 led-running = &led_status_green;
18 led-upgrade = &led_status_yellow;
22 compatible = "gpio-leds";
25 label = "green:wifi5g";
26 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "phy1tpt";
31 label = "green:wifi2g";
32 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
36 led_status_green: status_green {
37 function = LED_FUNCTION_STATUS;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
42 led_status_yellow: status_yellow {
43 function = LED_FUNCTION_STATUS;
44 color = <LED_COLOR_ID_YELLOW>;
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys";
54 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
56 debounce-interval = <60>;
64 phy0: ethernet-phy@0 {
72 phy-mode = "rgmii-id";
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <25000000>;
91 compatible = "redboot-fis";
92 fis-index-block = <0xfd>;