summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter2021-09-18 08:53:39 +0000
committerChristian Lamparter2021-10-15 17:04:48 +0000
commitae2a37033ee59f85087101c339e95f99a8e113ec (patch)
treea4174c52d06656c5f11634aa7ce1df61627b2f91
parent83d40285e7441f16ef9374fad5993f8b1a1d9e66 (diff)
downloadchunkeey-ae2a37033ee59f85087101c339e95f99a8e113ec.tar.gz
bcm53xx: MR32: adds ethernet switch mapping in dts
with swconfig being on the way out. This patch adds the vital b53 DSA switch DTS nodes and properties to make it work. Reported-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-rw-r--r--target/linux/bcm53xx/base-files/etc/board.d/02_network3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network
index e02286027f..40eb12cad9 100644
--- a/target/linux/bcm53xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network
@@ -48,6 +48,9 @@ bcm53xx_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "5@eth0"
;;
+ meraki,mr32)
+ ucidef_set_interface_lan "poe"
+ ;;
phicomm,k3)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:wan" "5@eth0"