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-status = &led_power;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-leds";
24 label = "zbt-we2026:red:power";
25 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
29 label = "zbt-we2026:green:wlan";
30 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
84 reg = <0x50000 0x760000>;
90 mtd-mac-address = <&factory 0x4>;
91 mediatek,portmap = "wllll";
95 ralink,mtd-eeprom = <&factory 0>;
99 state_default: pinctrl0 {
101 ralink,group = "i2c", "spi refclk", "wled";
102 ralink,function = "gpio";