Message ID | 20250516180147.10416-2-linux@fw-web.de |
---|---|
State | Not Applicable |
Headers | show |
Series | further mt7988 devicetree work | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dt-meta-schema | success |
On Fri, 16 May 2025 20:01:31 +0200, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > Update binding for mt7988 which has 3 gmac and 2 reg items. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > --- > v2: > - change reg to list of items > --- > .../devicetree/bindings/net/mediatek,net.yaml | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml index 9e02fd80af83..e5dc35cfe4e4 100644 --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml @@ -28,7 +28,10 @@ properties: - ralink,rt5350-eth reg: - maxItems: 1 + items: + - description: Register for accessing the MACs. + - description: SoC internal SRAM used for DMA operations. + minItems: 1 clocks: minItems: 2 @@ -381,8 +384,11 @@ allOf: - const: xgp2 - const: xgp3 + reg: + minItems: 2 + patternProperties: - "^mac@[0-1]$": + "^mac@[0-2]$": type: object unevaluatedProperties: false allOf: