[openwrt/openwrt] bcm53xx: backport 1 more late DT patch accepted for v6.7

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 25 23:09:15 PDT 2023


rmilecki pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/732ae343ffb3ad19978b75a8105d55f5e6d1d435

commit 732ae343ffb3ad19978b75a8105d55f5e6d1d435
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Thu Oct 26 07:12:36 2023 +0200

    bcm53xx: backport 1 more late DT patch accepted for v6.7
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 ...5301X-Set-switch-ports-for-Linksys-EA9200.patch | 63 ++++++++++++++++++++++
 ...5301X-Specify-switch-ports-for-remaining-.patch | 44 ---------------
 ...5301X-Set-switch-ports-for-Linksys-EA9200.patch | 63 ++++++++++++++++++++++
 ...5301X-Specify-switch-ports-for-remaining-.patch | 44 ---------------
 4 files changed, 126 insertions(+), 88 deletions(-)

diff --git a/target/linux/bcm53xx/patches-5.15/038-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch b/target/linux/bcm53xx/patches-5.15/038-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch
new file mode 100644
index 0000000000..4528c95a5a
--- /dev/null
+++ b/target/linux/bcm53xx/patches-5.15/038-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch
@@ -0,0 +1,63 @@
+From 253358f373492608348136e569366d73cb969f6a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal at milecki.pl>
+Date: Tue, 24 Oct 2023 09:26:05 +0200
+Subject: [PATCH] ARM: dts: BCM5301X: Set switch ports for Linksys EA9200
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This patch was developed as OpenWrt downstream change and was recently
+confirmed to work as expected.
+
+Tested-by: Rani Hod <rani.hod at gmail.com>
+Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
+Link: https://lore.kernel.org/r/20231024072605.32517-1-zajec5@gmail.com
+Signed-off-by: Florian Fainelli <florian.fainelli at broadcom.com>
+---
+ .../dts/broadcom/bcm4709-linksys-ea9200.dts   | 38 +++++++++++++++++++
+ 1 file changed, 38 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
++++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
+@@ -47,3 +47,41 @@
+ &usb3_phy {
+ 	status = "okay";
+ };
++
++&srab {
++	status = "okay";
++
++	ports {
++		port at 0 {
++			label = "lan1";
++		};
++
++		port at 1 {
++			label = "lan2";
++		};
++
++		port at 2 {
++			label = "lan3";
++		};
++
++		port at 3 {
++			label = "lan4";
++		};
++
++		port at 4 {
++			label = "wan";
++		};
++
++		port at 5 {
++			status = "disabled";
++		};
++
++		port at 7 {
++			status = "disabled";
++		};
++
++		port at 8 {
++			label = "cpu";
++		};
++	};
++};
diff --git a/target/linux/bcm53xx/patches-5.15/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch b/target/linux/bcm53xx/patches-5.15/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
index ed75623460..8039831a78 100644
--- a/target/linux/bcm53xx/patches-5.15/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
+++ b/target/linux/bcm53xx/patches-5.15/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
@@ -403,50 +403,6 @@ Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
 +		};
 +	};
 +};
---- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-+++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-@@ -47,3 +47,41 @@
- &usb3_phy {
- 	status = "okay";
- };
-+
-+&srab {
-+	status = "okay";
-+
-+	ports {
-+		port at 0 {
-+			label = "lan1";
-+		};
-+
-+		port at 1 {
-+			label = "lan2";
-+		};
-+
-+		port at 2 {
-+			label = "lan3";
-+		};
-+
-+		port at 3 {
-+			label = "lan4";
-+		};
-+
-+		port at 4 {
-+			label = "wan";
-+		};
-+
-+		port at 5 {
-+			status = "disabled";
-+		};
-+
-+		port at 7 {
-+			status = "disabled";
-+		};
-+
-+		port at 8 {
-+			label = "cpu";
-+		};
-+	};
-+};
 --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
 @@ -104,3 +104,41 @@
diff --git a/target/linux/bcm53xx/patches-6.1/033-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch b/target/linux/bcm53xx/patches-6.1/033-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch
new file mode 100644
index 0000000000..4528c95a5a
--- /dev/null
+++ b/target/linux/bcm53xx/patches-6.1/033-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch
@@ -0,0 +1,63 @@
+From 253358f373492608348136e569366d73cb969f6a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal at milecki.pl>
+Date: Tue, 24 Oct 2023 09:26:05 +0200
+Subject: [PATCH] ARM: dts: BCM5301X: Set switch ports for Linksys EA9200
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This patch was developed as OpenWrt downstream change and was recently
+confirmed to work as expected.
+
+Tested-by: Rani Hod <rani.hod at gmail.com>
+Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
+Link: https://lore.kernel.org/r/20231024072605.32517-1-zajec5@gmail.com
+Signed-off-by: Florian Fainelli <florian.fainelli at broadcom.com>
+---
+ .../dts/broadcom/bcm4709-linksys-ea9200.dts   | 38 +++++++++++++++++++
+ 1 file changed, 38 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
++++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
+@@ -47,3 +47,41 @@
+ &usb3_phy {
+ 	status = "okay";
+ };
++
++&srab {
++	status = "okay";
++
++	ports {
++		port at 0 {
++			label = "lan1";
++		};
++
++		port at 1 {
++			label = "lan2";
++		};
++
++		port at 2 {
++			label = "lan3";
++		};
++
++		port at 3 {
++			label = "lan4";
++		};
++
++		port at 4 {
++			label = "wan";
++		};
++
++		port at 5 {
++			status = "disabled";
++		};
++
++		port at 7 {
++			status = "disabled";
++		};
++
++		port at 8 {
++			label = "cpu";
++		};
++	};
++};
diff --git a/target/linux/bcm53xx/patches-6.1/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch b/target/linux/bcm53xx/patches-6.1/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
index ed75623460..8039831a78 100644
--- a/target/linux/bcm53xx/patches-6.1/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
+++ b/target/linux/bcm53xx/patches-6.1/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
@@ -403,50 +403,6 @@ Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
 +		};
 +	};
 +};
---- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-+++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
-@@ -47,3 +47,41 @@
- &usb3_phy {
- 	status = "okay";
- };
-+
-+&srab {
-+	status = "okay";
-+
-+	ports {
-+		port at 0 {
-+			label = "lan1";
-+		};
-+
-+		port at 1 {
-+			label = "lan2";
-+		};
-+
-+		port at 2 {
-+			label = "lan3";
-+		};
-+
-+		port at 3 {
-+			label = "lan4";
-+		};
-+
-+		port at 4 {
-+			label = "wan";
-+		};
-+
-+		port at 5 {
-+			status = "disabled";
-+		};
-+
-+		port at 7 {
-+			status = "disabled";
-+		};
-+
-+		port at 8 {
-+			label = "cpu";
-+		};
-+	};
-+};
 --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
 @@ -104,3 +104,41 @@




More information about the lede-commits mailing list