2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/gpio/gpio.h>
5 #include "mt7628an.dtsi"
8 compatible = "zbtlink,zbt-we1226", "mediatek,mt7628an-soc";
9 model = "Zbtlink ZBT-WE1226";
13 led-failsafe = &led_wlan;
14 led-running = &led_wlan;
15 led-upgrade = &led_wlan;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-keys";
27 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 label = "zbt-we1226:green:wan";
37 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
41 label = "zbt-we1226:green:lan1";
42 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
46 label = "zbt-we1226:green:lan2";
47 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
51 label = "zbt-we1226:green:wlan";
52 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
59 groups = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
96 compatible = "denx,uimage";
98 reg = <0x50000 0x7b0000>;
109 mtd-mac-address = <&factory 0x2e>;
113 mediatek,portmap = <0x2f>;