#include <dt-bindings/input/input.h>
/ {
+ compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
model = "EW1200";
memory@0 {
reset {
label = "reset";
- gpios = <&gpio0 18 1>;
+ gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
pcie0 {
mt76@0,0 {
- reg = <0x0000 0 0 0 0>;
- device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
pcie1 {
mt76@1,0 {
- reg = <0x0000 0 0 0 0>;
- device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
+ ralink,group = "wdt", "rgmii2", "jtag", "mdio";
ralink,function = "gpio";
};
};