diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-09-19 11:16:39 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-03 09:36:06 -0500 |
commit | 3c57b620db1764335caaba0367e46b058ff9d724 (patch) | |
tree | bf452a9e255885998cc8c769f8cfe8cc8449a0fb /include | |
parent | 4040148b9e932124f843f309d0b344376337311b (diff) | |
download | u-boot-3c57b620db1764335caaba0367e46b058ff9d724.tar.gz |
net: ti: cpsw: add support for standard eth "max-speed" dt property
This patch adds support for standard Ethernet "max-speed" DT property to
allow PHY link speed limitation.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/cpsw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cpsw.h b/include/cpsw.h index 96ff254f98..c7532fc866 100644 --- a/include/cpsw.h +++ b/include/cpsw.h @@ -39,6 +39,7 @@ struct cpsw_slave_data { int phy_addr; int phy_if; int phy_of_handle; + int max_speed; }; enum { |