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";
12 led-status = &led_wlan;
16 bootargs = "console=ttyS0,115200";
20 device_type = "memory";
21 reg = <0x0 0x4000000>;
25 compatible = "gpio-keys-polled";
32 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 compatible = "gpio-leds";
41 label = "zbt-we1226:green:wan";
42 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
46 label = "zbt-we1226:green:lan1";
47 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
51 label = "zbt-we1226:green:lan2";
52 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
56 label = "zbt-we1226:green:wlan";
57 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
63 state_default: pinctrl0 {
65 ralink,group = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
66 ralink,function = "gpio";
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
80 m25p,chunked-io = <32>;
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
102 reg = <0x50000 0x7b0000>;
109 ralink,mtd-eeprom = <&factory 0x4>;
113 mtd-mac-address = <&factory 0x2e>;
114 mediatek,portmap = "llllw";