Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: BCM53016: Specify switch ports for Meraki MR32

the switch identifies itself as a BCM53012 (rev 5)...
This patch has been tested & verified on OpenWrt's
snapshot with Linux 5.10 (didn't test any older kernels).
The MR32 is able to "talk to the network" as before with
OpenWrt's SWITCHDEV b53 driver.

| b53-srab-switch 18007000.ethernet-switch: found switch: BCM53012, rev 5
| libphy: dsa slave smi: probed
| b53-srab-switch 18007000.ethernet-switch poe (uninitialized):
| PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
| b53-srab-switch 18007000.ethernet-switch: Using legacy PHYLIB callbacks.
| Please migrate to PHYLINK!
| DSA: tree 0 setup

Reported-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

Christian Lamparter and committed by
Florian Fainelli
6abc4ca5 64612828

+22
+22
arch/arm/boot/dts/bcm53016-meraki-mr32.dts
··· 195 195 }; 196 196 }; 197 197 }; 198 + 199 + &srab { 200 + status = "okay"; 201 + 202 + ports { 203 + port@0 { 204 + reg = <0>; 205 + label = "poe"; 206 + }; 207 + 208 + port@5 { 209 + reg = <5>; 210 + label = "cpu"; 211 + ethernet = <&gmac0>; 212 + 213 + fixed-link { 214 + speed = <1000>; 215 + duplex-full; 216 + }; 217 + }; 218 + }; 219 + };