File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -2409,6 +2409,19 @@ static const struct b53_chip_data b53_switch_chips[] = {
2409
2409
.jumbo_pm_reg = B53_JUMBO_PORT_MASK ,
2410
2410
.jumbo_size_reg = B53_JUMBO_MAX_SIZE ,
2411
2411
},
2412
+ {
2413
+ .chip_id = BCM53101_DEVICE_ID ,
2414
+ .dev_name = "BCM53101" ,
2415
+ .vlans = 4096 ,
2416
+ .enabled_ports = 0x11f ,
2417
+ .arl_bins = 4 ,
2418
+ .arl_buckets = 512 ,
2419
+ .vta_regs = B53_VTA_REGS ,
2420
+ .imp_port = 8 ,
2421
+ .duplex_reg = B53_DUPLEX_STAT_GE ,
2422
+ .jumbo_pm_reg = B53_JUMBO_PORT_MASK ,
2423
+ .jumbo_size_reg = B53_JUMBO_MAX_SIZE ,
2424
+ },
2412
2425
{
2413
2426
.chip_id = BCM53115_DEVICE_ID ,
2414
2427
.dev_name = "BCM53115" ,
@@ -2789,6 +2802,7 @@ int b53_switch_detect(struct b53_device *dev)
2789
2802
return ret ;
2790
2803
2791
2804
switch (id32 ) {
2805
+ case BCM53101_DEVICE_ID :
2792
2806
case BCM53115_DEVICE_ID :
2793
2807
case BCM53125_DEVICE_ID :
2794
2808
case BCM53128_DEVICE_ID :
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ static void b53_mdio_shutdown(struct mdio_device *mdiodev)
374
374
375
375
static const struct of_device_id b53_of_match [] = {
376
376
{ .compatible = "brcm,bcm5325" },
377
+ { .compatible = "brcm,bcm53101" },
377
378
{ .compatible = "brcm,bcm53115" },
378
379
{ .compatible = "brcm,bcm53125" },
379
380
{ .compatible = "brcm,bcm53128" },
Original file line number Diff line number Diff line change 66
66
BCM5395_DEVICE_ID = 0x95 ,
67
67
BCM5397_DEVICE_ID = 0x97 ,
68
68
BCM5398_DEVICE_ID = 0x98 ,
69
+ BCM53101_DEVICE_ID = 0x53101 ,
69
70
BCM53115_DEVICE_ID = 0x53115 ,
70
71
BCM53125_DEVICE_ID = 0x53125 ,
71
72
BCM53128_DEVICE_ID = 0x53128 ,
@@ -188,6 +189,7 @@ static inline int is531x5(struct b53_device *dev)
188
189
{
189
190
return dev -> chip_id == BCM53115_DEVICE_ID ||
190
191
dev -> chip_id == BCM53125_DEVICE_ID ||
192
+ dev -> chip_id == BCM53101_DEVICE_ID ||
191
193
dev -> chip_id == BCM53128_DEVICE_ID ||
192
194
dev -> chip_id == BCM53134_DEVICE_ID ;
193
195
}
You can’t perform that action at this time.
0 commit comments