xref: /linux/include/dt-bindings/reset/stm32mp1-resets.h (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1*440b075bSKrzysztof Kozlowski /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2dae5af97SGabriel Fernandez /*
3dae5af97SGabriel Fernandez  * Copyright (C) STMicroelectronics 2018 - All Rights Reserved
4dae5af97SGabriel Fernandez  * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for STMicroelectronics.
5dae5af97SGabriel Fernandez  */
6dae5af97SGabriel Fernandez 
7dae5af97SGabriel Fernandez #ifndef _DT_BINDINGS_STM32MP1_RESET_H_
8dae5af97SGabriel Fernandez #define _DT_BINDINGS_STM32MP1_RESET_H_
9dae5af97SGabriel Fernandez 
10f040e135SGabriel Fernandez #define MCU_HOLD_BOOT_R	2144
11dae5af97SGabriel Fernandez #define LTDC_R		3072
12dae5af97SGabriel Fernandez #define DSI_R		3076
13dae5af97SGabriel Fernandez #define DDRPERFM_R	3080
14dae5af97SGabriel Fernandez #define USBPHY_R	3088
15dae5af97SGabriel Fernandez #define SPI6_R		3136
16dae5af97SGabriel Fernandez #define I2C4_R		3138
17dae5af97SGabriel Fernandez #define I2C6_R		3139
18dae5af97SGabriel Fernandez #define USART1_R	3140
19dae5af97SGabriel Fernandez #define STGEN_R		3156
20dae5af97SGabriel Fernandez #define GPIOZ_R		3200
21dae5af97SGabriel Fernandez #define CRYP1_R		3204
22dae5af97SGabriel Fernandez #define HASH1_R		3205
23dae5af97SGabriel Fernandez #define RNG1_R		3206
24dae5af97SGabriel Fernandez #define AXIM_R		3216
25dae5af97SGabriel Fernandez #define GPU_R		3269
26dae5af97SGabriel Fernandez #define ETHMAC_R	3274
27dae5af97SGabriel Fernandez #define FMC_R		3276
28dae5af97SGabriel Fernandez #define QSPI_R		3278
29dae5af97SGabriel Fernandez #define SDMMC1_R	3280
30dae5af97SGabriel Fernandez #define SDMMC2_R	3281
31dae5af97SGabriel Fernandez #define CRC1_R		3284
32dae5af97SGabriel Fernandez #define USBH_R		3288
33dae5af97SGabriel Fernandez #define MDMA_R		3328
34dae5af97SGabriel Fernandez #define MCU_R		8225
35dae5af97SGabriel Fernandez #define TIM2_R		19456
36dae5af97SGabriel Fernandez #define TIM3_R		19457
37dae5af97SGabriel Fernandez #define TIM4_R		19458
38dae5af97SGabriel Fernandez #define TIM5_R		19459
39dae5af97SGabriel Fernandez #define TIM6_R		19460
40dae5af97SGabriel Fernandez #define TIM7_R		19461
41dae5af97SGabriel Fernandez #define TIM12_R		16462
42dae5af97SGabriel Fernandez #define TIM13_R		16463
43dae5af97SGabriel Fernandez #define TIM14_R		16464
44dae5af97SGabriel Fernandez #define LPTIM1_R	19465
45dae5af97SGabriel Fernandez #define SPI2_R		19467
46dae5af97SGabriel Fernandez #define SPI3_R		19468
47dae5af97SGabriel Fernandez #define USART2_R	19470
48dae5af97SGabriel Fernandez #define USART3_R	19471
49dae5af97SGabriel Fernandez #define UART4_R		19472
50dae5af97SGabriel Fernandez #define UART5_R		19473
51dae5af97SGabriel Fernandez #define UART7_R		19474
52dae5af97SGabriel Fernandez #define UART8_R		19475
53dae5af97SGabriel Fernandez #define I2C1_R		19477
54dae5af97SGabriel Fernandez #define I2C2_R		19478
55dae5af97SGabriel Fernandez #define I2C3_R		19479
56dae5af97SGabriel Fernandez #define I2C5_R		19480
57dae5af97SGabriel Fernandez #define SPDIF_R		19482
58dae5af97SGabriel Fernandez #define CEC_R		19483
59dae5af97SGabriel Fernandez #define DAC12_R		19485
60dae5af97SGabriel Fernandez #define MDIO_R		19847
61dae5af97SGabriel Fernandez #define TIM1_R		19520
62dae5af97SGabriel Fernandez #define TIM8_R		19521
63dae5af97SGabriel Fernandez #define TIM15_R		19522
64dae5af97SGabriel Fernandez #define TIM16_R		19523
65dae5af97SGabriel Fernandez #define TIM17_R		19524
66dae5af97SGabriel Fernandez #define SPI1_R		19528
67dae5af97SGabriel Fernandez #define SPI4_R		19529
68dae5af97SGabriel Fernandez #define SPI5_R		19530
69dae5af97SGabriel Fernandez #define USART6_R	19533
70dae5af97SGabriel Fernandez #define SAI1_R		19536
71dae5af97SGabriel Fernandez #define SAI2_R		19537
72dae5af97SGabriel Fernandez #define SAI3_R		19538
73dae5af97SGabriel Fernandez #define DFSDM_R		19540
74dae5af97SGabriel Fernandez #define FDCAN_R		19544
75dae5af97SGabriel Fernandez #define LPTIM2_R	19584
76dae5af97SGabriel Fernandez #define LPTIM3_R	19585
77dae5af97SGabriel Fernandez #define LPTIM4_R	19586
78dae5af97SGabriel Fernandez #define LPTIM5_R	19587
79dae5af97SGabriel Fernandez #define SAI4_R		19592
80dae5af97SGabriel Fernandez #define SYSCFG_R	19595
81dae5af97SGabriel Fernandez #define VREF_R		19597
82dae5af97SGabriel Fernandez #define TMPSENS_R	19600
83dae5af97SGabriel Fernandez #define PMBCTRL_R	19601
84dae5af97SGabriel Fernandez #define DMA1_R		19648
85dae5af97SGabriel Fernandez #define DMA2_R		19649
86dae5af97SGabriel Fernandez #define DMAMUX_R	19650
87dae5af97SGabriel Fernandez #define ADC12_R		19653
88dae5af97SGabriel Fernandez #define USBO_R		19656
89dae5af97SGabriel Fernandez #define SDMMC3_R	19664
90dae5af97SGabriel Fernandez #define CAMITF_R	19712
91dae5af97SGabriel Fernandez #define CRYP2_R		19716
92dae5af97SGabriel Fernandez #define HASH2_R		19717
93dae5af97SGabriel Fernandez #define RNG2_R		19718
94dae5af97SGabriel Fernandez #define CRC2_R		19719
95dae5af97SGabriel Fernandez #define HSEM_R		19723
96dae5af97SGabriel Fernandez #define MBOX_R		19724
97dae5af97SGabriel Fernandez #define GPIOA_R		19776
98dae5af97SGabriel Fernandez #define GPIOB_R		19777
99dae5af97SGabriel Fernandez #define GPIOC_R		19778
100dae5af97SGabriel Fernandez #define GPIOD_R		19779
101dae5af97SGabriel Fernandez #define GPIOE_R		19780
102dae5af97SGabriel Fernandez #define GPIOF_R		19781
103dae5af97SGabriel Fernandez #define GPIOG_R		19782
104dae5af97SGabriel Fernandez #define GPIOH_R		19783
105dae5af97SGabriel Fernandez #define GPIOI_R		19784
106dae5af97SGabriel Fernandez #define GPIOJ_R		19785
107dae5af97SGabriel Fernandez #define GPIOK_R		19786
108dae5af97SGabriel Fernandez 
109256c7521SGabriel Fernandez /* SCMI reset domain identifiers */
1105f5d7decSAlexandre Torgue #define RST_SCMI_SPI6		0
1115f5d7decSAlexandre Torgue #define RST_SCMI_I2C4		1
1125f5d7decSAlexandre Torgue #define RST_SCMI_I2C6		2
1135f5d7decSAlexandre Torgue #define RST_SCMI_USART1	3
1145f5d7decSAlexandre Torgue #define RST_SCMI_STGEN		4
1155f5d7decSAlexandre Torgue #define RST_SCMI_GPIOZ		5
1165f5d7decSAlexandre Torgue #define RST_SCMI_CRYP1		6
1175f5d7decSAlexandre Torgue #define RST_SCMI_HASH1		7
1185f5d7decSAlexandre Torgue #define RST_SCMI_RNG1		8
1195f5d7decSAlexandre Torgue #define RST_SCMI_MDMA		9
1205f5d7decSAlexandre Torgue #define RST_SCMI_MCU		10
1215f5d7decSAlexandre Torgue #define RST_SCMI_MCU_HOLD_BOOT	11
122256c7521SGabriel Fernandez 
123dae5af97SGabriel Fernandez #endif /* _DT_BINDINGS_STM32MP1_RESET_H_ */
124