Skip to content

Commit a5d2cb3

Browse files
David Rivshindavem330
authored andcommitted
dt: cpsw: phy-handle, phy_id, and fixed-link are mutually exclusive
The phy-handle, phy_id, and fixed-link properties are mutually exclusive, and only one need be specified. Make this clear in the binding doc. Also mark the phy_id property as deprecated, as phy-handle should be used instead. Signed-off-by: David Rivshin <drivshin@allworx.com> Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ae092b5 commit a5d2cb3

File tree

1 file changed

+3
-3
lines changed
  • Documentation/devicetree/bindings/net

1 file changed

+3
-3
lines changed

Documentation/devicetree/bindings/net/cpsw.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ Required properties:
4545
Optional properties:
4646
- dual_emac_res_vlan : Specifies VID to be used to segregate the ports
4747
- mac-address : See ethernet.txt file in the same directory
48-
- phy_id : Specifies slave phy id
48+
- phy_id : Specifies slave phy id (deprecated, use phy-handle)
4949
- phy-handle : See ethernet.txt file in the same directory
5050

5151
Slave sub-nodes:
5252
- fixed-link : See fixed-link.txt file in the same directory
53-
Either the property phy_id, or the sub-node
54-
fixed-link can be specified
53+
54+
Note: Exactly one of phy_id, phy-handle, or fixed-link must be specified.
5555

5656
Note: "ti,hwmods" field is used to fetch the base address and irq
5757
resources from TI, omap hwmod data base during device registration.

0 commit comments

Comments
 (0)