From c92c3a4453b86d977b529b9c48db94a2a1b0b8d0 Mon Sep 17 00:00:00 2001 From: Martyn Welch Date: Tue, 25 Oct 2022 10:54:59 +0100 Subject: ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- arch/arm/mach-imx/i2c-mxv7.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/mach-imx/i2c-mxv7.c') diff --git a/arch/arm/mach-imx/i2c-mxv7.c b/arch/arm/mach-imx/i2c-mxv7.c index 85d648b56ed..a5866cf9f70 100644 --- a/arch/arm/mach-imx/i2c-mxv7.c +++ b/arch/arm/mach-imx/i2c-mxv7.c @@ -70,6 +70,12 @@ static void * const i2c_bases[] = { #ifdef I2C4_BASE_ADDR (void *)I2C4_BASE_ADDR, #endif +#ifdef I2C5_BASE_ADDR + (void *)I2C5_BASE_ADDR, +#endif +#ifdef I2C6_BASE_ADDR + (void *)I2C6_BASE_ADDR, +#endif }; /* i2c_index can be from 0 - 3 */ -- cgit v1.2.3