#include "mt7621.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
+ compatible = "linksys,re6500", "mediatek,mt7621-soc";
model = "Linksys RE6500";
memory@0 {
wifi {
label = "re6500:orange:wifi";
- gpios = <&gpio0 0 0>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
power {
label = "re6500:white:power";
- gpios = <&gpio0 9 0>;
+ gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
};
wps {
label = "wps";
- gpios = <&gpio0 10 1>;
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
- gpios = <&gpio0 11 0>;
+ gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
};
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
- mediatek,2ghz = <0>;
+ ieee80211-freq-limit = <5000000 6000000>;
};
};
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
- mediatek,5ghz = <0>;
+ ieee80211-freq-limit = <2400000 2500000>;
};
};
};