X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FArcherC50.dts;h=88bd3272d7a0e44883ea1ae93e012556487fd983;hb=64878a561621e3af3708d3394c4f89473d7de1af;hp=e8a1893300660f3dfcd473032cb6c628fab4d0a8;hpb=0c81bc296911c72f49bf9b78a27daa47bd91f71f;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts index e8a1893300..88bd3272d7 100644 --- a/target/linux/ramips/dts/ArcherC50.dts +++ b/target/linux/ramips/dts/ArcherC50.dts @@ -1,11 +1,12 @@ /dts-v1/; -#include -#include #include "mt7620a.dtsi" +#include +#include + / { - compatible = "ralink,mt7620a-soc"; + compatible = "tplink,c50", "ralink,mt7620a-soc"; model = "TP-Link Archer C50"; chosen { @@ -23,6 +24,7 @@ power { label = "c50:green:power"; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; + default-state = "on"; }; usb { @@ -140,11 +142,6 @@ ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "ephy", "spi refclk", "mdio", "wdt", "nd_sd"; ralink,function = "gpio"; }; - - pa { - ralink,group = "pa"; - ralink,function = "pa"; - }; }; }; @@ -168,6 +165,10 @@ &wmac { ralink,mtd-eeprom = <&radio 0>; + mtd-mac-address = <&rom 0xf100>; + mtd-mac-address-increment = <(-2)>; + pinctrl-names = "default"; + pinctrl-0 = <&pa_pins>; }; &pcie {