Thread (4 messages) 4 messages, 2 authors, 2021-01-06

Re: [PATCH 1/3] i.MX7: Add CCM definitions for UART3

From: Sascha Hauer <hidden>
Date: 2021-01-06 10:08:31

On Wed, Dec 16, 2020 at 02:09:47PM +0100, Steffen Trumtrar wrote:
Signed-off-by: Steffen Trumtrar <redacted>
---
 arch/arm/mach-imx/include/mach/imx7-ccm-regs.h | 4 ++++
 1 file changed, 4 insertions(+)
Applied, thanks

Sascha
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h b/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
index de6eb1bbd10d..5c60794ca74f 100644
--- a/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
@@ -3,6 +3,7 @@
 
 #define IMX7_CCM_CCGR_UART1		148
 #define IMX7_CCM_CCGR_UART2		149
+#define IMX7_CCM_CCGR_UART3		150
 
 #define IMX7_CLOCK_ROOT_INDEX(x)	(((x) - 0x8000) / 128)
 
@@ -16,6 +17,9 @@
 #define IMX7_UART2_CLK_ROOT		IMX7_CLOCK_ROOT_INDEX(0xb000)
 #define IMX7_UART2_CLK_ROOT__OSC_24M IMX7_CCM_TARGET_ROOTn_MUX(0b000)
 
+#define IMX7_UART3_CLK_ROOT		IMX7_CLOCK_ROOT_INDEX(0xb080)
+#define IMX7_UART3_CLK_ROOT__OSC_24M IMX7_CCM_TARGET_ROOTn_MUX(0b000)
+
 /* 0 <= n <= 190 */
 #define IMX7_CCM_CCGRn_SET(n)	(0x4004 + 16 * (n))
 #define IMX7_CCM_CCGRn_CLR(n)	(0x4008 + 16 * (n))
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help