net: dsa: bcm_sf2: Update compatible string for 7278B0
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 15 Dec 2017 01:59:40 +0000 (17:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 15:57:04 +0000 (10:57 -0500)
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>
Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt
drivers/net/dsa/bcm_sf2.c

index 9a734d808aa7eb2919c87d4bc9dd7440bdd7d2c3..b7336b9d6a3c5e8a3ede785bdc88192087314c83 100644 (file)
@@ -2,7 +2,10 @@
 
 Required properties:
 
-- compatible: should be "brcm,bcm7445-switch-v4.0" or "brcm,bcm7278-switch-v4.0"
+- compatible: should be one of
+       "brcm,bcm7445-switch-v4.0"
+       "brcm,bcm7278-switch-v4.0"
+       "brcm,bcm7278-switch-v4.8"
 - reg: addresses and length of the register sets for the device, must be 6
   pairs of register addresses and lengths
 - interrupts: interrupts for the devices, must be two interrupts
index 8ea0cd494ea0d034d0f6a41aa6600979963d9cdd..0378eded31f2cee00ea0d79c35b328b58317cd40 100644 (file)
@@ -948,6 +948,9 @@ static const struct of_device_id bcm_sf2_of_match[] = {
        { .compatible = "brcm,bcm7278-switch-v4.0",
          .data = &bcm_sf2_7278_data
        },
+       { .compatible = "brcm,bcm7278-switch-v4.8",
+         .data = &bcm_sf2_7278_data
+       },
        { /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, bcm_sf2_of_match);