xref: /rk3399_ARM-atf/include/dt-bindings/reset/st,stm32mp21-rcc.h (revision 4f6c787ef3f156e477a00e5857a39d0972ece3e0)
1*dcb00b10SNicolas Le Bayon /* SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause */
2*dcb00b10SNicolas Le Bayon /*
3*dcb00b10SNicolas Le Bayon  * Copyright (C) STMicroelectronics 2025 - All Rights Reserved
4*dcb00b10SNicolas Le Bayon  * Author(s): Gabriel Fernandez <gabriel.fernandez@foss.st.com>
5*dcb00b10SNicolas Le Bayon  */
6*dcb00b10SNicolas Le Bayon 
7*dcb00b10SNicolas Le Bayon #ifndef _DT_BINDINGS_STM32MP21_RESET_H_
8*dcb00b10SNicolas Le Bayon #define _DT_BINDINGS_STM32MP21_RESET_H_
9*dcb00b10SNicolas Le Bayon 
10*dcb00b10SNicolas Le Bayon /* TF-A use a binding required by driver, not aligned with Linux*/
11*dcb00b10SNicolas Le Bayon 
12*dcb00b10SNicolas Le Bayon #define SYS_R		8192
13*dcb00b10SNicolas Le Bayon #define C1_R		8224
14*dcb00b10SNicolas Le Bayon #define C2_R		8288
15*dcb00b10SNicolas Le Bayon #define C2_HOLDBOOT_R	8608
16*dcb00b10SNicolas Le Bayon #define C1_HOLDBOOT_R	8609
17*dcb00b10SNicolas Le Bayon #define VSW_R		8672
18*dcb00b10SNicolas Le Bayon #define C1MS_R		8840
19*dcb00b10SNicolas Le Bayon #define IWDG2_KER_R	9106
20*dcb00b10SNicolas Le Bayon #define IWDG4_KER_R	9234
21*dcb00b10SNicolas Le Bayon #define DDRCP_R		9888
22*dcb00b10SNicolas Le Bayon #define DDRCAPB_R	9920
23*dcb00b10SNicolas Le Bayon #define DDRPHYCAPB_R	9952
24*dcb00b10SNicolas Le Bayon #define DDRCFG_R	10016
25*dcb00b10SNicolas Le Bayon #define DDR_R		10048
26*dcb00b10SNicolas Le Bayon #define OSPI1_R		10400
27*dcb00b10SNicolas Le Bayon #define OSPI1DLL_R	10416
28*dcb00b10SNicolas Le Bayon #define FMC_R		10464
29*dcb00b10SNicolas Le Bayon #define DBG_R		10508
30*dcb00b10SNicolas Le Bayon #define GPIOA_R		10592
31*dcb00b10SNicolas Le Bayon #define GPIOB_R		10624
32*dcb00b10SNicolas Le Bayon #define GPIOC_R		10656
33*dcb00b10SNicolas Le Bayon #define GPIOD_R		10688
34*dcb00b10SNicolas Le Bayon #define GPIOE_R		10720
35*dcb00b10SNicolas Le Bayon #define GPIOF_R		10752
36*dcb00b10SNicolas Le Bayon #define GPIOG_R		10784
37*dcb00b10SNicolas Le Bayon #define GPIOH_R		10816
38*dcb00b10SNicolas Le Bayon #define GPIOI_R		10848
39*dcb00b10SNicolas Le Bayon #define GPIOZ_R		10944
40*dcb00b10SNicolas Le Bayon #define HPDMA1_R	10976
41*dcb00b10SNicolas Le Bayon #define HPDMA2_R	11008
42*dcb00b10SNicolas Le Bayon #define HPDMA3_R	11040
43*dcb00b10SNicolas Le Bayon #define IPCC1_R		11136
44*dcb00b10SNicolas Le Bayon #define SSMOD_R		11392
45*dcb00b10SNicolas Le Bayon #define TIM1_R		14336
46*dcb00b10SNicolas Le Bayon #define TIM2_R		14368
47*dcb00b10SNicolas Le Bayon #define TIM3_R		14400
48*dcb00b10SNicolas Le Bayon #define TIM4_R		14432
49*dcb00b10SNicolas Le Bayon #define TIM5_R		14464
50*dcb00b10SNicolas Le Bayon #define TIM6_R		14496
51*dcb00b10SNicolas Le Bayon #define TIM7_R		14528
52*dcb00b10SNicolas Le Bayon #define TIM8_R		14560
53*dcb00b10SNicolas Le Bayon #define TIM10_R		14592
54*dcb00b10SNicolas Le Bayon #define TIM11_R		14624
55*dcb00b10SNicolas Le Bayon #define TIM12_R		14656
56*dcb00b10SNicolas Le Bayon #define TIM13_R		14688
57*dcb00b10SNicolas Le Bayon #define TIM14_R		14720
58*dcb00b10SNicolas Le Bayon #define TIM15_R		14752
59*dcb00b10SNicolas Le Bayon #define TIM16_R		14784
60*dcb00b10SNicolas Le Bayon #define TIM17_R		14816
61*dcb00b10SNicolas Le Bayon #define LPTIM1_R	14880
62*dcb00b10SNicolas Le Bayon #define LPTIM2_R	14912
63*dcb00b10SNicolas Le Bayon #define LPTIM3_R	14944
64*dcb00b10SNicolas Le Bayon #define LPTIM4_R	14976
65*dcb00b10SNicolas Le Bayon #define LPTIM5_R	15008
66*dcb00b10SNicolas Le Bayon #define SPI1_R		15040
67*dcb00b10SNicolas Le Bayon #define SPI2_R		15072
68*dcb00b10SNicolas Le Bayon #define SPI3_R		15104
69*dcb00b10SNicolas Le Bayon #define SPI4_R		15136
70*dcb00b10SNicolas Le Bayon #define SPI5_R		15168
71*dcb00b10SNicolas Le Bayon #define SPI6_R		15200
72*dcb00b10SNicolas Le Bayon #define SPDIFRX_R	15296
73*dcb00b10SNicolas Le Bayon #define USART1_R	15328
74*dcb00b10SNicolas Le Bayon #define USART2_R	15360
75*dcb00b10SNicolas Le Bayon #define USART3_R	15392
76*dcb00b10SNicolas Le Bayon #define UART4_R		15424
77*dcb00b10SNicolas Le Bayon #define UART5_R		15456
78*dcb00b10SNicolas Le Bayon #define USART6_R	15488
79*dcb00b10SNicolas Le Bayon #define UART7_R		15520
80*dcb00b10SNicolas Le Bayon #define LPUART1_R	15616
81*dcb00b10SNicolas Le Bayon #define I2C1_R		15648
82*dcb00b10SNicolas Le Bayon #define I2C2_R		15680
83*dcb00b10SNicolas Le Bayon #define I2C3_R		15712
84*dcb00b10SNicolas Le Bayon #define SAI1_R		15904
85*dcb00b10SNicolas Le Bayon #define SAI2_R		15936
86*dcb00b10SNicolas Le Bayon #define SAI3_R		15968
87*dcb00b10SNicolas Le Bayon #define SAI4_R		16000
88*dcb00b10SNicolas Le Bayon #define MDF1_R		16064
89*dcb00b10SNicolas Le Bayon #define ADF1_R		16096
90*dcb00b10SNicolas Le Bayon #define FDCAN_R		16128
91*dcb00b10SNicolas Le Bayon #define HDP_R		16160
92*dcb00b10SNicolas Le Bayon #define ADC1_R		16192
93*dcb00b10SNicolas Le Bayon #define ADC2_R		16224
94*dcb00b10SNicolas Le Bayon #define ETH1_R		16256
95*dcb00b10SNicolas Le Bayon #define ETH2_R		16288
96*dcb00b10SNicolas Le Bayon #define USBH_R		16352
97*dcb00b10SNicolas Le Bayon #define USB2PHY1_R	16384
98*dcb00b10SNicolas Le Bayon #define OTG_R		16448
99*dcb00b10SNicolas Le Bayon #define USB2PHY2_R	16480
100*dcb00b10SNicolas Le Bayon #define SDMMC1_R	16768
101*dcb00b10SNicolas Le Bayon #define SDMMC1DLL_R	16784
102*dcb00b10SNicolas Le Bayon #define SDMMC2_R	16800
103*dcb00b10SNicolas Le Bayon #define SDMMC2DLL_R	16816
104*dcb00b10SNicolas Le Bayon #define SDMMC3_R	16832
105*dcb00b10SNicolas Le Bayon #define SDMMC3DLL_R	16848
106*dcb00b10SNicolas Le Bayon #define LTDC_R		16896
107*dcb00b10SNicolas Le Bayon #define CSI_R		17088
108*dcb00b10SNicolas Le Bayon #define DCMIPP_R	17120
109*dcb00b10SNicolas Le Bayon #define DCMIPSSI_R	17152
110*dcb00b10SNicolas Le Bayon #define RNG1_R		17280
111*dcb00b10SNicolas Le Bayon #define RNG2_R		17312
112*dcb00b10SNicolas Le Bayon #define PKA_R		17344
113*dcb00b10SNicolas Le Bayon #define SAES_R		17376
114*dcb00b10SNicolas Le Bayon #define HASH1_R		17408
115*dcb00b10SNicolas Le Bayon #define HASH2_R		17440
116*dcb00b10SNicolas Le Bayon #define CRYP1_R		17472
117*dcb00b10SNicolas Le Bayon #define CRYP2_R		17504
118*dcb00b10SNicolas Le Bayon #define WWDG1_R		17696
119*dcb00b10SNicolas Le Bayon #define VREF_R		17760
120*dcb00b10SNicolas Le Bayon #define DTS_R		17792
121*dcb00b10SNicolas Le Bayon #define CRC_R		17824
122*dcb00b10SNicolas Le Bayon #define SERC_R		17856
123*dcb00b10SNicolas Le Bayon #define I3C1_R		17984
124*dcb00b10SNicolas Le Bayon #define I3C2_R		18016
125*dcb00b10SNicolas Le Bayon #define I3C3_R		18048
126*dcb00b10SNicolas Le Bayon 
127*dcb00b10SNicolas Le Bayon #define RST_SCMI_C1_R		0
128*dcb00b10SNicolas Le Bayon #define RST_SCMI_C2_R		1
129*dcb00b10SNicolas Le Bayon #define RST_SCMI_C1_HOLDBOOT_R	2
130*dcb00b10SNicolas Le Bayon #define RST_SCMI_C2_HOLDBOOT_R	3
131*dcb00b10SNicolas Le Bayon #define RST_SCMI_FMC		4
132*dcb00b10SNicolas Le Bayon #define RST_SCMI_OSPI1		5
133*dcb00b10SNicolas Le Bayon #define RST_SCMI_OSPI1DLL	6
134*dcb00b10SNicolas Le Bayon 
135*dcb00b10SNicolas Le Bayon #endif /* _DT_BINDINGS_STM32MP21_RESET_H_ */
136