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 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-leds";
27 label = "wf-2881:green:usb";
28 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
29 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
30 linux,default-trigger = "usbport";
34 label = "wf-2881:green:wps";
35 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys-polled";
45 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x1000>;
73 reg = <0x80000 0x80000>;
77 factory: partition@100000 {
79 reg = <0x100000 0x40000>;
84 compatible = "denx,uimage";
86 reg = <0x140000 0x7E40000>;
97 reg = <0x0000 0 0 0 0>;
98 mediatek,mtd-eeprom = <&factory 0x8000>;
99 ieee80211-freq-limit = <5000000 6000000>;
105 reg = <0x0000 0 0 0 0>;
106 mediatek,mtd-eeprom = <&factory 0x0000>;
107 ieee80211-freq-limit = <2400000 2500000>;
112 mtd-mac-address = <&factory 0xe006>;
116 state_default: pinctrl0 {
118 ralink,group = "uart3", "jtag";
119 ralink,function = "gpio";