From 2b3958731d134481040e681e220bcc1aa76a7c65 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 26 Apr 2022 16:15:04 +0200 Subject: mci: stm32_sdmmc2: add STM32MP131 AMBA primecell peripheral ID v5.18-rc1 device tree now features different peripheral ID. As peripheral IDs have no fallbacks, this meant broken SD on STM32MP131. Add new peripheral ID without special handling as IP is backwards-compatible. DT also contains a st,stm32-sdmmc2 compatible, which we could match against in future, but for now this isn't necessary. Fixes: b01786baa849 ("dts: update to v5.18-rc1") Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20220426141504.869945-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- drivers/mci/stm32_sdmmc2.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/mci/stm32_sdmmc2.c') diff --git a/drivers/mci/stm32_sdmmc2.c b/drivers/mci/stm32_sdmmc2.c index 0c620427ee..40ffc17908 100644 --- a/drivers/mci/stm32_sdmmc2.c +++ b/drivers/mci/stm32_sdmmc2.c @@ -643,6 +643,11 @@ static struct amba_id stm32_sdmmc2_ids[] = { .id = 0x00253180, .mask = 0xf0ffffff, }, + /* ST Micro STM32MP13 */ + { + .id = 0x20253180, + .mask = 0xf0ffffff, + }, { 0, 0 }, }; -- cgit v1.2.3