#include "mt7621.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
+ compatible = "netis,wf-2881", "mediatek,mt7621-soc";
model = "NETIS WF-2881";
memory@0 {
usb {
label = "wf-2881:green:usb";
- gpios = <&gpio0 6 1>;
+ gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
wps {
label = "wf-2881:green:wps";
- gpios = <&gpio0 0 1>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
};
reset {
label = "reset";
- gpios = <&gpio0 12 1>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
- mediatek,2ghz = <0>;
+ ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
- mediatek,5ghz = <0>;
+ ieee80211-freq-limit = <2400000 2500000>;
};
};
};