]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: phy: Add defines for AM64 SERDES Wrapper
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 21 Jul 2021 15:58:33 +0000 (21:28 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 27 Jul 2021 05:26:53 +0000 (10:56 +0530)
Add defines for AM64 SERDES Wrapper.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210721155849.20994-5-kishon@ti.com
include/dt-bindings/phy/phy-ti.h [new file with mode: 0644]

diff --git a/include/dt-bindings/phy/phy-ti.h b/include/dt-bindings/phy/phy-ti.h
new file mode 100644 (file)
index 0000000..ad955d3
--- /dev/null
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This header provides constants for TI SERDES.
+ */
+
+#ifndef _DT_BINDINGS_TI_SERDES
+#define _DT_BINDINGS_TI_SERDES
+
+/* Clock index for output clocks from WIZ */
+
+/* MUX Clocks */
+#define TI_WIZ_PLL0_REFCLK     0
+#define TI_WIZ_PLL1_REFCLK     1
+#define TI_WIZ_REFCLK_DIG      2
+
+/* Reserve index here for future additions */
+
+/* MISC Clocks */
+#define TI_WIZ_PHY_EN_REFCLK   16
+
+#endif /* _DT_BINDINGS_TI_SERDES */