xref: /linux/include/dt-bindings/reset/st,stm32mp25-rcc.h (revision 619b92b9c8fe5369503ae948ad4e0a9c195c2c4a)
1b5be49dbSGabriel Fernandez /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
2b5be49dbSGabriel Fernandez /*
3b5be49dbSGabriel Fernandez  * Copyright (C) STMicroelectronics 2023 - All Rights Reserved
4b5be49dbSGabriel Fernandez  * Author(s): Gabriel Fernandez <gabriel.fernandez@foss.st.com>
5b5be49dbSGabriel Fernandez  */
6b5be49dbSGabriel Fernandez 
7b5be49dbSGabriel Fernandez #ifndef _DT_BINDINGS_STM32MP25_RESET_H_
8b5be49dbSGabriel Fernandez #define _DT_BINDINGS_STM32MP25_RESET_H_
9b5be49dbSGabriel Fernandez 
10b5be49dbSGabriel Fernandez #define TIM1_R		0
11b5be49dbSGabriel Fernandez #define TIM2_R		1
12b5be49dbSGabriel Fernandez #define TIM3_R		2
13b5be49dbSGabriel Fernandez #define TIM4_R		3
14b5be49dbSGabriel Fernandez #define TIM5_R		4
15b5be49dbSGabriel Fernandez #define TIM6_R		5
16b5be49dbSGabriel Fernandez #define TIM7_R		6
17b5be49dbSGabriel Fernandez #define TIM8_R		7
18b5be49dbSGabriel Fernandez #define TIM10_R		8
19b5be49dbSGabriel Fernandez #define TIM11_R		9
20b5be49dbSGabriel Fernandez #define TIM12_R		10
21b5be49dbSGabriel Fernandez #define TIM13_R		11
22b5be49dbSGabriel Fernandez #define TIM14_R		12
23b5be49dbSGabriel Fernandez #define TIM15_R		13
24b5be49dbSGabriel Fernandez #define TIM16_R		14
25b5be49dbSGabriel Fernandez #define TIM17_R		15
26b5be49dbSGabriel Fernandez #define TIM20_R		16
27b5be49dbSGabriel Fernandez #define LPTIM1_R	17
28b5be49dbSGabriel Fernandez #define LPTIM2_R	18
29b5be49dbSGabriel Fernandez #define LPTIM3_R	19
30b5be49dbSGabriel Fernandez #define LPTIM4_R	20
31b5be49dbSGabriel Fernandez #define LPTIM5_R	21
32b5be49dbSGabriel Fernandez #define SPI1_R		22
33b5be49dbSGabriel Fernandez #define SPI2_R		23
34b5be49dbSGabriel Fernandez #define SPI3_R		24
35b5be49dbSGabriel Fernandez #define SPI4_R		25
36b5be49dbSGabriel Fernandez #define SPI5_R		26
37b5be49dbSGabriel Fernandez #define SPI6_R		27
38b5be49dbSGabriel Fernandez #define SPI7_R		28
39b5be49dbSGabriel Fernandez #define SPI8_R		29
40b5be49dbSGabriel Fernandez #define SPDIFRX_R	30
41b5be49dbSGabriel Fernandez #define USART1_R	31
42b5be49dbSGabriel Fernandez #define USART2_R	32
43b5be49dbSGabriel Fernandez #define USART3_R	33
44b5be49dbSGabriel Fernandez #define UART4_R		34
45b5be49dbSGabriel Fernandez #define UART5_R		35
46b5be49dbSGabriel Fernandez #define USART6_R	36
47b5be49dbSGabriel Fernandez #define UART7_R		37
48b5be49dbSGabriel Fernandez #define UART8_R		38
49b5be49dbSGabriel Fernandez #define UART9_R		39
50b5be49dbSGabriel Fernandez #define LPUART1_R	40
51b5be49dbSGabriel Fernandez #define IS2M_R		41
52b5be49dbSGabriel Fernandez #define I2C1_R		42
53b5be49dbSGabriel Fernandez #define I2C2_R		43
54b5be49dbSGabriel Fernandez #define I2C3_R		44
55b5be49dbSGabriel Fernandez #define I2C4_R		45
56b5be49dbSGabriel Fernandez #define I2C5_R		46
57b5be49dbSGabriel Fernandez #define I2C6_R		47
58b5be49dbSGabriel Fernandez #define I2C7_R		48
59b5be49dbSGabriel Fernandez #define I2C8_R		49
60b5be49dbSGabriel Fernandez #define SAI1_R		50
61b5be49dbSGabriel Fernandez #define SAI2_R		51
62b5be49dbSGabriel Fernandez #define SAI3_R		52
63b5be49dbSGabriel Fernandez #define SAI4_R		53
64b5be49dbSGabriel Fernandez #define MDF1_R		54
65b5be49dbSGabriel Fernandez #define MDF2_R		55
66b5be49dbSGabriel Fernandez #define FDCAN_R		56
67b5be49dbSGabriel Fernandez #define HDP_R		57
68b5be49dbSGabriel Fernandez #define ADC12_R		58
69b5be49dbSGabriel Fernandez #define ADC3_R		59
70b5be49dbSGabriel Fernandez #define ETH1_R		60
71b5be49dbSGabriel Fernandez #define ETH2_R		61
72*df5df125SGabriel Fernandez #define USBH_R		62
73b5be49dbSGabriel Fernandez #define USB2PHY1_R	63
74b5be49dbSGabriel Fernandez #define USB2PHY2_R	64
75b5be49dbSGabriel Fernandez #define USB3DR_R	65
76b5be49dbSGabriel Fernandez #define USB3PCIEPHY_R	66
77b5be49dbSGabriel Fernandez #define USBTC_R		67
78b5be49dbSGabriel Fernandez #define ETHSW_R		68
79b5be49dbSGabriel Fernandez #define SDMMC1_R	69
80b5be49dbSGabriel Fernandez #define SDMMC1DLL_R	70
81b5be49dbSGabriel Fernandez #define SDMMC2_R	71
82b5be49dbSGabriel Fernandez #define SDMMC2DLL_R	72
83b5be49dbSGabriel Fernandez #define SDMMC3_R	73
84b5be49dbSGabriel Fernandez #define SDMMC3DLL_R	74
85b5be49dbSGabriel Fernandez #define GPU_R		75
86b5be49dbSGabriel Fernandez #define LTDC_R		76
87b5be49dbSGabriel Fernandez #define DSI_R		77
88b5be49dbSGabriel Fernandez #define LVDS_R		78
89b5be49dbSGabriel Fernandez #define CSI_R		79
90b5be49dbSGabriel Fernandez #define DCMIPP_R	80
91b5be49dbSGabriel Fernandez #define CCI_R		81
92b5be49dbSGabriel Fernandez #define VDEC_R		82
93b5be49dbSGabriel Fernandez #define VENC_R		83
94b5be49dbSGabriel Fernandez #define WWDG1_R		84
95b5be49dbSGabriel Fernandez #define WWDG2_R		85
96b5be49dbSGabriel Fernandez #define VREF_R		86
97b5be49dbSGabriel Fernandez #define DTS_R		87
98b5be49dbSGabriel Fernandez #define CRC_R		88
99b5be49dbSGabriel Fernandez #define SERC_R		89
100b5be49dbSGabriel Fernandez #define OSPIIOM_R	90
101b5be49dbSGabriel Fernandez #define I3C1_R		91
102b5be49dbSGabriel Fernandez #define I3C2_R		92
103b5be49dbSGabriel Fernandez #define I3C3_R		93
104b5be49dbSGabriel Fernandez #define I3C4_R		94
105b5be49dbSGabriel Fernandez #define IWDG2_KER_R	95
106b5be49dbSGabriel Fernandez #define IWDG4_KER_R	96
107b5be49dbSGabriel Fernandez #define RNG_R		97
108b5be49dbSGabriel Fernandez #define PKA_R		98
109b5be49dbSGabriel Fernandez #define SAES_R		99
110b5be49dbSGabriel Fernandez #define HASH_R		100
111b5be49dbSGabriel Fernandez #define CRYP1_R		101
112b5be49dbSGabriel Fernandez #define CRYP2_R		102
113b5be49dbSGabriel Fernandez #define PCIE_R		103
114b5be49dbSGabriel Fernandez #define OSPI1_R		104
115b5be49dbSGabriel Fernandez #define OSPI1DLL_R	105
116b5be49dbSGabriel Fernandez #define OSPI2_R		106
117b5be49dbSGabriel Fernandez #define OSPI2DLL_R	107
118b5be49dbSGabriel Fernandez #define FMC_R		108
119b5be49dbSGabriel Fernandez #define DBG_R		109
120b5be49dbSGabriel Fernandez #define GPIOA_R		110
121b5be49dbSGabriel Fernandez #define GPIOB_R		111
122b5be49dbSGabriel Fernandez #define GPIOC_R		112
123b5be49dbSGabriel Fernandez #define GPIOD_R		113
124b5be49dbSGabriel Fernandez #define GPIOE_R		114
125b5be49dbSGabriel Fernandez #define GPIOF_R		115
126b5be49dbSGabriel Fernandez #define GPIOG_R		116
127b5be49dbSGabriel Fernandez #define GPIOH_R		117
128b5be49dbSGabriel Fernandez #define GPIOI_R		118
129b5be49dbSGabriel Fernandez #define GPIOJ_R		119
130b5be49dbSGabriel Fernandez #define GPIOK_R		120
131b5be49dbSGabriel Fernandez #define GPIOZ_R		121
132b5be49dbSGabriel Fernandez #define HPDMA1_R	122
133b5be49dbSGabriel Fernandez #define HPDMA2_R	123
134b5be49dbSGabriel Fernandez #define HPDMA3_R	124
135b5be49dbSGabriel Fernandez #define LPDMA_R		125
136b5be49dbSGabriel Fernandez #define HSEM_R		126
137b5be49dbSGabriel Fernandez #define IPCC1_R		127
138b5be49dbSGabriel Fernandez #define IPCC2_R		128
139b5be49dbSGabriel Fernandez #define C2_HOLDBOOT_R	129
140b5be49dbSGabriel Fernandez #define C1_HOLDBOOT_R	130
141b5be49dbSGabriel Fernandez #define C1_R		131
142b5be49dbSGabriel Fernandez #define C1P1POR_R	132
143b5be49dbSGabriel Fernandez #define C1P1_R		133
144b5be49dbSGabriel Fernandez #define C2_R		134
145b5be49dbSGabriel Fernandez #define C3_R		135
146b5be49dbSGabriel Fernandez #define SYS_R		136
147b5be49dbSGabriel Fernandez #define VSW_R		137
148b5be49dbSGabriel Fernandez #define C1MS_R		138
149b5be49dbSGabriel Fernandez #define DDRCP_R		139
150b5be49dbSGabriel Fernandez #define DDRCAPB_R	140
151b5be49dbSGabriel Fernandez #define DDRPHYCAPB_R	141
152b5be49dbSGabriel Fernandez #define DDRCFG_R	142
153b5be49dbSGabriel Fernandez #define DDR_R		143
154b5be49dbSGabriel Fernandez 
155b5be49dbSGabriel Fernandez #define STM32MP25_LAST_RESET	144
156b5be49dbSGabriel Fernandez 
157b5be49dbSGabriel Fernandez #define RST_SCMI_C1_R		0
158b5be49dbSGabriel Fernandez #define RST_SCMI_C2_R		1
159b5be49dbSGabriel Fernandez #define RST_SCMI_C1_HOLDBOOT_R	2
160b5be49dbSGabriel Fernandez #define RST_SCMI_C2_HOLDBOOT_R	3
161b5be49dbSGabriel Fernandez #define RST_SCMI_FMC		4
162b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI1		5
163b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI1DLL	6
164b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI2		7
165b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI2DLL	8
166b5be49dbSGabriel Fernandez 
167b5be49dbSGabriel Fernandez #endif /* _DT_BINDINGS_STM32MP25_RESET_H_ */
168