162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) STMicroelectronics 2018 - All Rights Reserved
462306a36Sopenharmony_ci * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for STMicroelectronics.
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_STM32MP1_RESET_H_
862306a36Sopenharmony_ci#define _DT_BINDINGS_STM32MP1_RESET_H_
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#define MCU_HOLD_BOOT_R	2144
1162306a36Sopenharmony_ci#define LTDC_R		3072
1262306a36Sopenharmony_ci#define DSI_R		3076
1362306a36Sopenharmony_ci#define DDRPERFM_R	3080
1462306a36Sopenharmony_ci#define USBPHY_R	3088
1562306a36Sopenharmony_ci#define SPI6_R		3136
1662306a36Sopenharmony_ci#define I2C4_R		3138
1762306a36Sopenharmony_ci#define I2C6_R		3139
1862306a36Sopenharmony_ci#define USART1_R	3140
1962306a36Sopenharmony_ci#define STGEN_R		3156
2062306a36Sopenharmony_ci#define GPIOZ_R		3200
2162306a36Sopenharmony_ci#define CRYP1_R		3204
2262306a36Sopenharmony_ci#define HASH1_R		3205
2362306a36Sopenharmony_ci#define RNG1_R		3206
2462306a36Sopenharmony_ci#define AXIM_R		3216
2562306a36Sopenharmony_ci#define GPU_R		3269
2662306a36Sopenharmony_ci#define ETHMAC_R	3274
2762306a36Sopenharmony_ci#define FMC_R		3276
2862306a36Sopenharmony_ci#define QSPI_R		3278
2962306a36Sopenharmony_ci#define SDMMC1_R	3280
3062306a36Sopenharmony_ci#define SDMMC2_R	3281
3162306a36Sopenharmony_ci#define CRC1_R		3284
3262306a36Sopenharmony_ci#define USBH_R		3288
3362306a36Sopenharmony_ci#define MDMA_R		3328
3462306a36Sopenharmony_ci#define MCU_R		8225
3562306a36Sopenharmony_ci#define TIM2_R		19456
3662306a36Sopenharmony_ci#define TIM3_R		19457
3762306a36Sopenharmony_ci#define TIM4_R		19458
3862306a36Sopenharmony_ci#define TIM5_R		19459
3962306a36Sopenharmony_ci#define TIM6_R		19460
4062306a36Sopenharmony_ci#define TIM7_R		19461
4162306a36Sopenharmony_ci#define TIM12_R		16462
4262306a36Sopenharmony_ci#define TIM13_R		16463
4362306a36Sopenharmony_ci#define TIM14_R		16464
4462306a36Sopenharmony_ci#define LPTIM1_R	19465
4562306a36Sopenharmony_ci#define SPI2_R		19467
4662306a36Sopenharmony_ci#define SPI3_R		19468
4762306a36Sopenharmony_ci#define USART2_R	19470
4862306a36Sopenharmony_ci#define USART3_R	19471
4962306a36Sopenharmony_ci#define UART4_R		19472
5062306a36Sopenharmony_ci#define UART5_R		19473
5162306a36Sopenharmony_ci#define UART7_R		19474
5262306a36Sopenharmony_ci#define UART8_R		19475
5362306a36Sopenharmony_ci#define I2C1_R		19477
5462306a36Sopenharmony_ci#define I2C2_R		19478
5562306a36Sopenharmony_ci#define I2C3_R		19479
5662306a36Sopenharmony_ci#define I2C5_R		19480
5762306a36Sopenharmony_ci#define SPDIF_R		19482
5862306a36Sopenharmony_ci#define CEC_R		19483
5962306a36Sopenharmony_ci#define DAC12_R		19485
6062306a36Sopenharmony_ci#define MDIO_R		19847
6162306a36Sopenharmony_ci#define TIM1_R		19520
6262306a36Sopenharmony_ci#define TIM8_R		19521
6362306a36Sopenharmony_ci#define TIM15_R		19522
6462306a36Sopenharmony_ci#define TIM16_R		19523
6562306a36Sopenharmony_ci#define TIM17_R		19524
6662306a36Sopenharmony_ci#define SPI1_R		19528
6762306a36Sopenharmony_ci#define SPI4_R		19529
6862306a36Sopenharmony_ci#define SPI5_R		19530
6962306a36Sopenharmony_ci#define USART6_R	19533
7062306a36Sopenharmony_ci#define SAI1_R		19536
7162306a36Sopenharmony_ci#define SAI2_R		19537
7262306a36Sopenharmony_ci#define SAI3_R		19538
7362306a36Sopenharmony_ci#define DFSDM_R		19540
7462306a36Sopenharmony_ci#define FDCAN_R		19544
7562306a36Sopenharmony_ci#define LPTIM2_R	19584
7662306a36Sopenharmony_ci#define LPTIM3_R	19585
7762306a36Sopenharmony_ci#define LPTIM4_R	19586
7862306a36Sopenharmony_ci#define LPTIM5_R	19587
7962306a36Sopenharmony_ci#define SAI4_R		19592
8062306a36Sopenharmony_ci#define SYSCFG_R	19595
8162306a36Sopenharmony_ci#define VREF_R		19597
8262306a36Sopenharmony_ci#define TMPSENS_R	19600
8362306a36Sopenharmony_ci#define PMBCTRL_R	19601
8462306a36Sopenharmony_ci#define DMA1_R		19648
8562306a36Sopenharmony_ci#define DMA2_R		19649
8662306a36Sopenharmony_ci#define DMAMUX_R	19650
8762306a36Sopenharmony_ci#define ADC12_R		19653
8862306a36Sopenharmony_ci#define USBO_R		19656
8962306a36Sopenharmony_ci#define SDMMC3_R	19664
9062306a36Sopenharmony_ci#define CAMITF_R	19712
9162306a36Sopenharmony_ci#define CRYP2_R		19716
9262306a36Sopenharmony_ci#define HASH2_R		19717
9362306a36Sopenharmony_ci#define RNG2_R		19718
9462306a36Sopenharmony_ci#define CRC2_R		19719
9562306a36Sopenharmony_ci#define HSEM_R		19723
9662306a36Sopenharmony_ci#define MBOX_R		19724
9762306a36Sopenharmony_ci#define GPIOA_R		19776
9862306a36Sopenharmony_ci#define GPIOB_R		19777
9962306a36Sopenharmony_ci#define GPIOC_R		19778
10062306a36Sopenharmony_ci#define GPIOD_R		19779
10162306a36Sopenharmony_ci#define GPIOE_R		19780
10262306a36Sopenharmony_ci#define GPIOF_R		19781
10362306a36Sopenharmony_ci#define GPIOG_R		19782
10462306a36Sopenharmony_ci#define GPIOH_R		19783
10562306a36Sopenharmony_ci#define GPIOI_R		19784
10662306a36Sopenharmony_ci#define GPIOJ_R		19785
10762306a36Sopenharmony_ci#define GPIOK_R		19786
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_ci/* SCMI reset domain identifiers */
11062306a36Sopenharmony_ci#define RST_SCMI_SPI6		0
11162306a36Sopenharmony_ci#define RST_SCMI_I2C4		1
11262306a36Sopenharmony_ci#define RST_SCMI_I2C6		2
11362306a36Sopenharmony_ci#define RST_SCMI_USART1	3
11462306a36Sopenharmony_ci#define RST_SCMI_STGEN		4
11562306a36Sopenharmony_ci#define RST_SCMI_GPIOZ		5
11662306a36Sopenharmony_ci#define RST_SCMI_CRYP1		6
11762306a36Sopenharmony_ci#define RST_SCMI_HASH1		7
11862306a36Sopenharmony_ci#define RST_SCMI_RNG1		8
11962306a36Sopenharmony_ci#define RST_SCMI_MDMA		9
12062306a36Sopenharmony_ci#define RST_SCMI_MCU		10
12162306a36Sopenharmony_ci#define RST_SCMI_MCU_HOLD_BOOT	11
12262306a36Sopenharmony_ci
12362306a36Sopenharmony_ci#endif /* _DT_BINDINGS_STM32MP1_RESET_H_ */
124