Skip to content

Commit aacaf7b

Browse files
Siddharth-Vadapalli-at-TIkuba-moo
authored andcommitted
dt-bindings: net: ti: k3-am654-cpsw-nuss: Document Serdes PHY
Update bindings to include Serdes PHY as an optional PHY, in addition to the existing CPSW MAC's PHY. The CPSW MAC's PHY is required while the Serdes PHY is optional. The Serdes PHY handle has to be provided only when the Serdes is being configured in a Single-Link protocol. Using the name "serdes-phy" to represent the Serdes PHY handle, the am65-cpsw-nuss driver can obtain the Serdes PHY and request the Serdes to be configured. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 939a3f2 commit aacaf7b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,18 @@ properties:
126126
description: CPSW port number
127127

128128
phys:
129-
maxItems: 1
130-
description: phandle on phy-gmii-sel PHY
129+
minItems: 1
130+
items:
131+
- description: CPSW MAC's PHY.
132+
- description: Serdes PHY. Serdes PHY is required only if
133+
the Serdes has to be configured in the
134+
Single-Link configuration.
135+
136+
phy-names:
137+
minItems: 1
138+
items:
139+
- const: mac
140+
- const: serdes
131141

132142
label:
133143
description: label associated with this port

0 commit comments

Comments
 (0)