aboutsummaryrefslogtreecommitdiff
path: root/include/phy_interface.h
diff options
context:
space:
mode:
authorAlex Marginean <alexandru.marginean@nxp.com>2019-11-14 18:28:28 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2019-12-09 09:47:42 -0600
commit17285fc2833e0db04a2bd3d411cdf1a3e387de83 (patch)
tree40aa0422555af413b14bbbe1fb7912fdb686e81e /include/phy_interface.h
parent389488df92f08eed95149e66562d29db634af6a3 (diff)
downloadu-boot-17285fc2833e0db04a2bd3d411cdf1a3e387de83.zip
u-boot-17285fc2833e0db04a2bd3d411cdf1a3e387de83.tar.gz
u-boot-17285fc2833e0db04a2bd3d411cdf1a3e387de83.tar.bz2
include: phy: define XFI and USXGMII interface types
Drivers currently use XGMII for XFI and USXGMII and, where needed, use other information to identify the actual protocol on the board. With these two defined drivers can now rely on DT phy-mode property. Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/phy_interface.h')
-rw-r--r--include/phy_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/phy_interface.h b/include/phy_interface.h
index c682318..73f3a36 100644
--- a/include/phy_interface.h
+++ b/include/phy_interface.h
@@ -31,6 +31,8 @@ typedef enum {
PHY_INTERFACE_MODE_XLAUI,
PHY_INTERFACE_MODE_CAUI2,
PHY_INTERFACE_MODE_CAUI4,
+ PHY_INTERFACE_MODE_XFI,
+ PHY_INTERFACE_MODE_USXGMII,
PHY_INTERFACE_MODE_NONE, /* Must be last */
PHY_INTERFACE_MODE_COUNT,
@@ -58,6 +60,8 @@ static const char * const phy_interface_strings[] = {
[PHY_INTERFACE_MODE_XLAUI] = "xlaui4",
[PHY_INTERFACE_MODE_CAUI2] = "caui2",
[PHY_INTERFACE_MODE_CAUI4] = "caui4",
+ [PHY_INTERFACE_MODE_XFI] = "xfi",
+ [PHY_INTERFACE_MODE_USXGMII] = "usxgmii",
[PHY_INTERFACE_MODE_NONE] = "",
};