X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FArcherC50.dts;h=88bd3272d7a0e44883ea1ae93e012556487fd983;hb=64878a561621e3af3708d3394c4f89473d7de1af;hp=c9863a1f319a862947ea0b5e935977d6638b4eb0;hpb=dabdd123c90cd299c7cfe5501833e853b7519a6f;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts index c9863a1f31..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 { @@ -22,7 +23,8 @@ power { label = "c50:green:power"; - gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; + default-state = "on"; }; usb { @@ -32,7 +34,7 @@ wan { label = "c50:green:wan"; - gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; + gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; }; wan_orange { @@ -95,7 +97,6 @@ #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; - linux,modalias = "m25p80", "mx25l6405d"; spi-max-frequency = <10000000>; partition@0 { @@ -141,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"; - }; }; }; @@ -169,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 {