3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "mt7620n.dtsi"
9 compatible = "zbtlink,zbt-we2026", "ralink,mt7620n-soc";
10 model = "Zbtlink ZBT-WE2026";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "zbt-we2026:red:power";
28 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
32 label = "zbt-we2026:green:wlan";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys";
42 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0x760000>;
97 mtd-mac-address = <&factory 0x4>;
98 mediatek,portmap = "wllll";
102 ralink,mtd-eeprom = <&factory 0>;
106 state_default: pinctrl0 {
108 ralink,group = "i2c", "spi refclk", "wled";
109 ralink,function = "gpio";