1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.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 = "bluesocket:green:wifi5g";
26 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "phy1tpt";
31 label = "bluesocket:green:wifi2g";
32 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
36 led_status_green: status_green {
37 label = "bluesocket:green:status";
38 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
41 led_status_yellow: status_yellow {
42 label = "bluesocket:yellow:status";
43 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys";
52 linux,code = <KEY_RESTART>;
53 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
54 debounce-interval = <60>;
64 phy0: ethernet-phy@0 {
72 phy-mode = "rgmii-id";
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <25000000>;
93 compatible = "ecoscentric,redboot-fis-partitions";