1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "zbtlink,zbt-we2026", "ralink,mt7620n-soc";
9 model = "Zbtlink ZBT-WE2026";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 function = LED_FUNCTION_POWER;
27 color = <LED_COLOR_ID_RED>;
28 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
32 function = LED_FUNCTION_WLAN;
33 color = <LED_COLOR_ID_GREEN>;
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
84 reg = <0x40000 0x10000>;
88 compatible = "fixed-layout";
92 eeprom_factory_0: eeprom@0 {
96 macaddr_factory_4: macaddr@4 {
103 compatible = "denx,uimage";
105 reg = <0x50000 0x760000>;
112 nvmem-cells = <&macaddr_factory_4>;
113 nvmem-cell-names = "mac-address";
115 mediatek,portmap = "llllw";
119 nvmem-cells = <&eeprom_factory_0>;
120 nvmem-cell-names = "eeprom";
125 groups = "i2c", "spi refclk", "wled";