From c8190713cb69063db13c89f4041c71dc6c7b20d9 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 27 Jan 2020 14:15:56 +0100 Subject: ath79: harmonize ethernet-phy naming scheme A minority of ethernet-phy definitions seems to use numbers in label, name and reg property relatively random. This patch aligns their use to have the same numeric value for all of them. While at it, improve order of properties/add newlines for the ethX nodes where necessary. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts') diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts b/target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts index 6ac79b0c1e..eac2a4268a 100644 --- a/target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts +++ b/target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts @@ -17,7 +17,7 @@ phy4-mii-enable; phy-mask = <0x23>; - phy4: ethernet-phy@0 { + phy0: ethernet-phy@0 { reg = <0>; phy-mode = "mii"; }; @@ -27,7 +27,7 @@ status = "okay"; phy-mode = "mii"; - phy-handle = <&phy4>; + phy-handle = <&phy0>; gmac-config { device = <&gmac>; -- cgit v1.2.3