dt-bindings: net: dsa: mediatek,mt7530: Add airoha,an7583-switch
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 22 May 2025 16:53:09 +0000 (18:53 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 May 2025 00:07:52 +0000 (17:07 -0700)
Add airoha,an7583-switch additional compatible to the mt7530 DSA Switch
Family. This is an exact match of the airoha,en7581-switch (based on
mt7988-switch) with the additional requirement of tweak on the
GEPHY_CONN_CFG registers to make the internal PHY actually work.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20250522165313.6411-2-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml

index ea979bcae1d6ea3f790330faa7bd1a13d19bac95..51205f9f29856de6c7df1b667b11ae7990da2ac9 100644 (file)
@@ -96,6 +96,10 @@ properties:
           Built-in switch of the Airoha EN7581 SoC
         const: airoha,en7581-switch
 
+      - description:
+          Built-in switch of the Airoha AN7583 SoC
+        const: airoha,an7583-switch
+
   reg:
     maxItems: 1
 
@@ -291,6 +295,7 @@ allOf:
           enum:
             - mediatek,mt7988-switch
             - airoha,en7581-switch
+            - airoha,an7583-switch
     then:
       $ref: "#/$defs/mt7530-dsa-port"
       properties: