diff options
author | Igal Liberman <igall@marvell.com> | 2017-04-24 18:45:28 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-05-09 13:38:18 +0200 |
commit | b617a0d7b8b19cfd01c4dec6089886d3f897da5c (patch) | |
tree | 71c93d1989b497a716088f238e74236988fd4947 /include | |
parent | fdc9e88088a774c6de0382f5a05a32dd8684b0bb (diff) | |
download | u-boot-b617a0d7b8b19cfd01c4dec6089886d3f897da5c.tar.gz |
phy: marvell: cp110: add 5G XFI mode
This patch adds the option to configure a comphy to 5G XFI mode.
In order to configure the comphy to 5G XFI, update
the comphy node in the device-tree:
phy2 {
phy-type = <PHY_TYPE_SFI>;
phy-speed = <PHY_SPEED_5_15625G>;
};
Signed-off-by: Igal Liberman <igall@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/comphy/comphy_data.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/dt-bindings/comphy/comphy_data.h b/include/dt-bindings/comphy/comphy_data.h index 5eb32ef684..0983116038 100644 --- a/include/dt-bindings/comphy/comphy_data.h +++ b/include/dt-bindings/comphy/comphy_data.h @@ -13,10 +13,11 @@ #define PHY_SPEED_3G 3 #define PHY_SPEED_3_125G 4 #define PHY_SPEED_5G 5 -#define PHY_SPEED_6G 6 -#define PHY_SPEED_6_25G 7 -#define PHY_SPEED_10_3125G 8 -#define PHY_SPEED_MAX 9 +#define PHY_SPEED_5_15625G 6 +#define PHY_SPEED_6G 7 +#define PHY_SPEED_6_25G 8 +#define PHY_SPEED_10_3125G 9 +#define PHY_SPEED_MAX 10 #define PHY_SPEED_INVALID 0xff #define PHY_TYPE_UNCONNECTED 0 |