Skip to content

Commit 3b07d78

Browse files
ffainellidavem330
authored andcommitted
net: dsa: bcm_sf2: Update compatible string for 7278B0
Update the compatible string and Device Tree binding document for 7278B0. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 020929d commit 3b07d78

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
Required properties:
44

5-
- compatible: should be "brcm,bcm7445-switch-v4.0" or "brcm,bcm7278-switch-v4.0"
5+
- compatible: should be one of
6+
"brcm,bcm7445-switch-v4.0"
7+
"brcm,bcm7278-switch-v4.0"
8+
"brcm,bcm7278-switch-v4.8"
69
- reg: addresses and length of the register sets for the device, must be 6
710
pairs of register addresses and lengths
811
- interrupts: interrupts for the devices, must be two interrupts

drivers/net/dsa/bcm_sf2.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,9 @@ static const struct of_device_id bcm_sf2_of_match[] = {
948948
{ .compatible = "brcm,bcm7278-switch-v4.0",
949949
.data = &bcm_sf2_7278_data
950950
},
951+
{ .compatible = "brcm,bcm7278-switch-v4.8",
952+
.data = &bcm_sf2_7278_data
953+
},
951954
{ /* sentinel */ },
952955
};
953956
MODULE_DEVICE_TABLE(of, bcm_sf2_of_match);

0 commit comments

Comments
 (0)