Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327390
b: refs/heads/master
c: e07b94f
h: refs/heads/master
v: v3
  • Loading branch information
Mugunthan V N authored and David S. Miller committed Aug 7, 2012
1 parent fb8f785 commit e2ccb99
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 49 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec03e6a89e5168c92581a769681207c29ad2030f
refs/heads/master: e07b94f1352723994d8b588ac5ed8af91bcc9fb6
101 changes: 53 additions & 48 deletions trunk/Documentation/devicetree/bindings/net/cpsw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Required properties:
- cpdma_channels : Specifies number of channels in CPDMA
- host_port_no : Specifies host port shift
- cpdma_reg_ofs : Specifies CPDMA submodule register offset
- cpdma_sram_ofs : Specifies CPDMA SRAM offset
- ale_reg_ofs : Specifies ALE submodule register offset
- ale_entries : Specifies No of entries ALE can hold
- host_port_reg_ofs : Specifies host port register offset
Expand Down Expand Up @@ -43,62 +44,66 @@ Examples:
reg = <0x4A100000 0x1000>;
interrupts = <55 0x4>;
interrupt-parent = <&intc>;
cpdma_channels = 8;
host_port_no = 0;
cpdma_reg_ofs = 0x800;
ale_reg_ofs = 0xd00;
ale_entries = 1024;
host_port_reg_ofs = 0x108;
hw_stats_reg_ofs = 0x900;
bd_ram_ofs = 0x2000;
bd_ram_size = 0x2000;
no_bd_ram = 0;
rx_descs = 64;
mac_control = 0x20;
slaves = 2;
slave@0 {
slave_reg_ofs = 0x208;
sliver_reg_ofs = 0xd80;
phy_id = "davinci_mdio-0:00"
mac-address = [00 04 9F 01 1B B8];
cpdma_channels = <8>;
host_port_no = <0>;
cpdma_reg_ofs = <0x800>;
cpdma_sram_ofs = <0xa00>;
ale_reg_ofs = <0xd00>;
ale_entries = <1024>;
host_port_reg_ofs = <0x108>;
hw_stats_reg_ofs = <0x900>;
bd_ram_ofs = <0x2000>;
bd_ram_size = <0x2000>;
no_bd_ram = <0>;
rx_descs = <64>;
mac_control = <0x20>;
slaves = <2>;
cpsw_emac0: slave@0 {
slave_reg_ofs = <0x208>;
sliver_reg_ofs = <0xd80>;
phy_id = "davinci_mdio.16:00";
/* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ];
};
slave@1 {
slave_reg_ofs = 0x208;
sliver_reg_ofs = 0xd80;
phy_id = "davinci_mdio-0:01"
mac-address = [00 04 9F 01 1B B9];
cpsw_emac1: slave@1 {
slave_reg_ofs = <0x308>;
sliver_reg_ofs = <0xdc0>;
phy_id = "davinci_mdio.16:01";
/* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ];
};
};

(or)

mac: ethernet@4A100000 {
compatible = "ti,cpsw";
ti,hwmods = "cpgmac0";
cpdma_channels = 8;
host_port_no = 0;
cpdma_reg_ofs = 0x800;
ale_reg_ofs = 0xd00;
ale_entries = 1024;
host_port_reg_ofs = 0x108;
hw_stats_reg_ofs = 0x900;
bd_ram_ofs = 0x2000;
bd_ram_size = 0x2000;
no_bd_ram = 0;
rx_descs = 64;
mac_control = 0x20;
slaves = 2;
slave@0 {
slave_reg_ofs = 0x208;
sliver_reg_ofs = 0xd80;
phy_id = "davinci_mdio-0:00"
mac-address = [00 04 9F 01 1B B8];
cpdma_channels = <8>;
host_port_no = <0>;
cpdma_reg_ofs = <0x800>;
cpdma_sram_ofs = <0xa00>;
ale_reg_ofs = <0xd00>;
ale_entries = <1024>;
host_port_reg_ofs = <0x108>;
hw_stats_reg_ofs = <0x900>;
bd_ram_ofs = <0x2000>;
bd_ram_size = <0x2000>;
no_bd_ram = <0>;
rx_descs = <64>;
mac_control = <0x20>;
slaves = <2>;
cpsw_emac0: slave@0 {
slave_reg_ofs = <0x208>;
sliver_reg_ofs = <0xd80>;
phy_id = "davinci_mdio.16:00";
/* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ];
};
slave@1 {
slave_reg_ofs = 0x208;
sliver_reg_ofs = 0xd80;
phy_id = "davinci_mdio-0:01"
mac-address = [00 04 9F 01 1B B9];
cpsw_emac1: slave@1 {
slave_reg_ofs = <0x308>;
sliver_reg_ofs = <0xdc0>;
phy_id = "davinci_mdio.16:01";
/* Filled in by U-Boot */
mac-address = [ 00 00 00 00 00 00 ];
};

};

0 comments on commit e2ccb99

Please sign in to comment.