Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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
12
13#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RESET_STM32MP2_RESET_H_
14#define ZEPHYR_INCLUDE_DT_BINDINGS_RESET_STM32MP2_RESET_H_
15
17
28#define STM32_RESET(per, bit) (((STM32_RESET_PERIPH_##per##) << 5U) | (bit))
29
30/* Reset reg */
31#define STM32_RST 0U
32
33/* USART/UART Peripheral */
34#define STM32_RESET_PERIPH_USART1 0x77C
35#define STM32_RESET_PERIPH_USART2 0x780
36#define STM32_RESET_PERIPH_USART3 0x784
37#define STM32_RESET_PERIPH_UART4 0x788
38#define STM32_RESET_PERIPH_UART5 0x78C
39#define STM32_RESET_PERIPH_USART6 0x790
40#define STM32_RESET_PERIPH_UART7 0x794
41#define STM32_RESET_PERIPH_UART8 0x798
42#define STM32_RESET_PERIPH_UART9 0x79C
43
44/* I3C Peripheral */
45#define STM32_RESET_PERIPH_I3C1 0x8C8
46#define STM32_RESET_PERIPH_I3C2 0x8CC
47#define STM32_RESET_PERIPH_I3C3 0x8D0
48#define STM32_RESET_PERIPH_I3C4 0x8D4
49
51
52#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_RESET_STM32MP2_RESET_H_ */