Skip to content

Commit 101a002

Browse files
LorenzoBianconidavem330
authored andcommitted
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 <[email protected]> Reviewed-by: Arınç ÜNAL <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 83044bf commit 101a002

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ properties:
9292
Built-in switch of the MT7988 SoC
9393
const: mediatek,mt7988-switch
9494

95+
- description:
96+
Built-in switch of the Airoha EN7581 SoC
97+
const: airoha,en7581-switch
98+
9599
reg:
96100
maxItems: 1
97101

@@ -284,7 +288,9 @@ allOf:
284288
- if:
285289
properties:
286290
compatible:
287-
const: mediatek,mt7988-switch
291+
enum:
292+
- mediatek,mt7988-switch
293+
- airoha,en7581-switch
288294
then:
289295
$ref: "#/$defs/mt7530-dsa-port"
290296
properties:

0 commit comments

Comments
 (0)