1 TI SoC Ethernet Switch Controller Device Tree Bindings
2 ------------------------------------------------------
5 - compatible : Should be "ti,cpsw"
6 - reg : physical base address and size of the cpsw
8 - interrupts : property with a value describing the interrupt
10 - interrupt-parent : The parent interrupt controller
11 - cpdma_channels : Specifies number of channels in CPDMA
12 - ale_entries : Specifies No of entries ALE can hold
13 - bd_ram_size : Specifies internal descriptor RAM size
14 - rx_descs : Specifies number of Rx descriptors
15 - mac_control : Specifies Default MAC control register content
16 for the specific platform
17 - slaves : Specifies number for slaves
18 - active_slave : Specifies the slave to use for time stamping,
19 ethtool and SIOCGMIIPHY
20 - cpts_clock_mult : Numerator to convert input clock ticks into nanoseconds
21 - cpts_clock_shift : Denominator to convert input clock ticks into nanoseconds
24 - ti,hwmods : Must be "cpgmac0"
25 - no_bd_ram : Must be 0 or 1
26 - dual_emac : Specifies Switch to act as Dual EMAC
27 - syscon : Phandle to the system control device node, which is
28 the control module device of the am33x
32 - phy_id : Specifies slave phy id
33 - phy-mode : See ethernet.txt file in the same directory
36 - dual_emac_res_vlan : Specifies VID to be used to segregate the ports
37 - mac-address : See ethernet.txt file in the same directory
39 Note: "ti,hwmods" field is used to fetch the base address and irq
40 resources from TI, omap hwmod data base during device registration.
41 Future plan is to migrate hwmod data base contents into device tree
42 blob so that, all the required data will be used from device tree dts
47 mac: ethernet@4A100000 {
48 compatible = "ti,cpsw";
49 reg = <0x4A100000 0x1000>;
50 interrupts = <55 0x4>;
51 interrupt-parent = <&intc>;
54 bd_ram_size = <0x2000>;
60 cpts_clock_mult = <0x80000000>;
61 cpts_clock_shift = <29>;
64 phy_id = <&davinci_mdio>, <0>;
65 phy-mode = "rgmii-txid";
66 /* Filled in by U-Boot */
67 mac-address = [ 00 00 00 00 00 00 ];
70 phy_id = <&davinci_mdio>, <1>;
71 phy-mode = "rgmii-txid";
72 /* Filled in by U-Boot */
73 mac-address = [ 00 00 00 00 00 00 ];
78 mac: ethernet@4A100000 {
79 compatible = "ti,cpsw";
80 ti,hwmods = "cpgmac0";
83 bd_ram_size = <0x2000>;
89 cpts_clock_mult = <0x80000000>;
90 cpts_clock_shift = <29>;
93 phy_id = <&davinci_mdio>, <0>;
94 phy-mode = "rgmii-txid";
95 /* Filled in by U-Boot */
96 mac-address = [ 00 00 00 00 00 00 ];
99 phy_id = <&davinci_mdio>, <1>;
100 phy-mode = "rgmii-txid";
101 /* Filled in by U-Boot */
102 mac-address = [ 00 00 00 00 00 00 ];