[openwrt/openwrt] ath79: remove ar934x MDIO reset from MAC node

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 2 17:14:10 EST 2020


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cea169702c33b472eeade5f084c74ac6ed01440e

commit cea169702c33b472eeade5f084c74ac6ed01440e
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sun Nov 29 14:48:15 2020 +0100

    ath79: remove ar934x MDIO reset from MAC node
    
    Remove the MDIO reset from the MAC mode for the AR934x SoC family.
    The reset is currently also defined for the MDIO node, where the reset
    is acquired exclusively.
    
    In case the ethernet node is enabled, this triggers a warning, as the
    reset is already acquired by the MAC.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ath79/dts/ar934x.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi
index b1339ab36a..aa1003cdb5 100644
--- a/target/linux/ath79/dts/ar934x.dtsi
+++ b/target/linux/ath79/dts/ar934x.dtsi
@@ -272,8 +272,8 @@
 &eth1 {
 	compatible = "qca,ar9340-eth", "syscon";
 
-	resets = <&rst 13>, <&rst 23>;
-	reset-names = "mac", "mdio";
+	resets = <&rst 13>;
+	reset-names = "mac";
 	clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
 	clock-names = "eth", "mdio";
 	phy-mode = "gmii";



More information about the lede-commits mailing list