soc: st: stm32: add support for stm32u5g9xx

Add Kconfig and YML SoC configurations for STM32U5G9xx.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
This commit is contained in:
Charles Dias 2025-04-12 15:48:05 +01:00 committed by Benjamin Cabé
commit 389c9e7b67
3 changed files with 18 additions and 0 deletions

View file

@ -203,6 +203,7 @@ family:
socs:
- name: stm32u5a5xx
- name: stm32u5a9xx
- name: stm32u5g9xx
- name: stm32u545xx
- name: stm32u575xx
- name: stm32u585xx

View file

@ -0,0 +1,11 @@
# STMicroelectronics STM32U5G9XX MCU
# Copyright (c) 2025 Charles Dias
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32U5G9XX
config NUM_IRQS
default 141
endif # SOC_STM32U5G9XX

View file

@ -3,6 +3,7 @@
# Copyright (c) 2021 Linaro Limited
# Copyright (c) 2023 PSICONTROL nv
# Copyright (c) 2023 STMicroelectronics
# Copyright (c) 2025 Charles Dias
# SPDX-License-Identifier: Apache-2.0
config SOC_SERIES_STM32U5X
@ -40,9 +41,14 @@ config SOC_STM32U5A9XX
bool
select SOC_SERIES_STM32U5X
config SOC_STM32U5G9XX
bool
select SOC_SERIES_STM32U5X
config SOC
default "stm32u5a5xx" if SOC_STM32U5A5XX
default "stm32u5a9xx" if SOC_STM32U5A9XX
default "stm32u5g9xx" if SOC_STM32U5G9XX
default "stm32u545xx" if SOC_STM32U545XX
default "stm32u575xx" if SOC_STM32U575XX
default "stm32u585xx" if SOC_STM32U585XX