xref: /rk3399_ARM-atf/include/dt-bindings/soc/stm32mp25-rif.h (revision 7b4b208ed84a150ba67f13b308c5981a3626b10d)
1*7b4b208eSNicolas Le Bayon /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2*7b4b208eSNicolas Le Bayon /*
3*7b4b208eSNicolas Le Bayon  * Copyright (C) 2025, STMicroelectronics - All Rights Reserved
4*7b4b208eSNicolas Le Bayon  *
5*7b4b208eSNicolas Le Bayon  */
6*7b4b208eSNicolas Le Bayon 
7*7b4b208eSNicolas Le Bayon #ifndef _DT_BINDINGS_STM32MP25_RIF_H
8*7b4b208eSNicolas Le Bayon #define _DT_BINDINGS_STM32MP25_RIF_H
9*7b4b208eSNicolas Le Bayon 
10*7b4b208eSNicolas Le Bayon /* define RIFSC ID */
11*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM1_ID			0
12*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM2_ID			1
13*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM3_ID			2
14*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM4_ID			3
15*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM5_ID			4
16*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM6_ID			5
17*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM7_ID			6
18*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM8_ID			7
19*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM10_ID		8
20*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM11_ID		9
21*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM12_ID		10
22*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM13_ID		11
23*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM14_ID		12
24*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM15_ID		13
25*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM16_ID		14
26*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM17_ID		15
27*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_TIM20_ID		16
28*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LPTIM1_ID		17
29*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LPTIM2_ID		18
30*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LPTIM3_ID		19
31*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LPTIM4_ID		20
32*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LPTIM5_ID		21
33*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI1_ID			22
34*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI2_ID			23
35*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI3_ID			24
36*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI4_ID			25
37*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI5_ID			26
38*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI6_ID			27
39*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI7_ID			28
40*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPI8_ID			29
41*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SPDIFRX_ID		30
42*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_USART1_ID		31
43*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_USART2_ID		32
44*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_USART3_ID		33
45*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_UART4_ID		34
46*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_UART5_ID		35
47*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_USART6_ID		36
48*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_UART7_ID		37
49*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_UART8_ID		38
50*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_UART9_ID		39
51*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LPUART1_ID		40
52*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C1_ID			41
53*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C2_ID			42
54*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C3_ID			43
55*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C4_ID			44
56*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C5_ID			45
57*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C6_ID			46
58*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C7_ID			47
59*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I2C8_ID			48
60*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SAI1_ID			49
61*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SAI2_ID			50
62*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SAI3_ID			51
63*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SAI4_ID			52
64*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_MDF1_ID			54
65*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ADF1_ID			55
66*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_FDCAN_ID		56
67*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_HDP_ID			57
68*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ADC12_ID		58
69*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ADC3_ID			59
70*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ETH1_ID			60
71*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ETH2_ID			61
72*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_USBH_ID			63
73*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_USB3DR_ID		66
74*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_COMBOPHY_ID		67
75*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_PCIE_ID			68
76*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_UCPD1_ID		69
77*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ETHSW_CFG_ID		70
78*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ACM_CFG_ID		71
79*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ACM_MSGBUF_ID		72
80*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_STGEN_ID		73
81*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_OCTOSPI1_ID		74
82*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_OCTOSPI2_ID		75
83*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SDMMC1_ID		76
84*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SDMMC2_ID		77
85*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SDMMC3_ID		78
86*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_GPU_ID			79
87*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LTDC_CMN_ID		80
88*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_DSI_CMN_ID		81
89*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LDITX_ID		84
90*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_CSI2HOST_ID		86
91*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_DCMIPP_ID		87
92*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_CCI_ID			88
93*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_VDEC_ID			89
94*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_VENC_ID			90
95*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_RNG_ID			92
96*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_PKA_ID			93
97*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SAES_ID			94
98*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_HASH_ID			95
99*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_CRYP1_ID		96
100*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_CRYP2_ID		97
101*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_IWDG1_ID		98
102*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_IWDG2_ID		99
103*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_IWDG3_ID		100
104*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_IWDG4_ID		101
105*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_IWDG5_ID		102
106*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_WWDG1_ID		103
107*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_WWDG2_ID		104
108*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_VREFBUF_ID		106
109*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_DTS_ID			107
110*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_CRC_ID			109
111*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_SERC_ID			110
112*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_OCTOSPIM_ID		111
113*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_GICV2M_ID		112
114*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I3C1_ID			114
115*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I3C2_ID			115
116*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I3C3_ID			116
117*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_I3C4_ID			117
118*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_ICACHE_DCACHE_ID	118
119*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LTDC_L0L1_ID		119
120*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LTDC_L2_ID		120
121*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_LTDC_ROT_ID		121
122*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_DSI_TRIG_ID		122
123*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_DSI_RDFIFO_ID		123
124*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_OTFDEC1_ID		125
125*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_OTFDEC2_ID		126
126*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_IAC_ID			127
127*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_BSEC_ID			177
128*7b4b208eSNicolas Le Bayon 
129*7b4b208eSNicolas Le Bayon #define STM32MP25_RIFSC_MAX_ID			178
130*7b4b208eSNicolas Le Bayon 
131*7b4b208eSNicolas Le Bayon #endif /* _DT_BINDINGS_STM32MP25_RIF_H */
132