[PATCH v6 02/15] dt-bindings: net: mediatek,net: allow irq names

From: Frank Wunderlich
Date: Sat Jun 28 2025 - 05:04:17 EST


From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>

In preparation for MT7988 and RSS/LRO allow the interrupt-names
property. Also increase the maximum IRQ count to 8 (4 FE + 4 RSS),
but set boundaries for all compatibles same as irq count.

Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
---
v6: new patch splitted from the mt7988 changes
---
Documentation/devicetree/bindings/net/mediatek,net.yaml | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml
index 74a139000f60..6672db206b38 100644
--- a/Documentation/devicetree/bindings/net/mediatek,net.yaml
+++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml
@@ -28,8 +28,7 @@ properties:
- ralink,rt5350-eth

reg:
- items:
- - description: Register for accessing the MACs.
+ maxItems: 1

clocks:
minItems: 2
@@ -67,10 +66,6 @@ properties:
- const: gmac
- const: ppe

- sram:
- $ref: /schemas/types.yaml#/definitions/phandle
- description: phandle to mmio SRAM
-
mediatek,ethsys:
$ref: /schemas/types.yaml#/definitions/phandle
description:
@@ -423,7 +418,7 @@ allOf:
- const: xgp3

patternProperties:
- "^mac@[0-2]$":
+ "^mac@[0-1]$":
type: object
unevaluatedProperties: false
allOf:
--
2.43.0