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";
30 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
36 compatible = "gpio-leds";
39 label = "zbt-we1226:green:wan";
40 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
44 label = "zbt-we1226:green:lan1";
45 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
49 label = "zbt-we1226:green:lan2";
50 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
54 label = "zbt-we1226:green:wlan";
55 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
61 state_default: pinctrl0 {
63 ralink,group = "p0led_an", "p1led_an", "p4led_an", "wdt", "wled_an";
64 ralink,function = "gpio";
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
76 m25p,chunked-io = <32>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0x7b0000>;
111 ralink,mtd-eeprom = <&factory 0x4>;
115 mtd-mac-address = <&factory 0x2e>;
116 mediatek,portmap = "llllw";