Skip to content

Commit e26f40a

Browse files
oleremdavem330
authored andcommitted
dt-bindings: net: dsa: microchip: Update ksz device tree bindings for drive strength
Extend device tree bindings to support drive strength configuration for the ksz* switches. Introduced properties: - microchip,hi-drive-strength-microamp: Controls the drive strength for high-speed interfaces like GMII/RGMII and more. - microchip,lo-drive-strength-microamp: Governs the drive strength for low-speed interfaces such as LEDs, PME_N, and others. - microchip,io-drive-strength-microamp: Controls the drive strength for for undocumented Pads on KSZ88xx variants. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b6a7eeb commit e26f40a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,26 @@ properties:
4949
Set if the output SYNCLKO clock should be disabled. Do not mix with
5050
microchip,synclko-125.
5151

52+
microchip,io-drive-strength-microamp:
53+
description:
54+
IO Pad Drive Strength
55+
enum: [8000, 16000]
56+
default: 16000
57+
58+
microchip,hi-drive-strength-microamp:
59+
description:
60+
High Speed Drive Strength. Controls drive strength of GMII / RGMII /
61+
MII / RMII (except TX_CLK/REFCLKI, COL and CRS) and CLKO_25_125 lines.
62+
enum: [2000, 4000, 8000, 12000, 16000, 20000, 24000, 28000]
63+
default: 24000
64+
65+
microchip,lo-drive-strength-microamp:
66+
description:
67+
Low Speed Drive Strength. Controls drive strength of TX_CLK / REFCLKI,
68+
COL, CRS, LEDs, PME_N, NTRP_N, SDO and SDI/SDA/MDIO lines.
69+
enum: [2000, 4000, 8000, 12000, 16000, 20000, 24000, 28000]
70+
default: 8000
71+
5272
interrupts:
5373
maxItems: 1
5474

0 commit comments

Comments
 (0)