aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/include/dt-bindings/phy
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/include/dt-bindings/phy')
-rw-r--r--roms/u-boot/include/dt-bindings/phy/phy-am654-serdes.h13
-rw-r--r--roms/u-boot/include/dt-bindings/phy/phy.h23
2 files changed, 36 insertions, 0 deletions
diff --git a/roms/u-boot/include/dt-bindings/phy/phy-am654-serdes.h b/roms/u-boot/include/dt-bindings/phy/phy-am654-serdes.h
new file mode 100644
index 000000000..e8d901729
--- /dev/null
+++ b/roms/u-boot/include/dt-bindings/phy/phy-am654-serdes.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This header provides constants for AM654 SERDES.
+ */
+
+#ifndef _DT_BINDINGS_AM654_SERDES
+#define _DT_BINDINGS_AM654_SERDES
+
+#define AM654_SERDES_CMU_REFCLK 0
+#define AM654_SERDES_LO_REFCLK 1
+#define AM654_SERDES_RO_REFCLK 2
+
+#endif /* _DT_BINDINGS_AM654_SERDES */
diff --git a/roms/u-boot/include/dt-bindings/phy/phy.h b/roms/u-boot/include/dt-bindings/phy/phy.h
new file mode 100644
index 000000000..7e657da45
--- /dev/null
+++ b/roms/u-boot/include/dt-bindings/phy/phy.h
@@ -0,0 +1,23 @@
+/*
+ *
+ * This header provides constants for the phy framework
+ *
+ * Copyright (C) 2014 STMicroelectronics
+ * Author: Gabriel Fernandez <gabriel.fernandez@st.com>
+ * License terms: GNU General Public License (GPL), version 2
+ */
+
+#ifndef _DT_BINDINGS_PHY
+#define _DT_BINDINGS_PHY
+
+#define PHY_NONE 0
+#define PHY_TYPE_SATA 1
+#define PHY_TYPE_PCIE 2
+#define PHY_TYPE_USB2 3
+#define PHY_TYPE_USB3 4
+#define PHY_TYPE_UFS 5
+#define PHY_TYPE_DP 6
+#define PHY_TYPE_XPCS 7
+#define PHY_TYPE_SGMII 8
+
+#endif /* _DT_BINDINGS_PHY */