]> Pileus Git - ~andy/linux/blobdiff - Documentation/devicetree/bindings/net/cpsw.txt
cpsw: add a DT field for the cpts offset
[~andy/linux] / Documentation / devicetree / bindings / net / cpsw.txt
index dcaabe9fe869d7f029f413d6d97335549974fd05..dba014fc5e7b99d56326e886b7265eb696559b90 100644 (file)
@@ -16,6 +16,7 @@ Required properties:
 - ale_entries          : Specifies No of entries ALE can hold
 - host_port_reg_ofs    : Specifies host port register offset
 - hw_stats_reg_ofs     : Specifies hardware statistics register offset
+- cpts_reg_ofs         : Specifies the offset of the CPTS registers
 - bd_ram_ofs           : Specifies internal desciptor RAM offset
 - bd_ram_size          : Specifies internal descriptor RAM size
 - rx_descs             : Specifies number of Rx descriptors
@@ -52,6 +53,7 @@ Examples:
                ale_entries = <1024>;
                host_port_reg_ofs = <0x108>;
                hw_stats_reg_ofs = <0x900>;
+               cpts_reg_ofs = <0xc00>;
                bd_ram_ofs = <0x2000>;
                bd_ram_size = <0x2000>;
                no_bd_ram = <0>;
@@ -59,14 +61,14 @@ Examples:
                mac_control = <0x20>;
                slaves = <2>;
                cpsw_emac0: slave@0 {
-                       slave_reg_ofs = <0x208>;
+                       slave_reg_ofs = <0x200>;
                        sliver_reg_ofs = <0xd80>;
                        phy_id = "davinci_mdio.16:00";
                        /* Filled in by U-Boot */
                        mac-address = [ 00 00 00 00 00 00 ];
                };
                cpsw_emac1: slave@1 {
-                       slave_reg_ofs = <0x308>;
+                       slave_reg_ofs = <0x300>;
                        sliver_reg_ofs = <0xdc0>;
                        phy_id = "davinci_mdio.16:01";
                        /* Filled in by U-Boot */
@@ -86,6 +88,7 @@ Examples:
                ale_entries = <1024>;
                host_port_reg_ofs = <0x108>;
                hw_stats_reg_ofs = <0x900>;
+               cpts_reg_ofs = <0xc00>;
                bd_ram_ofs = <0x2000>;
                bd_ram_size = <0x2000>;
                no_bd_ram = <0>;
@@ -93,14 +96,14 @@ Examples:
                mac_control = <0x20>;
                slaves = <2>;
                cpsw_emac0: slave@0 {
-                       slave_reg_ofs = <0x208>;
+                       slave_reg_ofs = <0x200>;
                        sliver_reg_ofs = <0xd80>;
                        phy_id = "davinci_mdio.16:00";
                        /* Filled in by U-Boot */
                        mac-address = [ 00 00 00 00 00 00 ];
                };
                cpsw_emac1: slave@1 {
-                       slave_reg_ofs = <0x308>;
+                       slave_reg_ofs = <0x300>;
                        sliver_reg_ofs = <0xdc0>;
                        phy_id = "davinci_mdio.16:01";
                        /* Filled in by U-Boot */