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";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
20 device_type = "memory";
21 reg = <0x0 0x8000000>;
25 bootargs = "console=ttyS0,57600";
29 compatible = "gpio-leds";
32 label = "wf-2881:green:usb";
33 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
34 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
35 linux,default-trigger = "usbport";
39 label = "wf-2881:green:wps";
40 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x1000>;
78 reg = <0x80000 0x80000>;
82 factory: partition@100000 {
84 reg = <0x100000 0x40000>;
90 reg = <0x140000 0x7E40000>;
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x8000>;
103 ieee80211-freq-limit = <5000000 6000000>;
109 reg = <0x0000 0 0 0 0>;
110 mediatek,mtd-eeprom = <&factory 0x0000>;
111 ieee80211-freq-limit = <2400000 2500000>;
116 mtd-mac-address = <&factory 0xe006>;
120 state_default: pinctrl0 {
122 ralink,group = "uart3", "jtag";
123 ralink,function = "gpio";