Commit 101a002a authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by David S. Miller
Browse files

dt-bindings: net: dsa: mediatek,mt7530: Add airoha,en7581-switch



Add documentation for the built-in switch which can be found in the
Airoha EN7581 SoC.

Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: default avatarArınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 83044bf9
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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: