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 {
81 reg = <0x40000 0x10000>;
86 compatible = "denx,uimage";
88 reg = <0x50000 0x760000>;
95 nvmem-cells = <&macaddr_factory_4>;
96 nvmem-cell-names = "mac-address";
98 mediatek,portmap = "llllw";
102 ralink,mtd-eeprom = <&factory 0x0>;
107 groups = "i2c", "spi refclk", "wled";
113 compatible = "nvmem-cells";
114 #address-cells = <1>;
117 macaddr_factory_4: macaddr@4 {