Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Joseph Telaak via B4 Relay
Thu, 12 Nov 2026 21:39
[PATCH net-next v3 1/2] dt-bindings: net: dsa: lantiq,gswip: add reset-gpios
Author: Joseph Telaak via B4 Relay
Date: Thu, 12 Nov 2026 21:39
Date: Thu, 12 Nov 2026 21:39
64 lines
12550 bytes
12550 bytes
From: Joseph Telaak <joseph@telaak.dev>
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@kernel.org>
Signed-off-by: Joseph Telaak <joseph@telaak.dev>
---
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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads