Commit ad57b785 authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Kishon Vijay Abraham I

dt-bindings: net: ti: cpsw: switch to use phy-gmii-sel phy

The cpsw-phy-sel driver was replaced with new PHY driver phy-gmii-sel, so
deprecate cpsw-phy-sel bindings and update CPSW binding to use phy-gmii-sel
PHY bindings.

Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 92b58b34
...@@ -22,7 +22,8 @@ Required properties: ...@@ -22,7 +22,8 @@ Required properties:
- cpsw-phy-sel : Specifies the phandle to the CPSW phy mode selection - cpsw-phy-sel : Specifies the phandle to the CPSW phy mode selection
device. See also cpsw-phy-sel.txt for it's binding. device. See also cpsw-phy-sel.txt for it's binding.
Note that in legacy cases cpsw-phy-sel may be Note that in legacy cases cpsw-phy-sel may be
a child device instead of a phandle. a child device instead of a phandle
(DEPRECATED, use phys property instead).
Optional properties: Optional properties:
- ti,hwmods : Must be "cpgmac0" - ti,hwmods : Must be "cpgmac0"
...@@ -44,6 +45,7 @@ Optional properties: ...@@ -44,6 +45,7 @@ Optional properties:
Slave Properties: Slave Properties:
Required properties: Required properties:
- phy-mode : See ethernet.txt file in the same directory - phy-mode : See ethernet.txt file in the same directory
- phys : phandle on phy-gmii-sel PHY (see phy/ti-phy-gmii-sel.txt)
Optional properties: Optional properties:
- dual_emac_res_vlan : Specifies VID to be used to segregate the ports - dual_emac_res_vlan : Specifies VID to be used to segregate the ports
...@@ -85,12 +87,14 @@ Examples: ...@@ -85,12 +87,14 @@ Examples:
phy-mode = "rgmii-txid"; phy-mode = "rgmii-txid";
/* Filled in by U-Boot */ /* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ]; mac-address = [ 00 00 00 00 00 00 ];
phys = <&phy_gmii_sel 1 0>;
}; };
cpsw_emac1: slave@1 { cpsw_emac1: slave@1 {
phy_id = <&davinci_mdio>, <1>; phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii-txid"; phy-mode = "rgmii-txid";
/* Filled in by U-Boot */ /* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ]; mac-address = [ 00 00 00 00 00 00 ];
phys = <&phy_gmii_sel 2 0>;
}; };
}; };
...@@ -114,11 +118,13 @@ Examples: ...@@ -114,11 +118,13 @@ Examples:
phy-mode = "rgmii-txid"; phy-mode = "rgmii-txid";
/* Filled in by U-Boot */ /* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ]; mac-address = [ 00 00 00 00 00 00 ];
phys = <&phy_gmii_sel 1 0>;
}; };
cpsw_emac1: slave@1 { cpsw_emac1: slave@1 {
phy_id = <&davinci_mdio>, <1>; phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii-txid"; phy-mode = "rgmii-txid";
/* Filled in by U-Boot */ /* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ]; mac-address = [ 00 00 00 00 00 00 ];
phys = <&phy_gmii_sel 2 0>;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment