summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2024-02-05 08:45:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-02-08 08:18:12 +0100
commit1d3a4574f64b6b3b930d33999538bc799507f10f (patch)
tree283e5813b5b6111fa1a380418a367e4057d4e599
parent225a2af33cd259dc3cb8f0c136849d239f2acb61 (diff)
downloadbarebox-1d3a4574f64b.tar.gz
barebox-1d3a4574f64b.tar.xz
ARM: i.MX9: add i2c base address defines
Add I2C base addresses for non device tree PBL use. Link: https://lore.barebox.org/20240205074553.2005284-7-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/mach/imx/imx9-regs.h8
1 files changed, 8 insertions, 0 deletions
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