]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
net: dsa: b53: Add compatible strings for the Cygnus-family BCM11360.
authorEric Anholt <eric@anholt.net>
Thu, 18 May 2017 00:32:12 +0000 (17:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 15:01:42 +0000 (11:01 -0400)
Cygnus is a small family of SoCs, of which we currently have
devicetree for BCM11360 and BCM58300.  The 11360's B53 is mostly the
same as 58xx, just requiring a tiny bit of setup that was previously
missing.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/b53.txt
drivers/net/dsa/b53/b53_srab.c

index d6c6e41648d4f17814ea43775e8591a40a4c0786..eb679e92d525d37b321e6791027e2dd140f57f48 100644 (file)
@@ -13,6 +13,9 @@ Required properties:
       "brcm,bcm5397"
       "brcm,bcm5398"
 
+  For the BCM11360 SoC, must be:
+      "brcm,bcm11360-srab" and the mandatory "brcm,cygnus-srab" string
+
   For the BCM5310x SoCs with an integrated switch, must be one of:
       "brcm,bcm53010-srab"
       "brcm,bcm53011-srab"
index 8a62b6a6970374a328acc36fe513f4e3ce0fb285..c37ffd1b68338d2f5d9e421d7314c01370b04061 100644 (file)
@@ -364,6 +364,7 @@ static const struct of_device_id b53_srab_of_match[] = {
        { .compatible = "brcm,bcm53018-srab" },
        { .compatible = "brcm,bcm53019-srab" },
        { .compatible = "brcm,bcm5301x-srab" },
+       { .compatible = "brcm,bcm11360-srab", .data = (void *)BCM58XX_DEVICE_ID },
        { .compatible = "brcm,bcm58522-srab", .data = (void *)BCM58XX_DEVICE_ID },
        { .compatible = "brcm,bcm58525-srab", .data = (void *)BCM58XX_DEVICE_ID },
        { .compatible = "brcm,bcm58535-srab", .data = (void *)BCM58XX_DEVICE_ID },
@@ -371,6 +372,7 @@ static const struct of_device_id b53_srab_of_match[] = {
        { .compatible = "brcm,bcm58623-srab", .data = (void *)BCM58XX_DEVICE_ID },
        { .compatible = "brcm,bcm58625-srab", .data = (void *)BCM58XX_DEVICE_ID },
        { .compatible = "brcm,bcm88312-srab", .data = (void *)BCM58XX_DEVICE_ID },
+       { .compatible = "brcm,cygnus-srab", .data = (void *)BCM58XX_DEVICE_ID },
        { .compatible = "brcm,nsp-srab", .data = (void *)BCM58XX_DEVICE_ID },
        { /* sentinel */ },
 };