BCM53012 DSA Switch Driver
- Getting improper packets (Solved)
- OpenWrt set up DSA links properly at boot
- Migrate to PHYLINK
Tweak rtl8367s swconfig driver for rtl8365mb
- [x] Add hacky switch port fix for bcm53012 swconfig driver
Ethernet Switch Device Tree Bindings
dsa.yaml - Documentation/devicetree/bindings/net/dsa/dsa.yaml - Linux source code (v5.14.2) - Bootlin
Broadcom switch configuration
brcm,b53.yaml - Documentation/devicetree/bindings/net/dsa/brcm,b53.yaml - Linux source code (v5.14.2) - Bootlin
-
CPU port shows as 5. Fix with hacky patch.
# swconfig dev switch0 help
switch0: bcm53011(BCM53012), ports: 9 (cpu @ 7), vlans: 4096
-
Linksys EA9500 02_network config for broadcom53011 switch:
linksys,panamera)
ucidef_add_switch "switch1" \\
"0:lan" "1:lan:7" "2:lan:4" "3:lan:8" "4:wan" "5t@eth0"
;;
Realtek switch configuration
realtek-smi.txt - Documentation/devicetree/bindings/net/dsa/realtek-smi.txt - Linux source code (v5.14.2) - Bootlin
- [x] Figure out external switch port for rtl8365mb, configure switch port for bcm53012
- [x] Ext port 1 for Realtek?
USB
- [x] Work out USB, take example from linksys panamera
Switch