1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
2 /*
3  * Copyright (C) 2018-2019, STMicroelectronics
4  */
5 
6 #ifndef __STM32MP1_ETZPC_H
7 #define __STM32MP1_ETZPC_H
8 
9 /* Define DECPROT IDs for stm32mp1 familly */
10 #define STM32MP1_ETZPC_STGENC_ID	0
11 #define STM32MP1_ETZPC_BKPSRAM_ID	1
12 #define STM32MP1_ETZPC_IWDG1_ID		2
13 #define STM32MP1_ETZPC_USART1_ID	3
14 #define STM32MP1_ETZPC_SPI6_ID		4
15 #define STM32MP1_ETZPC_I2C4_ID		5
16 #define STM32MP1_ETZPC_GPIOZ_ID		6
17 #define STM32MP1_ETZPC_RNG1_ID		7
18 #define STM32MP1_ETZPC_HASH1_ID		8
19 #define STM32MP1_ETZPC_CRYP1_ID		9
20 #define STM32MP1_ETZPC_DDRCTRL_ID	10
21 #define STM32MP1_ETZPC_DDRPHYC_ID	11
22 #define STM32MP1_ETZPC_I2C6_ID		12
23 /* 13-15 Reserved */
24 #define STM32MP1_ETZPC_TIM2_ID		16
25 #define STM32MP1_ETZPC_TIM3_ID		17
26 #define STM32MP1_ETZPC_TIM4_ID		18
27 #define STM32MP1_ETZPC_TIM5_ID		19
28 #define STM32MP1_ETZPC_TIM6_ID		20
29 #define STM32MP1_ETZPC_TIM7_ID		21
30 #define STM32MP1_ETZPC_TIM12_ID		22
31 #define STM32MP1_ETZPC_TIM13_ID		23
32 #define STM32MP1_ETZPC_TIM14_ID		24
33 #define STM32MP1_ETZPC_LPTIM1_ID	25
34 #define STM32MP1_ETZPC_WWDG1_ID		26
35 #define STM32MP1_ETZPC_SPI2_ID		27
36 #define STM32MP1_ETZPC_SPI3_ID		28
37 #define STM32MP1_ETZPC_SPDIFRX_ID	29
38 #define STM32MP1_ETZPC_USART2_ID	30
39 #define STM32MP1_ETZPC_USART3_ID	31
40 #define STM32MP1_ETZPC_UART4_ID		32
41 #define STM32MP1_ETZPC_UART5_ID		33
42 #define STM32MP1_ETZPC_I2C1_ID		34
43 #define STM32MP1_ETZPC_I2C2_ID		35
44 #define STM32MP1_ETZPC_I2C3_ID		36
45 #define STM32MP1_ETZPC_I2C5_ID		37
46 #define STM32MP1_ETZPC_CEC_ID		38
47 #define STM32MP1_ETZPC_DAC_ID		39
48 #define STM32MP1_ETZPC_UART7_ID		40
49 #define STM32MP1_ETZPC_UART8_ID		41
50 /* 42-43 Reserved */
51 #define STM32MP1_ETZPC_MDIOS_ID		44
52 /* 45-47 Reserved */
53 #define STM32MP1_ETZPC_TIM1_ID		48
54 #define STM32MP1_ETZPC_TIM8_ID		49
55 /* 50 Reserved */
56 #define STM32MP1_ETZPC_USART6_ID	51
57 #define STM32MP1_ETZPC_SPI1_ID		52
58 #define STM32MP1_ETZPC_SPI4_ID		53
59 #define STM32MP1_ETZPC_TIM15_ID		54
60 #define STM32MP1_ETZPC_TIM16_ID		55
61 #define STM32MP1_ETZPC_TIM17_ID		56
62 #define STM32MP1_ETZPC_SPI5_ID		57
63 #define STM32MP1_ETZPC_SAI1_ID		58
64 #define STM32MP1_ETZPC_SAI2_ID		59
65 #define STM32MP1_ETZPC_SAI3_ID		60
66 #define STM32MP1_ETZPC_DFSDM_ID		61
67 #define STM32MP1_ETZPC_TT_FDCAN_ID	62
68 /* 63 Reserved */
69 #define STM32MP1_ETZPC_LPTIM2_ID	64
70 #define STM32MP1_ETZPC_LPTIM3_ID	65
71 #define STM32MP1_ETZPC_LPTIM4_ID	66
72 #define STM32MP1_ETZPC_LPTIM5_ID	67
73 #define STM32MP1_ETZPC_SAI4_ID		68
74 #define STM32MP1_ETZPC_VREFBUF_ID	69
75 #define STM32MP1_ETZPC_DCMI_ID		70
76 #define STM32MP1_ETZPC_CRC2_ID		71
77 #define STM32MP1_ETZPC_ADC_ID		72
78 #define STM32MP1_ETZPC_HASH2_ID		73
79 #define STM32MP1_ETZPC_RNG2_ID		74
80 #define STM32MP1_ETZPC_CRYP2_ID		75
81 /* 76-79 Reserved */
82 #define STM32MP1_ETZPC_SRAM1_ID		80
83 #define STM32MP1_ETZPC_SRAM2_ID		81
84 #define STM32MP1_ETZPC_SRAM3_ID		82
85 #define STM32MP1_ETZPC_SRAM4_ID		83
86 #define STM32MP1_ETZPC_RETRAM_ID	84
87 #define STM32MP1_ETZPC_OTG_ID		85
88 #define STM32MP1_ETZPC_SDMMC3_ID	86
89 #define STM32MP1_ETZPC_DLYBSD3_ID	87
90 #define STM32MP1_ETZPC_DMA1_ID		88
91 #define STM32MP1_ETZPC_DMA2_ID		89
92 #define STM32MP1_ETZPC_DMAMUX_ID	90
93 #define STM32MP1_ETZPC_FMC_ID		91
94 #define STM32MP1_ETZPC_QSPI_ID		92
95 #define STM32MP1_ETZPC_DLYBQ_ID		93
96 #define STM32MP1_ETZPC_ETH_ID		94
97 /* 95 Reserved */
98 #define STM32MP1_ETZPC_MAX_ID		96
99 
100 #endif /*__STM32MP1_ETZPC_H*/
101