Skip to content

Commit f0706c0

Browse files
Danielmachonkuba-moo
authored andcommitted
dt-bindings: net: sparx5: document RGMII delays
The lan969x switch device supports two RGMII port interfaces that can be configured for MAC level rx and tx delays. Document two new properties {rx,tx}-internal-delay-ps in the bindings, used to select these delays. Tested-by: Robert Marko <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Daniel Machon <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/20241220-sparx5-lan969x-switch-driver-4-v5-9-fa8ba5dff732@microchip.com Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 010fe5d commit f0706c0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,24 @@ properties:
129129
minimum: 0
130130
maximum: 383
131131

132+
rx-internal-delay-ps:
133+
description:
134+
RGMII Receive Clock Delay defined in pico seconds, used to select
135+
the DLL phase shift between 1000 ps (45 degree shift at 1Gbps) and
136+
3300 ps (147 degree shift at 1Gbps). A value of 0 ps will disable
137+
any delay. The Default is no delay.
138+
enum: [0, 1000, 1700, 2000, 2500, 3000, 3300]
139+
default: 0
140+
141+
tx-internal-delay-ps:
142+
description:
143+
RGMII Transmit Clock Delay defined in pico seconds, used to select
144+
the DLL phase shift between 1000 ps (45 degree shift at 1Gbps) and
145+
3300 ps (147 degree shift at 1Gbps). A value of 0 ps will disable
146+
any delay. The Default is no delay.
147+
enum: [0, 1000, 1700, 2000, 2500, 3000, 3300]
148+
default: 0
149+
132150
required:
133151
- reg
134152
- phys

0 commit comments

Comments
 (0)