xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/st,stm32mp25-rcc.h (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
18d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
28d13bc63SEmmanuel Vadot /*
38d13bc63SEmmanuel Vadot  * Copyright (C) STMicroelectronics 2023 - All Rights Reserved
48d13bc63SEmmanuel Vadot  * Author(s): Gabriel Fernandez <gabriel.fernandez@foss.st.com>
58d13bc63SEmmanuel Vadot  */
68d13bc63SEmmanuel Vadot 
78d13bc63SEmmanuel Vadot #ifndef _DT_BINDINGS_STM32MP25_RESET_H_
88d13bc63SEmmanuel Vadot #define _DT_BINDINGS_STM32MP25_RESET_H_
98d13bc63SEmmanuel Vadot 
108d13bc63SEmmanuel Vadot #define TIM1_R		0
118d13bc63SEmmanuel Vadot #define TIM2_R		1
128d13bc63SEmmanuel Vadot #define TIM3_R		2
138d13bc63SEmmanuel Vadot #define TIM4_R		3
148d13bc63SEmmanuel Vadot #define TIM5_R		4
158d13bc63SEmmanuel Vadot #define TIM6_R		5
168d13bc63SEmmanuel Vadot #define TIM7_R		6
178d13bc63SEmmanuel Vadot #define TIM8_R		7
188d13bc63SEmmanuel Vadot #define TIM10_R		8
198d13bc63SEmmanuel Vadot #define TIM11_R		9
208d13bc63SEmmanuel Vadot #define TIM12_R		10
218d13bc63SEmmanuel Vadot #define TIM13_R		11
228d13bc63SEmmanuel Vadot #define TIM14_R		12
238d13bc63SEmmanuel Vadot #define TIM15_R		13
248d13bc63SEmmanuel Vadot #define TIM16_R		14
258d13bc63SEmmanuel Vadot #define TIM17_R		15
268d13bc63SEmmanuel Vadot #define TIM20_R		16
278d13bc63SEmmanuel Vadot #define LPTIM1_R	17
288d13bc63SEmmanuel Vadot #define LPTIM2_R	18
298d13bc63SEmmanuel Vadot #define LPTIM3_R	19
308d13bc63SEmmanuel Vadot #define LPTIM4_R	20
318d13bc63SEmmanuel Vadot #define LPTIM5_R	21
328d13bc63SEmmanuel Vadot #define SPI1_R		22
338d13bc63SEmmanuel Vadot #define SPI2_R		23
348d13bc63SEmmanuel Vadot #define SPI3_R		24
358d13bc63SEmmanuel Vadot #define SPI4_R		25
368d13bc63SEmmanuel Vadot #define SPI5_R		26
378d13bc63SEmmanuel Vadot #define SPI6_R		27
388d13bc63SEmmanuel Vadot #define SPI7_R		28
398d13bc63SEmmanuel Vadot #define SPI8_R		29
408d13bc63SEmmanuel Vadot #define SPDIFRX_R	30
418d13bc63SEmmanuel Vadot #define USART1_R	31
428d13bc63SEmmanuel Vadot #define USART2_R	32
438d13bc63SEmmanuel Vadot #define USART3_R	33
448d13bc63SEmmanuel Vadot #define UART4_R		34
458d13bc63SEmmanuel Vadot #define UART5_R		35
468d13bc63SEmmanuel Vadot #define USART6_R	36
478d13bc63SEmmanuel Vadot #define UART7_R		37
488d13bc63SEmmanuel Vadot #define UART8_R		38
498d13bc63SEmmanuel Vadot #define UART9_R		39
508d13bc63SEmmanuel Vadot #define LPUART1_R	40
518d13bc63SEmmanuel Vadot #define IS2M_R		41
528d13bc63SEmmanuel Vadot #define I2C1_R		42
538d13bc63SEmmanuel Vadot #define I2C2_R		43
548d13bc63SEmmanuel Vadot #define I2C3_R		44
558d13bc63SEmmanuel Vadot #define I2C4_R		45
568d13bc63SEmmanuel Vadot #define I2C5_R		46
578d13bc63SEmmanuel Vadot #define I2C6_R		47
588d13bc63SEmmanuel Vadot #define I2C7_R		48
598d13bc63SEmmanuel Vadot #define I2C8_R		49
608d13bc63SEmmanuel Vadot #define SAI1_R		50
618d13bc63SEmmanuel Vadot #define SAI2_R		51
628d13bc63SEmmanuel Vadot #define SAI3_R		52
638d13bc63SEmmanuel Vadot #define SAI4_R		53
648d13bc63SEmmanuel Vadot #define MDF1_R		54
658d13bc63SEmmanuel Vadot #define MDF2_R		55
668d13bc63SEmmanuel Vadot #define FDCAN_R		56
678d13bc63SEmmanuel Vadot #define HDP_R		57
688d13bc63SEmmanuel Vadot #define ADC12_R		58
698d13bc63SEmmanuel Vadot #define ADC3_R		59
708d13bc63SEmmanuel Vadot #define ETH1_R		60
718d13bc63SEmmanuel Vadot #define ETH2_R		61
72*7d0873ebSEmmanuel Vadot #define USBH_R		62
738d13bc63SEmmanuel Vadot #define USB2PHY1_R	63
748d13bc63SEmmanuel Vadot #define USB2PHY2_R	64
758d13bc63SEmmanuel Vadot #define USB3DR_R	65
768d13bc63SEmmanuel Vadot #define USB3PCIEPHY_R	66
778d13bc63SEmmanuel Vadot #define USBTC_R		67
788d13bc63SEmmanuel Vadot #define ETHSW_R		68
798d13bc63SEmmanuel Vadot #define SDMMC1_R	69
808d13bc63SEmmanuel Vadot #define SDMMC1DLL_R	70
818d13bc63SEmmanuel Vadot #define SDMMC2_R	71
828d13bc63SEmmanuel Vadot #define SDMMC2DLL_R	72
838d13bc63SEmmanuel Vadot #define SDMMC3_R	73
848d13bc63SEmmanuel Vadot #define SDMMC3DLL_R	74
858d13bc63SEmmanuel Vadot #define GPU_R		75
868d13bc63SEmmanuel Vadot #define LTDC_R		76
878d13bc63SEmmanuel Vadot #define DSI_R		77
888d13bc63SEmmanuel Vadot #define LVDS_R		78
898d13bc63SEmmanuel Vadot #define CSI_R		79
908d13bc63SEmmanuel Vadot #define DCMIPP_R	80
918d13bc63SEmmanuel Vadot #define CCI_R		81
928d13bc63SEmmanuel Vadot #define VDEC_R		82
938d13bc63SEmmanuel Vadot #define VENC_R		83
948d13bc63SEmmanuel Vadot #define WWDG1_R		84
958d13bc63SEmmanuel Vadot #define WWDG2_R		85
968d13bc63SEmmanuel Vadot #define VREF_R		86
978d13bc63SEmmanuel Vadot #define DTS_R		87
988d13bc63SEmmanuel Vadot #define CRC_R		88
998d13bc63SEmmanuel Vadot #define SERC_R		89
1008d13bc63SEmmanuel Vadot #define OSPIIOM_R	90
1018d13bc63SEmmanuel Vadot #define I3C1_R		91
1028d13bc63SEmmanuel Vadot #define I3C2_R		92
1038d13bc63SEmmanuel Vadot #define I3C3_R		93
1048d13bc63SEmmanuel Vadot #define I3C4_R		94
1058d13bc63SEmmanuel Vadot #define IWDG2_KER_R	95
1068d13bc63SEmmanuel Vadot #define IWDG4_KER_R	96
1078d13bc63SEmmanuel Vadot #define RNG_R		97
1088d13bc63SEmmanuel Vadot #define PKA_R		98
1098d13bc63SEmmanuel Vadot #define SAES_R		99
1108d13bc63SEmmanuel Vadot #define HASH_R		100
1118d13bc63SEmmanuel Vadot #define CRYP1_R		101
1128d13bc63SEmmanuel Vadot #define CRYP2_R		102
1138d13bc63SEmmanuel Vadot #define PCIE_R		103
1148d13bc63SEmmanuel Vadot #define OSPI1_R		104
1158d13bc63SEmmanuel Vadot #define OSPI1DLL_R	105
1168d13bc63SEmmanuel Vadot #define OSPI2_R		106
1178d13bc63SEmmanuel Vadot #define OSPI2DLL_R	107
1188d13bc63SEmmanuel Vadot #define FMC_R		108
1198d13bc63SEmmanuel Vadot #define DBG_R		109
1208d13bc63SEmmanuel Vadot #define GPIOA_R		110
1218d13bc63SEmmanuel Vadot #define GPIOB_R		111
1228d13bc63SEmmanuel Vadot #define GPIOC_R		112
1238d13bc63SEmmanuel Vadot #define GPIOD_R		113
1248d13bc63SEmmanuel Vadot #define GPIOE_R		114
1258d13bc63SEmmanuel Vadot #define GPIOF_R		115
1268d13bc63SEmmanuel Vadot #define GPIOG_R		116
1278d13bc63SEmmanuel Vadot #define GPIOH_R		117
1288d13bc63SEmmanuel Vadot #define GPIOI_R		118
1298d13bc63SEmmanuel Vadot #define GPIOJ_R		119
1308d13bc63SEmmanuel Vadot #define GPIOK_R		120
1318d13bc63SEmmanuel Vadot #define GPIOZ_R		121
1328d13bc63SEmmanuel Vadot #define HPDMA1_R	122
1338d13bc63SEmmanuel Vadot #define HPDMA2_R	123
1348d13bc63SEmmanuel Vadot #define HPDMA3_R	124
1358d13bc63SEmmanuel Vadot #define LPDMA_R		125
1368d13bc63SEmmanuel Vadot #define HSEM_R		126
1378d13bc63SEmmanuel Vadot #define IPCC1_R		127
1388d13bc63SEmmanuel Vadot #define IPCC2_R		128
1398d13bc63SEmmanuel Vadot #define C2_HOLDBOOT_R	129
1408d13bc63SEmmanuel Vadot #define C1_HOLDBOOT_R	130
1418d13bc63SEmmanuel Vadot #define C1_R		131
1428d13bc63SEmmanuel Vadot #define C1P1POR_R	132
1438d13bc63SEmmanuel Vadot #define C1P1_R		133
1448d13bc63SEmmanuel Vadot #define C2_R		134
1458d13bc63SEmmanuel Vadot #define C3_R		135
1468d13bc63SEmmanuel Vadot #define SYS_R		136
1478d13bc63SEmmanuel Vadot #define VSW_R		137
1488d13bc63SEmmanuel Vadot #define C1MS_R		138
1498d13bc63SEmmanuel Vadot #define DDRCP_R		139
1508d13bc63SEmmanuel Vadot #define DDRCAPB_R	140
1518d13bc63SEmmanuel Vadot #define DDRPHYCAPB_R	141
1528d13bc63SEmmanuel Vadot #define DDRCFG_R	142
1538d13bc63SEmmanuel Vadot #define DDR_R		143
1548d13bc63SEmmanuel Vadot 
1558d13bc63SEmmanuel Vadot #define STM32MP25_LAST_RESET	144
1568d13bc63SEmmanuel Vadot 
1578d13bc63SEmmanuel Vadot #define RST_SCMI_C1_R		0
1588d13bc63SEmmanuel Vadot #define RST_SCMI_C2_R		1
1598d13bc63SEmmanuel Vadot #define RST_SCMI_C1_HOLDBOOT_R	2
1608d13bc63SEmmanuel Vadot #define RST_SCMI_C2_HOLDBOOT_R	3
1618d13bc63SEmmanuel Vadot #define RST_SCMI_FMC		4
1628d13bc63SEmmanuel Vadot #define RST_SCMI_OSPI1		5
1638d13bc63SEmmanuel Vadot #define RST_SCMI_OSPI1DLL	6
1648d13bc63SEmmanuel Vadot #define RST_SCMI_OSPI2		7
1658d13bc63SEmmanuel Vadot #define RST_SCMI_OSPI2DLL	8
1668d13bc63SEmmanuel Vadot 
1678d13bc63SEmmanuel Vadot #endif /* _DT_BINDINGS_STM32MP25_RESET_H_ */
168