5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netis,wf-2881", "mediatek,mt7621-soc";
10 model = "NETIS WF-2881";
13 device_type = "memory";
14 reg = <0x0 0x8000000>;
18 bootargs = "console=ttyS0,57600";
22 compatible = "gpio-leds";
25 label = "wf-2881:green:usb";
26 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
30 label = "wf-2881:green:wps";
31 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
60 reg = <0x30000 0x1000>;
66 reg = <0x80000 0x80000>;
70 factory: partition@100000 {
72 reg = <0x100000 0x40000>;
78 reg = <0x140000 0x7E40000>;
87 reg = <0x0000 0 0 0 0>;
89 mediatek,mtd-eeprom = <&factory 0x8000>;
90 ieee80211-freq-limit = <5000000 6000000>;
96 reg = <0x0000 0 0 0 0>;
98 mediatek,mtd-eeprom = <&factory 0x0000>;
99 ieee80211-freq-limit = <2400000 2500000>;
105 mtd-mac-address = <&factory 0xe006>;
109 state_default: pinctrl0 {
111 ralink,group = "uart3", "jtag";
112 ralink,function = "gpio";