1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-we2026", "ralink,mt7620n-soc";
8 model = "Zbtlink ZBT-WE2026";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
26 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
63 compatible = "fixed-partitions";
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
80 compatible = "nvmem-cells";
82 reg = <0x40000 0x10000>;
87 eeprom_factory_0: eeprom@0 {
91 macaddr_factory_4: macaddr@4 {
97 compatible = "denx,uimage";
99 reg = <0x50000 0x760000>;
106 nvmem-cells = <&macaddr_factory_4>;
107 nvmem-cell-names = "mac-address";
109 mediatek,portmap = "llllw";
113 nvmem-cells = <&eeprom_factory_0>;
114 nvmem-cell-names = "eeprom";
119 groups = "i2c", "spi refclk", "wled";