aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9558_tplink_re350k-v1.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_tplink_re350k-v1.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_tplink_re350k-v1.dts')
-rw-r--r--target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
index a797750e7e..f802de271e 100644
--- a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
+++ b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
@@ -88,7 +88,7 @@
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>,
<&gpio 18 GPIO_ACTIVE_HIGH>;
- phy0: ethernet-phy@4 {
+ phy4: ethernet-phy@4 {
reg = <4>;
phy-mode = "rgmii-rxid";
@@ -101,9 +101,10 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&config 0x10008>;
+ phy-handle = <&phy4>;
pll-data = <0x9e000000 0x80000101 0x80001313>;
- phy-handle = <&phy0>;
+
+ mtd-mac-address = <&config 0x10008>;
gmac-config {
device = <&gmac>;