summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2023-01-27 22:35:57 +0300
committerJakub Kicinski <kuba@kernel.org>2023-01-31 08:07:21 +0300
commit11fc80cbb225a96ecc385f1612db8b6f7fdcbca1 (patch)
tree37e12a6b32b8dbf2141c730080b8cbbb315140a5
parentdd43f5e7684ca5666bc7ec298eb15951ae693fb5 (diff)
downloadlinux-11fc80cbb225a96ecc385f1612db8b6f7fdcbca1.tar.xz
dt-bindings: mfd: ocelot: add ethernet-switch hardware support
The main purpose of the Ocelot chips are the Ethernet switching functionalities. Document the support for these features. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # regression Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml
index 1d1fee1a16c1..8bd1abfc44d9 100644
--- a/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml
+++ b/Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml
@@ -57,6 +57,15 @@ patternProperties:
enum:
- mscc,ocelot-miim
+ "^ethernet-switch@[0-9a-f]+$":
+ type: object
+ $ref: /schemas/net/mscc,vsc7514-switch.yaml
+ unevaluatedProperties: false
+ properties:
+ compatible:
+ enum:
+ - mscc,vsc7512-switch
+
required:
- compatible
- reg