Zephyr API Documentation
4.5.0-rc1
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
/* Timer Peripheral */
34
#define STM32_RESET_PERIPH_TIM12 0x728
35
36
/* USART/UART Peripheral */
37
#define STM32_RESET_PERIPH_USART1 0x77C
38
#define STM32_RESET_PERIPH_USART2 0x780
39
#define STM32_RESET_PERIPH_USART3 0x784
40
#define STM32_RESET_PERIPH_UART4 0x788
41
#define STM32_RESET_PERIPH_UART5 0x78C
42
#define STM32_RESET_PERIPH_USART6 0x790
43
#define STM32_RESET_PERIPH_UART7 0x794
44
#define STM32_RESET_PERIPH_UART8 0x798
45
#define STM32_RESET_PERIPH_UART9 0x79C
46
47
/* Camera peripherals */
48
#define STM32_RESET_PERIPH_CSI2 0x858
49
#define STM32_RESET_PERIPH_DCMIPP 0x85C
50
51
/* I3C Peripheral */
52
#define STM32_RESET_PERIPH_I3C1 0x8C8
53
#define STM32_RESET_PERIPH_I3C2 0x8CC
54
#define STM32_RESET_PERIPH_I3C3 0x8D0
55
#define STM32_RESET_PERIPH_I3C4 0x8D4
56
58
59
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_RESET_STM32MP2_RESET_H_ */
zephyr
dt-bindings
reset
stm32mp2_reset.h
Generated on
for Zephyr API Documentation by
1.16.1