[openwrt/openwrt] ath79: fix ethernet-phy label for dlink, dap-2660-a1

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 3 08:47:25 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9aeaea471ee6367cc91c07b338f5766ea601b1d5

commit 9aeaea471ee6367cc91c07b338f5766ea601b1d5
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Sun Jan 3 13:55:50 2021 +0100

    ath79: fix ethernet-phy label for dlink,dap-2660-a1
    
    The phy label/node name should correspond to the reg property.
    
    While at it, use more common decimal notation for reg property itself.
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts b/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts
index 1a2974a688..8ef07e42e8 100644
--- a/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts
+++ b/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts
@@ -63,8 +63,8 @@
 &mdio0 {
 	status = "okay";
 
-	phy0: ethernet-phy at 4 {
-		reg = <0x4>;
+	phy4: ethernet-phy at 4 {
+		reg = <4>;
 	};
 };
 
@@ -73,7 +73,7 @@
 
 	pll-data = <0x82000000 0x80000101 0x80001313>;
 
-	phy-handle = <&phy0>;
+	phy-handle = <&phy4>;
 	phy-mode = "rgmii-id";
 
 	gmac-config {



More information about the lede-commits mailing list