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>;
31 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
32 linux,default-trigger = "usbport";
36 label = "wf-2881:green:wps";
37 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
47 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
57 compatible = "fixed-partitions";
69 reg = <0x30000 0x1000>;
75 reg = <0x80000 0x80000>;
79 factory: partition@100000 {
81 reg = <0x100000 0x40000>;
87 reg = <0x140000 0x7E40000>;
98 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&factory 0x8000>;
100 ieee80211-freq-limit = <5000000 6000000>;
106 reg = <0x0000 0 0 0 0>;
107 mediatek,mtd-eeprom = <&factory 0x0000>;
108 ieee80211-freq-limit = <2400000 2500000>;
113 mtd-mac-address = <&factory 0xe006>;
117 state_default: pinctrl0 {
119 ralink,group = "uart3", "jtag";
120 ralink,function = "gpio";