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-polled";
28 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 label = "zbt-we1226:green:wan";
38 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
42 label = "zbt-we1226:green:lan1";
43 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
47 label = "zbt-we1226:green:lan2";
48 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
52 label = "zbt-we1226:green:wlan";
53 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
59 state_default: pinctrl0 {
61 ralink,group = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
62 ralink,function = "gpio";
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
76 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0x7b0000>;
109 ralink,mtd-eeprom = <&factory 0x4>;
113 mtd-mac-address = <&factory 0x2e>;
114 mediatek,portmap = "llllw";