diff options
Diffstat (limited to 'Documentation/devicetree/bindings/net/cpsw.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/cpsw.txt | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/net/cpsw.txt b/Documentation/devicetree/bindings/net/cpsw.txt index ecfdf756d10f..4f2ca6b4a182 100644 --- a/Documentation/devicetree/bindings/net/cpsw.txt +++ b/Documentation/devicetree/bindings/net/cpsw.txt | |||
@@ -15,16 +15,22 @@ Required properties: | |||
15 | - mac_control : Specifies Default MAC control register content | 15 | - mac_control : Specifies Default MAC control register content |
16 | for the specific platform | 16 | for the specific platform |
17 | - slaves : Specifies number for slaves | 17 | - slaves : Specifies number for slaves |
18 | - cpts_active_slave : Specifies the slave to use for time stamping | 18 | - active_slave : Specifies the slave to use for time stamping, |
19 | ethtool and SIOCGMIIPHY | ||
19 | - cpts_clock_mult : Numerator to convert input clock ticks into nanoseconds | 20 | - cpts_clock_mult : Numerator to convert input clock ticks into nanoseconds |
20 | - cpts_clock_shift : Denominator to convert input clock ticks into nanoseconds | 21 | - cpts_clock_shift : Denominator to convert input clock ticks into nanoseconds |
21 | - phy_id : Specifies slave phy id | ||
22 | - mac-address : Specifies slave MAC address | ||
23 | 22 | ||
24 | Optional properties: | 23 | Optional properties: |
25 | - ti,hwmods : Must be "cpgmac0" | 24 | - ti,hwmods : Must be "cpgmac0" |
26 | - no_bd_ram : Must be 0 or 1 | 25 | - no_bd_ram : Must be 0 or 1 |
27 | - dual_emac : Specifies Switch to act as Dual EMAC | 26 | - dual_emac : Specifies Switch to act as Dual EMAC |
27 | |||
28 | Slave Properties: | ||
29 | Required properties: | ||
30 | - phy_id : Specifies slave phy id | ||
31 | - mac-address : Specifies slave MAC address | ||
32 | |||
33 | Optional properties: | ||
28 | - dual_emac_res_vlan : Specifies VID to be used to segregate the ports | 34 | - dual_emac_res_vlan : Specifies VID to be used to segregate the ports |
29 | 35 | ||
30 | Note: "ti,hwmods" field is used to fetch the base address and irq | 36 | Note: "ti,hwmods" field is used to fetch the base address and irq |
@@ -47,7 +53,7 @@ Examples: | |||
47 | rx_descs = <64>; | 53 | rx_descs = <64>; |
48 | mac_control = <0x20>; | 54 | mac_control = <0x20>; |
49 | slaves = <2>; | 55 | slaves = <2>; |
50 | cpts_active_slave = <0>; | 56 | active_slave = <0>; |
51 | cpts_clock_mult = <0x80000000>; | 57 | cpts_clock_mult = <0x80000000>; |
52 | cpts_clock_shift = <29>; | 58 | cpts_clock_shift = <29>; |
53 | cpsw_emac0: slave@0 { | 59 | cpsw_emac0: slave@0 { |
@@ -73,7 +79,7 @@ Examples: | |||
73 | rx_descs = <64>; | 79 | rx_descs = <64>; |
74 | mac_control = <0x20>; | 80 | mac_control = <0x20>; |
75 | slaves = <2>; | 81 | slaves = <2>; |
76 | cpts_active_slave = <0>; | 82 | active_slave = <0>; |
77 | cpts_clock_mult = <0x80000000>; | 83 | cpts_clock_mult = <0x80000000>; |
78 | cpts_clock_shift = <29>; | 84 | cpts_clock_shift = <29>; |
79 | cpsw_emac0: slave@0 { | 85 | cpsw_emac0: slave@0 { |