[openwrt/openwrt] ath79: qca955x: remove redundant phy-mode

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 17 06:05:45 EST 2020


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

commit ab47e214721bff72e9692ee2818146950c327c5a
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Wed Dec 16 17:01:02 2020 +0100

    ath79: qca955x: remove redundant phy-mode
    
    phy-mode is already set to rgmii for eth0 and sgmii for eth1 in
    qca955x.dtsi, no need to do that again in the device DTS files.
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ath79/dts/qca9557_8dev_rambutan.dts              | 1 -
 target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts          | 2 --
 target/linux/ath79/dts/qca9558_engenius_ecb1750.dts           | 1 -
 target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts | 1 -
 target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts        | 2 --
 5 files changed, 7 deletions(-)

diff --git a/target/linux/ath79/dts/qca9557_8dev_rambutan.dts b/target/linux/ath79/dts/qca9557_8dev_rambutan.dts
index 3b714a2fb3..ce46555148 100644
--- a/target/linux/ath79/dts/qca9557_8dev_rambutan.dts
+++ b/target/linux/ath79/dts/qca9557_8dev_rambutan.dts
@@ -87,7 +87,6 @@
 
 	pll-data = <0x17000000 0x101 0x1313>;
 	phy-handle = <&phy1>;
-	phy-mode = "sgmii";
 	qca955x-sgmii-fixup;
 	mtd-mac-address = <&art 0x6>;
 };
diff --git a/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts b/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
index b8429fed45..86f889a5dc 100644
--- a/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
+++ b/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
@@ -133,7 +133,6 @@
 	status = "okay";
 
 	phy-handle = <&phy0>;
-	phy-mode = "rgmii";
 	pll-data = <0x56000000 0x00000101 0x00001616>;
 
 	fixed-link {
@@ -146,7 +145,6 @@
 	status = "okay";
 
 	phy-mask = <0>;
-	phy-mode = "sgmii";
 	pll-data = <0x03000101 0x00000101 0x00001616>;
 
 	fixed-link {
diff --git a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
index 9f2c9c048b..159ccc1872 100644
--- a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
@@ -129,7 +129,6 @@
 	pll-data = <0x9a000000 0x80000101 0x80001313>;
 
 	phy-handle = <&phy5>;
-	phy-mode = "rgmii";
 
 	gmac-config {
 		device = <&gmac>;
diff --git a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
index 5788623025..5be931bcd0 100644
--- a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
+++ b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
@@ -179,7 +179,6 @@
 &eth1 {
 	status = "okay";
 
-	phy-mode = "sgmii";
 	pll-data = <0x03000101 0x00000101 0x00001616>;
 	mtd-mac-address = <&art 0x6>;
 
diff --git a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
index fabfe14cf8..8cea2ff401 100644
--- a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
+++ b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
@@ -152,7 +152,6 @@
 	pll-data = <0x82000101 0x80000101 0x80001313>;
 
 	phy-handle = <&phy4>;
-	phy-mode = "rgmii";
 };
 
 &eth1 {
@@ -161,5 +160,4 @@
 	pll-data = <0x03000101 0x80000101 0x80001313>;
 
 	phy-handle = <&phy1>;
-	phy-mode = "sgmii";
 };



More information about the lede-commits mailing list