[PATCH net-next v3 1/2] dt-bindings: net: dsa: lantiq,gswip: add reset-gpios

From: Joseph Telaak via B4 Relay

Date: Thu Nov 12 2026 - 18:30:14 EST


From: Joseph Telaak <joseph@xxxxxxxxxx>

The standalone GSW1xx switches have a hardware reset input, and boards
wire it to a SoC GPIO. Allow describing it. The SoC-integrated GSWIP
variants have no such pin.

A reset through it returns the RGMII slew rates to their power-on
defaults, so say so where the slew-rate properties say that the
bootloader's configuration is otherwise preserved.

Acked-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
Signed-off-by: Joseph Telaak <joseph@xxxxxxxxxx>
---
Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml b/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml
index 49af5573e4..89f78a1bc1 100644
--- a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml
@@ -40,6 +40,11 @@ properties:
- const: mdio
- const: mii

+ reset-gpios:
+ maxItems: 1
+ description:
+ GPIO connected to the hardware reset input of a standalone switch.
+
mdio:
$ref: /schemas/net/mdio.yaml#
unevaluatedProperties: false
@@ -120,7 +125,8 @@ patternProperties:
1: Slow

If not present, the configuration made by the switch bootloader is
- preserved.
+ preserved, or the power-on default after a reset through
+ reset-gpios.
maxlinear,slew-rate-txd:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1]
@@ -131,7 +137,8 @@ patternProperties:
1: Slow

If not present, the configuration made by the switch bootloader is
- preserved.
+ preserved, or the power-on default after a reset through
+ reset-gpios.
maxlinear,rmii-refclk-out:
type: boolean
description:
@@ -173,6 +180,7 @@ allOf:
mdio:
required:
- compatible
+ reset-gpios: false
else:
properties:
reg:

--
Git-155)