From: Lorenzo Bianconi Date: Thu, 1 Aug 2024 07:35:11 +0000 (+0200) Subject: dt-bindings: net: dsa: mediatek,mt7530: Add airoha,en7581-switch X-Git-Tag: v6.12-rc1~232^2~320^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=101a002af005a21619463372f45ffb444a203438;p=thirdparty%2Flinux.git 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: Lorenzo Bianconi Reviewed-by: Arınç ÜNAL Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index 7e405ad96eb27..ea979bcae1d6e 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -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: