cpsw.txt (0337966d121ebebf73a1c346123e8112796e684e) cpsw.txt (afc3bca4cf9d269dcf9f3abd0d65e45a390f0e59)
1TI SoC Ethernet Switch Controller Device Tree Bindings
2------------------------------------------------------
3
4Required properties:
5- compatible : Should be one of the below:-
6 "ti,cpsw" for backward compatible
7 "ti,am335x-cpsw" for AM335x controllers
8 "ti,am4372-cpsw" for AM437x controllers

--- 47 unchanged lines hidden (view full) ---

56Note: "ti,hwmods" field is used to fetch the base address and irq
57resources from TI, omap hwmod data base during device registration.
58Future plan is to migrate hwmod data base contents into device tree
59blob so that, all the required data will be used from device tree dts
60file.
61
62Examples:
63
1TI SoC Ethernet Switch Controller Device Tree Bindings
2------------------------------------------------------
3
4Required properties:
5- compatible : Should be one of the below:-
6 "ti,cpsw" for backward compatible
7 "ti,am335x-cpsw" for AM335x controllers
8 "ti,am4372-cpsw" for AM437x controllers

--- 47 unchanged lines hidden (view full) ---

56Note: "ti,hwmods" field is used to fetch the base address and irq
57resources from TI, omap hwmod data base during device registration.
58Future plan is to migrate hwmod data base contents into device tree
59blob so that, all the required data will be used from device tree dts
60file.
61
62Examples:
63
64 mac: ethernet@4A100000 {
64 mac: ethernet@4a100000 {
65 compatible = "ti,cpsw";
66 reg = <0x4A100000 0x1000>;
67 interrupts = <55 0x4>;
68 interrupt-parent = <&intc>;
69 cpdma_channels = <8>;
70 ale_entries = <1024>;
71 bd_ram_size = <0x2000>;
72 rx_descs = <64>;

--- 13 unchanged lines hidden (view full) ---

86 phy_id = <&davinci_mdio>, <1>;
87 phy-mode = "rgmii-txid";
88 /* Filled in by U-Boot */
89 mac-address = [ 00 00 00 00 00 00 ];
90 };
91 };
92
93(or)
65 compatible = "ti,cpsw";
66 reg = <0x4A100000 0x1000>;
67 interrupts = <55 0x4>;
68 interrupt-parent = <&intc>;
69 cpdma_channels = <8>;
70 ale_entries = <1024>;
71 bd_ram_size = <0x2000>;
72 rx_descs = <64>;

--- 13 unchanged lines hidden (view full) ---

86 phy_id = <&davinci_mdio>, <1>;
87 phy-mode = "rgmii-txid";
88 /* Filled in by U-Boot */
89 mac-address = [ 00 00 00 00 00 00 ];
90 };
91 };
92
93(or)
94 mac: ethernet@4A100000 {
94 mac: ethernet@4a100000 {
95 compatible = "ti,cpsw";
96 ti,hwmods = "cpgmac0";
97 cpdma_channels = <8>;
98 ale_entries = <1024>;
99 bd_ram_size = <0x2000>;
100 rx_descs = <64>;
101 mac_control = <0x20>;
102 slaves = <2>;

--- 17 unchanged lines hidden ---
95 compatible = "ti,cpsw";
96 ti,hwmods = "cpgmac0";
97 cpdma_channels = <8>;
98 ale_entries = <1024>;
99 bd_ram_size = <0x2000>;
100 rx_descs = <64>;
101 mac_control = <0x20>;
102 slaves = <2>;

--- 17 unchanged lines hidden ---