aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-27 14:15:56 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-31 13:40:59 +0100
commitc8190713cb69063db13c89f4041c71dc6c7b20d9 (patch)
tree22f6a6af81a8ee3609609693e0574b1971cb6a40 /target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts
parent1ab81bf02d750c9a2a447dbf4fdb323921f291d7 (diff)
downloadupstream-c8190713cb69063db13c89f4041c71dc6c7b20d9.tar.gz
upstream-c8190713cb69063db13c89f4041c71dc6c7b20d9.tar.bz2
upstream-c8190713cb69063db13c89f4041c71dc6c7b20d9.zip
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 <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts')
-rw-r--r--target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts4
1 files changed, 2 insertions, 2 deletions
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>;