diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-27 14:15:56 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-31 13:40:59 +0100 |
commit | c8190713cb69063db13c89f4041c71dc6c7b20d9 (patch) | |
tree | 22f6a6af81a8ee3609609693e0574b1971cb6a40 /target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi | |
parent | 1ab81bf02d750c9a2a447dbf4fdb323921f291d7 (diff) | |
download | upstream-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_rex5x.dtsi')
-rw-r--r-- | target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi b/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi index 17e172d547..8827990eb5 100644 --- a/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi +++ b/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi @@ -93,7 +93,7 @@ #address-cells = <1>; #size-cells = <0>; - phy0: ethernet-phy@4 { + phy4: ethernet-phy@4 { reg = <4>; reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>; }; @@ -167,13 +167,16 @@ ð0 { status = "okay"; - mtd-mac-address = <&info 0x8>; + + phy-handle = <&phy4>; pll-data = <0xa6000000 0x00000101 0x00001616>; - phy-handle = <&phy0>; + + mtd-mac-address = <&info 0x8>; }; &wmac { status = "okay"; + mtd-cal-data = <&art 0x1000>; mtd-mac-address = <&info 0x8>; mtd-mac-address-increment = <(-1)>; |