| .. | .. |
|---|
| 22 | 22 | - cpsw-phy-sel : Specifies the phandle to the CPSW phy mode selection |
|---|
| 23 | 23 | device. See also cpsw-phy-sel.txt for it's binding. |
|---|
| 24 | 24 | Note that in legacy cases cpsw-phy-sel may be |
|---|
| 25 | | - a child device instead of a phandle. |
|---|
| 25 | + a child device instead of a phandle |
|---|
| 26 | + (DEPRECATED, use phys property instead). |
|---|
| 26 | 27 | |
|---|
| 27 | 28 | Optional properties: |
|---|
| 28 | 29 | - ti,hwmods : Must be "cpgmac0" |
|---|
| .. | .. |
|---|
| 44 | 45 | Slave Properties: |
|---|
| 45 | 46 | Required properties: |
|---|
| 46 | 47 | - phy-mode : See ethernet.txt file in the same directory |
|---|
| 48 | +- phys : phandle on phy-gmii-sel PHY (see phy/ti-phy-gmii-sel.txt) |
|---|
| 47 | 49 | |
|---|
| 48 | 50 | Optional properties: |
|---|
| 49 | 51 | - dual_emac_res_vlan : Specifies VID to be used to segregate the ports |
|---|
| 50 | | -- mac-address : See ethernet.txt file in the same directory |
|---|
| 51 | 52 | - phy_id : Specifies slave phy id (deprecated, use phy-handle) |
|---|
| 52 | 53 | - phy-handle : See ethernet.txt file in the same directory |
|---|
| 54 | + |
|---|
| 55 | +The MAC address will be determined using the optional properties |
|---|
| 56 | +defined in ethernet.txt. |
|---|
| 53 | 57 | |
|---|
| 54 | 58 | Slave sub-nodes: |
|---|
| 55 | 59 | - fixed-link : See fixed-link.txt file in the same directory |
|---|
| .. | .. |
|---|
| 85 | 89 | phy-mode = "rgmii-txid"; |
|---|
| 86 | 90 | /* Filled in by U-Boot */ |
|---|
| 87 | 91 | mac-address = [ 00 00 00 00 00 00 ]; |
|---|
| 92 | + phys = <&phy_gmii_sel 1 0>; |
|---|
| 88 | 93 | }; |
|---|
| 89 | 94 | cpsw_emac1: slave@1 { |
|---|
| 90 | 95 | phy_id = <&davinci_mdio>, <1>; |
|---|
| 91 | 96 | phy-mode = "rgmii-txid"; |
|---|
| 92 | 97 | /* Filled in by U-Boot */ |
|---|
| 93 | 98 | mac-address = [ 00 00 00 00 00 00 ]; |
|---|
| 99 | + phys = <&phy_gmii_sel 2 0>; |
|---|
| 94 | 100 | }; |
|---|
| 95 | 101 | }; |
|---|
| 96 | 102 | |
|---|
| .. | .. |
|---|
| 114 | 120 | phy-mode = "rgmii-txid"; |
|---|
| 115 | 121 | /* Filled in by U-Boot */ |
|---|
| 116 | 122 | mac-address = [ 00 00 00 00 00 00 ]; |
|---|
| 123 | + phys = <&phy_gmii_sel 1 0>; |
|---|
| 117 | 124 | }; |
|---|
| 118 | 125 | cpsw_emac1: slave@1 { |
|---|
| 119 | 126 | phy_id = <&davinci_mdio>, <1>; |
|---|
| 120 | 127 | phy-mode = "rgmii-txid"; |
|---|
| 121 | 128 | /* Filled in by U-Boot */ |
|---|
| 122 | 129 | mac-address = [ 00 00 00 00 00 00 ]; |
|---|
| 130 | + phys = <&phy_gmii_sel 2 0>; |
|---|
| 123 | 131 | }; |
|---|
| 124 | 132 | }; |
|---|