aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9558_zyxel_nbg6716.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/qca9558_zyxel_nbg6716.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/qca9558_zyxel_nbg6716.dts')
-rw-r--r--target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
index 5a896d52bc..4ad65c31e8 100644
--- a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
+++ b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
@@ -200,8 +200,8 @@
&mdio0 {
status = "okay";
- phy0: ethernet-phy@0 {
- reg = <17>;
+ phy17: ethernet-phy@11 {
+ reg = <0x11>;
phy-mode = "rgmii-id";
};
@@ -236,7 +236,8 @@
status = "okay";
pll-data = <0xa6000000 0x00000101 0x00001616>;
- phy-handle = <&phy0>;
+ phy-handle = <&phy17>;
+
fixed-link {
speed = <1000>;
full-duplex;
@@ -248,6 +249,7 @@
pll-data = <0x03000101 0x00000101 0x00001616>;
phy-handle = <&phy1>;
+
fixed-link {
speed = <1000>;
full-duplex;