]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: net: dsa: mediatek,mt7530: Add airoha,en7581-switch
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 1 Aug 2024 07:35:11 +0000 (09:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Aug 2024 14:22:31 +0000 (15:22 +0100)
Add documentation for the built-in switch which can be found in the
Airoha EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml

index 7e405ad96eb27cd5398b1c640ad1c74a0bdfd13e..ea979bcae1d6ea3f790330faa7bd1a13d19bac95 100644 (file)
@@ -92,6 +92,10 @@ properties:
           Built-in switch of the MT7988 SoC
         const: mediatek,mt7988-switch
 
+      - description:
+          Built-in switch of the Airoha EN7581 SoC
+        const: airoha,en7581-switch
+
   reg:
     maxItems: 1
 
@@ -284,7 +288,9 @@ allOf:
   - if:
       properties:
         compatible:
-          const: mediatek,mt7988-switch
+          enum:
+            - mediatek,mt7988-switch
+            - airoha,en7581-switch
     then:
       $ref: "#/$defs/mt7530-dsa-port"
       properties: