diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-04-26 16:15:04 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-04-29 09:16:42 +0200 |
commit | 2b3958731d134481040e681e220bcc1aa76a7c65 (patch) | |
tree | c24b376e062326694b43ca548343c85767d3d145 /drivers/mci/stm32_sdmmc2.c | |
parent | 1fa116cc2e0cb0911b68d3c775adf17933cf58d2 (diff) | |
download | barebox-2b3958731d134481040e681e220bcc1aa76a7c65.tar.gz barebox-2b3958731d134481040e681e220bcc1aa76a7c65.tar.xz |
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 <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220426141504.869945-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/stm32_sdmmc2.c')
-rw-r--r-- | drivers/mci/stm32_sdmmc2.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 }, }; |