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 device_type = "memory";
24 reg = <0x0 0x4000000>;
28 compatible = "gpio-keys-polled";
33 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 compatible = "gpio-leds";
42 label = "zbt-we1226:green:wan";
43 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
47 label = "zbt-we1226:green:lan1";
48 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
52 label = "zbt-we1226:green:lan2";
53 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
57 label = "zbt-we1226:green:wlan";
58 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
64 state_default: pinctrl0 {
66 ralink,group = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
67 ralink,function = "gpio";
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <10000000>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
104 compatible = "denx,uimage";
106 reg = <0x50000 0x7b0000>;
114 ralink,mtd-eeprom = <&factory 0x4>;
118 mtd-mac-address = <&factory 0x2e>;
119 mediatek,portmap = "llllw";