[PATCH v2 6/8] ARM: i.MX9: add i2c base address defines
Sascha Hauer
s.hauer at pengutronix.de
Sun Feb 4 23:45:51 PST 2024
Add I2C base addresses for non device tree PBL use.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
include/mach/imx/imx9-regs.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/mach/imx/imx9-regs.h b/include/mach/imx/imx9-regs.h
index 6be61c90e3..6a87f7eb3a 100644
--- a/include/mach/imx/imx9-regs.h
+++ b/include/mach/imx/imx9-regs.h
@@ -1,13 +1,21 @@
#ifndef __MACH_IMX9_REGS_H
#define __MACH_IMX9_REGS_H
+#define MX9_I2C3_BASE_ADDR 0x42530000UL
+#define MX9_I2C4_BASE_ADDR 0x42540000UL
#define MX9_UART3_BASE_ADDR 0x42570000UL
#define MX9_UART4_BASE_ADDR 0x42580000UL
#define MX9_UART5_BASE_ADDR 0x42590000UL
#define MX9_UART6_BASE_ADDR 0x425a0000UL
#define MX9_UART7_BASE_ADDR 0x42690000UL
#define MX9_UART8_BASE_ADDR 0x426a0000UL
+#define MX9_I2C5_BASE_ADDR 0x426b0000UL
+#define MX9_I2C6_BASE_ADDR 0x426c0000UL
+#define MX9_I2C7_BASE_ADDR 0x426d0000UL
+#define MX9_I2C8_BASE_ADDR 0x426e0000UL
#define MX9_SYSCNT_CTRL_BASE_ADDR 0x44290000UL
+#define MX9_I2C1_BASE_ADDR 0x44340000UL
+#define MX9_I2C2_BASE_ADDR 0x44350000UL
#define MX9_UART1_BASE_ADDR 0x44380000UL
#define MX9_UART2_BASE_ADDR 0x44390000UL
#define MX9_IOMUXC_BASE_ADDR 0x443c0000UL
--
2.39.2
More information about the barebox
mailing list