realtek: add PLL DT binding includes
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 24 Aug 2022 18:57:05 +0000 (20:57 +0200)
committerSander Vanheule <sander@svanheule.net>
Sun, 28 Aug 2022 09:03:34 +0000 (11:03 +0200)
Add some constants for sharing between DT and drivers.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/files-5.10/include/dt-bindings/clock/rtl83xx-clk.h [new file with mode: 0644]

diff --git a/target/linux/realtek/files-5.10/include/dt-bindings/clock/rtl83xx-clk.h b/target/linux/realtek/files-5.10/include/dt-bindings/clock/rtl83xx-clk.h
new file mode 100644 (file)
index 0000000..3937052
--- /dev/null
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (C) 2022 Markus Stockhausen
+ *
+ * RTL83XX clock indices
+ */
+#ifndef __DT_BINDINGS_CLOCK_RTL83XX_H
+#define __DT_BINDINGS_CLOCK_RTL83XX_H
+
+#define CLK_CPU                0
+#define CLK_MEM                1
+#define CLK_LXB                2
+#define CLK_COUNT      3
+
+#endif /* __DT_BINDINGS_CLOCK_RTL83XX_H */