aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-5.10
diff options
context:
space:
mode:
authorSHIMAMOTO Takayoshi <takayoshi.shimamoto.360@gmail.com>2022-03-28 02:09:25 +0900
committerRafał Miłecki <rafal@milecki.pl>2022-03-30 16:20:50 +0200
commitfc94c0d203d1c97d3dfdd045fb57b1cb7826e491 (patch)
tree1a352123301d31c446136b4925481085092e3539 /target/linux/bcm53xx/patches-5.10
parenta721fb9f839b3ca71da275a1c99620ef9342fb28 (diff)
downloadupstream-fc94c0d203d1c97d3dfdd045fb57b1cb7826e491.tar.gz
upstream-fc94c0d203d1c97d3dfdd045fb57b1cb7826e491.tar.bz2
upstream-fc94c0d203d1c97d3dfdd045fb57b1cb7826e491.zip
bcm53xx: add switch ports for Buffalo WZR-900DHP & re-enable it
Specify the switch ports in the DTS file. Re-enable it after it was disabled by commit e9672b1a8fa4 ("bcm53xx: switch to the upstream DSA-based b53 driver"). Signed-off-by: SHIMAMOTO Takayoshi <takayoshi.shimamoto.360@gmail.com> [rmilecki: reword commit & drop unneeded whitespace change] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-5.10')
-rw-r--r--target/linux/bcm53xx/patches-5.10/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-5.10/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch b/target/linux/bcm53xx/patches-5.10/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
index 8b2b5e49c9..d20fe71d48 100644
--- a/target/linux/bcm53xx/patches-5.10/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
+++ b/target/linux/bcm53xx/patches-5.10/304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
@@ -665,3 +665,47 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
&spi_nor {
status = "okay";
+--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
++++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
+@@ -107,3 +107,41 @@
+ &usb3_phy {
+ status = "okay";
+ };
++
++&srab {
++ status = "okay";
++
++ ports {
++ port@0 {
++ reg = <0>;
++ label = "lan1";
++ };
++
++ port@1 {
++ reg = <1>;
++ label = "lan2";
++ };
++
++ port@2 {
++ reg = <2>;
++ label = "lan3";
++ };
++
++ port@3 {
++ reg = <3>;
++ label = "lan4";
++ };
++
++ port@4 {
++ reg = <4>;
++ label = "wan";
++ };
++
++ port@5 {
++ reg = <5>;
++ label = "cpu";
++ ethernet = <&gmac0>;
++ };
++ };
++};
++