Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
 4.2.0-rc3
stm32mp2_reset.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2025 Savoir-faire Linux, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RESET_STM32MP2_RESET_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_RESET_STM32MP2_RESET_H_
9
20#define STM32_RESET(per, bit) (((STM32_RESET_PERIPH_##per##) << 5U) | (bit))
21
22/* Reset reg */
23#define STM32_RST 0U
24
25/* USART/UART Peripheral */
26#define STM32_RESET_PERIPH_USART1 0x77C
27#define STM32_RESET_PERIPH_USART2 0x780
28#define STM32_RESET_PERIPH_USART3 0x784
29#define STM32_RESET_PERIPH_UART4 0x788
30#define STM32_RESET_PERIPH_UART5 0x78C
31#define STM32_RESET_PERIPH_USART6 0x790
32#define STM32_RESET_PERIPH_UART7 0x794
33#define STM32_RESET_PERIPH_UART8 0x798
34#define STM32_RESET_PERIPH_UART9 0x79C
35
36#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_RESET_STM32MP2_RESET_H_ */