1 #include "mt7628an.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
7 compatible = "zbtlink,zbt-we1226", "mediatek,mt7628an-soc";
8 model = "Zbtlink ZBT-WE1226";
12 led-failsafe = &led_wlan;
13 led-running = &led_wlan;
14 led-upgrade = &led_wlan;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-keys";
26 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "zbt-we1226:green:wan";
36 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
40 label = "zbt-we1226:green:lan1";
41 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
45 label = "zbt-we1226:green:lan2";
46 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
50 label = "zbt-we1226:green:wlan";
51 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
58 groups = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x50000 0x7b0000>;
108 mtd-mac-address = <&factory 0x2e>;
112 mediatek,portmap = <0x2f>;