ath79: remove useless phy-handle nodes
authorChuanhong Guo <gch981213@gmail.com>
Thu, 2 Aug 2018 07:14:10 +0000 (15:14 +0800)
committerMathias Kresin <dev@kresin.me>
Mon, 6 Aug 2018 05:31:54 +0000 (07:31 +0200)
phy-handle is used to poll link status. They are useless when
we need fixed-link on these interfaces.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi

index bb857c72b613c4ee19d07029b8cf75383c25e16f..d01d2cc716e82e67bd12116248544cc44daaa743 100644 (file)
 
                resets = <&rst 8>;
                reset-names = "switch";
-
-               mdio-bus {
-                       status = "okay";
-
-                       phy0: ethernet-phy@0 {
-                               reg = <0>;
-                       };
-               };
-        };
-
+       };
 };
 
 &uart {
        resets = <&rst 9>;
        reset-names = "mac";
 
-       phy-handle = <&phy0>;
        fixed-link {
                speed = <1000>;
                full-duplex;
index 0bd17d86e28c13ea6b5dc7ffb57c412f69d7fae2..4438f911fcf4116c0b6da5dc292ec87ed9560deb 100644 (file)
        };
 };
 
-&mdio1 {
-       status = "okay";
-
-       phy1: ethernet-phy@1 {
-               reg = <1>;
-       };
-};
-
 &eth0 {
        status = "okay";
 
        status = "okay";
 
        mtd-mac-address = <&uboot 0x1fc00>;
-       phy-handle = <&phy1>;
 
        fixed-link {
                speed = <1000>;