aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgal Liberman <igall@marvell.com>2018-05-14 11:20:54 +0300
committerStefan Roese <sr@denx.de>2021-04-29 07:45:24 +0200
commit341e548eb8f586c39c49efbd0b90eaf283fbee63 (patch)
treee6426dd0c088063f67402e48c2b6b6a8be23bf85 /include
parenta007f236260d15fadea6643b2dd8ca5e6387e506 (diff)
downloadu-boot-341e548eb8f586c39c49efbd0b90eaf283fbee63.zip
u-boot-341e548eb8f586c39c49efbd0b90eaf283fbee63.tar.gz
u-boot-341e548eb8f586c39c49efbd0b90eaf283fbee63.tar.bz2
phy: marvell: add support for SFI1
In CP115, comphy4 can be configured into SFI port1 (in addition to SFI0). This patch adds the option described above. In addition, rename all existing SFI/XFI references: COMPHY_TYPE_SFI --> COMPHY_TYPE_SFI0 No functional change for exsiting configuration. Change-Id: If9176222e0080424ba67347fe4d320215b1ba0c0 Signed-off-by: Igal Liberman <igall@marvell.com> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/comphy/comphy_data.h9
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 8e92705..8353a78 100644
--- a/include/dt-bindings/comphy/comphy_data.h
+++ b/include/dt-bindings/comphy/comphy_data.h
@@ -32,10 +32,11 @@
#define COMPHY_TYPE_USB3_DEVICE 13
#define COMPHY_TYPE_RXAUI0 14
#define COMPHY_TYPE_RXAUI1 15
-#define COMPHY_TYPE_SFI 16
-#define COMPHY_TYPE_AP 17
-#define COMPHY_TYPE_IGNORE 18
-#define COMPHY_TYPE_MAX 19
+#define COMPHY_TYPE_SFI0 16
+#define COMPHY_TYPE_SFI1 17
+#define COMPHY_TYPE_AP 18
+#define COMPHY_TYPE_IGNORE 19
+#define COMPHY_TYPE_MAX 20
#define COMPHY_TYPE_INVALID 0xff
#define COMPHY_POLARITY_NO_INVERT 0