feat(stm32mp1): manage STM32MP13 rev.Y

The new SoC version for STM32MP13 is the revision Y. The register
SYSCFG_IDC is updated for this new version with the value 0x1003.
The function stm32mp_get_soc_name() should also be updated to manage
this new SoC revision.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Change-Id: I4f2fa5f1503f17db93d8413c79c2b7a18d279f9b
This commit is contained in:
Yann Gautier 2022-05-09 17:01:11 +02:00 committed by Yann Gautier
parent 936f29f6b5
commit a3f97f66c3
2 changed files with 6 additions and 0 deletions

View file

@ -71,6 +71,7 @@
#define STM32MP1_REV_B U(0x2000)
#if STM32MP13
#define STM32MP1_REV_Y U(0x1003)
#define STM32MP1_REV_Z U(0x1001)
#endif
#if STM32MP15

View file

@ -493,6 +493,11 @@ void stm32mp_get_soc_name(char name[STM32_SOC_NAME_SIZE])
case STM32MP1_REV_B:
cpu_r = "B";
break;
#if STM32MP13
case STM32MP1_REV_Y:
cpu_r = "Y";
break;
#endif
case STM32MP1_REV_Z:
cpu_r = "Z";
break;