summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2019-10-15 13:30:39 +0300
committerStefan Roese <sr@denx.de>2021-04-29 08:45:24 +0300
commit5ed3dc27bb41fc3e9ab92e703e86fdd7fa1b4ef6 (patch)
tree56178ad760e347202a7be3f9b23f9a0db2ba4bae /include/dt-bindings
parentb21e1f36d447a45a52deeeb8ed18d05e1e9a494c (diff)
downloadu-boot-5ed3dc27bb41fc3e9ab92e703e86fdd7fa1b4ef6.tar.xz
phy: marvell: cp110: remove unused definitions
Even if comphy types of SATA2/SATA3/SGMII3 and comphy speeds of 1.5G/3G/6.25G were referenced in the driver non configuration (dts) was using it. This patch removes unused definitions. Change-Id: I53ed6f9d3a82b9d18cb4e488bc14d3cf687f9488 Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/comphy/comphy_data.h50
1 files changed, 20 insertions, 30 deletions
diff --git a/include/dt-bindings/comphy/comphy_data.h b/include/dt-bindings/comphy/comphy_data.h
index 7d62dcf7fa..8e92705989 100644
--- a/include/dt-bindings/comphy/comphy_data.h
+++ b/include/dt-bindings/comphy/comphy_data.h
@@ -7,16 +7,13 @@
#define _COMPHY_DATA_H_
#define COMPHY_SPEED_1_25G 0
-#define COMPHY_SPEED_1_5G 1
-#define COMPHY_SPEED_2_5G 2
-#define COMPHY_SPEED_3G 3
-#define COMPHY_SPEED_3_125G 4
-#define COMPHY_SPEED_5G 5
-#define COMPHY_SPEED_5_15625G 6
-#define COMPHY_SPEED_6G 7
-#define COMPHY_SPEED_6_25G 8
-#define COMPHY_SPEED_10_3125G 9
-#define COMPHY_SPEED_MAX 10
+#define COMPHY_SPEED_2_5G 1
+#define COMPHY_SPEED_3_125G 2
+#define COMPHY_SPEED_5G 3
+#define COMPHY_SPEED_5_15625G 4
+#define COMPHY_SPEED_6G 5
+#define COMPHY_SPEED_10_3125G 6
+#define COMPHY_SPEED_MAX 7
#define COMPHY_SPEED_INVALID 0xff
#define COMPHY_TYPE_UNCONNECTED 0
@@ -26,26 +23,19 @@
#define COMPHY_TYPE_PEX3 4
#define COMPHY_TYPE_SATA0 5
#define COMPHY_TYPE_SATA1 6
-#define COMPHY_TYPE_SATA2 7
-#define COMPHY_TYPE_SATA3 8
-#define COMPHY_TYPE_SGMII0 9
-#define COMPHY_TYPE_SGMII1 10
-#define COMPHY_TYPE_SGMII2 11
-#define COMPHY_TYPE_SGMII3 12
-#define COMPHY_TYPE_QSGMII 13
-#define COMPHY_TYPE_USB3 14
-#define COMPHY_TYPE_USB3_HOST0 15
-#define COMPHY_TYPE_USB3_HOST1 16
-#define COMPHY_TYPE_USB3_DEVICE 17
-#define COMPHY_TYPE_XAUI0 18
-#define COMPHY_TYPE_XAUI1 19
-#define COMPHY_TYPE_XAUI2 20
-#define COMPHY_TYPE_XAUI3 21
-#define COMPHY_TYPE_RXAUI0 22
-#define COMPHY_TYPE_RXAUI1 23
-#define COMPHY_TYPE_SFI 24
-#define COMPHY_TYPE_IGNORE 25
-#define COMPHY_TYPE_MAX 26
+#define COMPHY_TYPE_SGMII0 7
+#define COMPHY_TYPE_SGMII1 8
+#define COMPHY_TYPE_SGMII2 9
+#define COMPHY_TYPE_USB3 10
+#define COMPHY_TYPE_USB3_HOST0 11
+#define COMPHY_TYPE_USB3_HOST1 12
+#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_INVALID 0xff
#define COMPHY_POLARITY_NO_INVERT 0