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 = <&gpio1 6 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 label = "zbt-we1226:green:wan";
37 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
41 label = "zbt-we1226:green:lan1";
42 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
46 label = "zbt-we1226:green:lan2";
47 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
51 label = "zbt-we1226:green:wlan";
52 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
58 state_default: pinctrl0 {
60 ralink,group = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
61 ralink,function = "gpio";
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x50000 0x7b0000>;
108 ralink,mtd-eeprom = <&factory 0x4>;
112 mtd-mac-address = <&factory 0x2e>;
113 mediatek,portmap = "llllw";