/dts-v1/;
-#include <dt-bindings/input/input.h>
-#include <dt-bindings/gpio/gpio.h>
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+
/ {
- compatible = "ralink,mt7620a-soc";
+ compatible = "tplink,c50", "ralink,mt7620a-soc";
model = "TP-Link Archer C50";
chosen {
power {
label = "c50:green:power";
- gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+ default-state = "on";
};
usb {
wan {
label = "c50:green:wan";
- gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
wan_orange {
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;
partition@0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>;
- mediatek,2ghz = <0>;
+ ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-1)>;
};