From 3c57b620db1764335caaba0367e46b058ff9d724 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Thu, 19 Sep 2019 11:16:39 +0300 Subject: 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 --- include/cpsw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/cpsw.h') diff --git a/include/cpsw.h b/include/cpsw.h index 96ff254..c7532fc 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 { -- cgit v1.1