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 led-status = &led_wps;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "wf-2881:green:usb";
30 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
34 label = "wf-2881:green:wps";
35 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys-polled";
47 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
64 reg = <0x30000 0x1000>;
70 reg = <0x80000 0x80000>;
74 factory: partition@100000 {
76 reg = <0x100000 0x40000>;
82 reg = <0x140000 0x7E40000>;
92 reg = <0x0000 0 0 0 0>;
93 mediatek,mtd-eeprom = <&factory 0x8000>;
94 ieee80211-freq-limit = <5000000 6000000>;
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x0000>;
102 ieee80211-freq-limit = <2400000 2500000>;
107 mtd-mac-address = <&factory 0xe006>;
111 state_default: pinctrl0 {
113 ralink,group = "uart3", "jtag";
114 ralink,function = "gpio";