net: dsa: b53: add support for BCM63xx RGMIIs

BCM63xx RGMII ports require additional configuration in order to work.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230319220805.124024-1-noltari@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
Álvaro Fernández Rojas
2023-03-19 23:08:05 +01:00
committed by Paolo Abeni
parent 9ef70d0130
commit ce3bf94871
2 changed files with 47 additions and 0 deletions

View File

@@ -211,6 +211,7 @@ static inline int is58xx(struct b53_device *dev)
dev->chip_id == BCM7278_DEVICE_ID;
}
#define B53_63XX_RGMII0 4
#define B53_CPU_PORT_25 5
#define B53_CPU_PORT 8