From 115e993adcc4b3c5ce441a70ae6cf62985797729 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Thu, 2 Aug 2018 15:14:10 +0800 Subject: [PATCH] ath79: remove useless phy-handle nodes phy-handle is used to poll link status. They are useless when we need fixed-link on these interfaces. Signed-off-by: Chuanhong Guo --- target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts | 12 +----------- target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi | 9 --------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts index bb857c72b613..d01d2cc716e8 100644 --- a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts +++ b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts @@ -76,16 +76,7 @@ resets = <&rst 8>; reset-names = "switch"; - - mdio-bus { - status = "okay"; - - phy0: ethernet-phy@0 { - reg = <0>; - }; - }; - }; - + }; }; &uart { @@ -154,7 +145,6 @@ resets = <&rst 9>; reset-names = "mac"; - phy-handle = <&phy0>; fixed-link { speed = <1000>; full-duplex; diff --git a/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi index 0bd17d86e28c..4438f911fcf4 100644 --- a/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi +++ b/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi @@ -154,14 +154,6 @@ }; }; -&mdio1 { - status = "okay"; - - phy1: ethernet-phy@1 { - reg = <1>; - }; -}; - ð0 { status = "okay"; @@ -174,7 +166,6 @@ status = "okay"; mtd-mac-address = <&uboot 0x1fc00>; - phy-handle = <&phy1>; fixed-link { speed = <1000>; -- 2.30.2