1# ST Microelectronics STM32U5 MCU series 2 3# Copyright (c) 2021 Linaro Limited 4# SPDX-License-Identifier: Apache-2.0 5 6DT_CHOSEN_STDBY_TIMER := st,lptim-stdby-timer 7 8config SOC_SERIES_STM32U5X 9 select ARM 10 select CPU_CORTEX_M33 11 select ARM_TRUSTZONE_M 12 select CPU_HAS_ARM_SAU 13 select CPU_HAS_ARM_MPU 14 select CPU_HAS_FPU 15 select ARMV8_M_DSP 16 select CPU_CORTEX_M_HAS_DWT 17 select HAS_STM32CUBE 18 select HAS_PM 19 select HAS_SWO 20 select HAS_POWEROFF 21 select SOC_EARLY_INIT_HOOK 22 23config STM32_STOP3_LP_MODE 24 bool 25 default $(dt_path_enabled,/cpus/power-states/state3) && $(dt_chosen_enabled,$(DT_CHOSEN_STDBY_TIMER)) 26 help 27 Enable support for STM32 STOP3 low-power mode. 28 Based on the Cortex-M33 Deepsleep mode combined with peripheral clock gating. 29 All clocks in the core domain are stopped. 30 The PLL, MSIS, MSIK, HSI16, and HSE oscillators are disabled. 31 All SRAMs and register contents are preserved. 32 SRAMs can be totally or partially switched off to further reduce consumption. 33 GPIOs are left floating and additional pull-up or pull-down can be applied 34 via PWR registers. 35