From: Chuanhong Guo Date: Thu, 2 Aug 2018 07:14:10 +0000 (+0800) Subject: ath79: remove useless phy-handle nodes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=115e993adcc4b3c5ce441a70ae6cf62985797729;p=openwrt%2Fstaging%2Fneocturne.git 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 --- diff --git a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts index bb857c72b6..d01d2cc716 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 0bd17d86e2..4438f911fc 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>;