Skip to contentSkip to conversation

net: dsa: bcm_sf2: Update compatible string for 7278B0

PATCH In review Florian Fainelli 2 participants 2 messages Dec 15, 2017

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: dsa: bcm_sf2: Update compatible string for 7278B0

Update the compatible string and Device Tree binding document for 7278B0.

---
 Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt | 5 ++++-
 drivers/net/dsa/bcm_sf2.c                                          | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt +4 -1
index 9a734d808aa7..b7336b9d6a3c 100644
@@ -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
drivers/net/dsa/bcm_sf2.c +3 -0
index 8ea0cd494ea0..0378eded31f2 100644
@@ -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);
Signature · 6 lines
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html