[PATCH v3 3/8] dt-bindings: imx: Add clock binding for i.MXRT1170

2022-07-27 Thread sbabic
> Add the clock binding doc for i.MXRT1170.
> Signed-off-by: Jesse Taube 
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=


[PATCH v3 3/8] dt-bindings: imx: Add clock binding for i.MXRT1170

2022-07-25 Thread Jesse Taube
Add the clock binding doc for i.MXRT1170.

Signed-off-by: Jesse Taube 
---
V1 -> V2:
* Nothing done
V2 -> V3:
* Nothing done
---
 include/dt-bindings/clock/imxrt1170-clock.h | 48 +
 1 file changed, 48 insertions(+)
 create mode 100644 include/dt-bindings/clock/imxrt1170-clock.h

diff --git a/include/dt-bindings/clock/imxrt1170-clock.h 
b/include/dt-bindings/clock/imxrt1170-clock.h
new file mode 100644
index 00..8ab8018a15
--- /dev/null
+++ b/include/dt-bindings/clock/imxrt1170-clock.h
@@ -0,0 +1,48 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2022
+ * Author(s): Jesse Taube 
+ */
+
+#ifndef __DT_BINDINGS_CLOCK_IMXRT1170_H
+#define __DT_BINDINGS_CLOCK_IMXRT1170_H
+
+#define IMXRT1170_CLK_DUMMY0
+#define IMXRT1170_CLK_OSC  1
+#define IMXRT1170_CLK_OSC_32K  2
+#define IMXRT1170_CLK_RCOSC_16M3
+#define IMXRT1170_CLK_RCOSC_48M4
+#define IMXRT1170_CLK_RCOSC_48M_DIV2   5
+#define IMXRT1170_CLK_RCOSC_400M   6
+#define IMXRT1170_CLK_PLL_ARM  7
+#define IMXRT1170_CLK_PLL_AUDIO8
+#define IMXRT1170_CLK_PLL_VIDEO9
+#define IMXRT1170_CLK_PLL1 10
+#define IMXRT1170_CLK_PLL1_DIV211
+#define IMXRT1170_CLK_PLL1_DIV512
+#define IMXRT1170_CLK_PLL2 13
+#define IMXRT1170_CLK_PLL2_PFD014
+#define IMXRT1170_CLK_PLL2_PFD115
+#define IMXRT1170_CLK_PLL2_PFD216
+#define IMXRT1170_CLK_PLL2_PFD317
+#define IMXRT1170_CLK_PLL3 18
+#define IMXRT1170_CLK_PLL3_DIV219
+#define IMXRT1170_CLK_PLL3_PFD020
+#define IMXRT1170_CLK_PLL3_PFD121
+#define IMXRT1170_CLK_PLL3_PFD222
+#define IMXRT1170_CLK_PLL3_PFD323
+#define IMXRT1170_CLK_M7   24
+#define IMXRT1170_CLK_M4   25
+#define IMXRT1170_CLK_BUS  26
+#define IMXRT1170_CLK_BUS_LPSR 27
+#define IMXRT1170_CLK_LPUART1_SEL  28
+#define IMXRT1170_CLK_LPUART1  29
+#define IMXRT1170_CLK_USDHC1_SEL   30
+#define IMXRT1170_CLK_USDHC1   31
+#define IMXRT1170_CLK_GPT1_SEL 32
+#define IMXRT1170_CLK_GPT1 33
+#define IMXRT1170_CLK_SEMC_SEL 34
+#define IMXRT1170_CLK_SEMC 35
+#define IMXRT1170_CLK_END  36
+
+#endif /* __DT_BINDINGS_CLOCK_IMXRT1170_H */
-- 
2.36.1