1*b5be49dbSGabriel Fernandez /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ 2*b5be49dbSGabriel Fernandez /* 3*b5be49dbSGabriel Fernandez * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 4*b5be49dbSGabriel Fernandez * Author(s): Gabriel Fernandez <gabriel.fernandez@foss.st.com> 5*b5be49dbSGabriel Fernandez */ 6*b5be49dbSGabriel Fernandez 7*b5be49dbSGabriel Fernandez #ifndef _DT_BINDINGS_STM32MP25_RESET_H_ 8*b5be49dbSGabriel Fernandez #define _DT_BINDINGS_STM32MP25_RESET_H_ 9*b5be49dbSGabriel Fernandez 10*b5be49dbSGabriel Fernandez #define TIM1_R 0 11*b5be49dbSGabriel Fernandez #define TIM2_R 1 12*b5be49dbSGabriel Fernandez #define TIM3_R 2 13*b5be49dbSGabriel Fernandez #define TIM4_R 3 14*b5be49dbSGabriel Fernandez #define TIM5_R 4 15*b5be49dbSGabriel Fernandez #define TIM6_R 5 16*b5be49dbSGabriel Fernandez #define TIM7_R 6 17*b5be49dbSGabriel Fernandez #define TIM8_R 7 18*b5be49dbSGabriel Fernandez #define TIM10_R 8 19*b5be49dbSGabriel Fernandez #define TIM11_R 9 20*b5be49dbSGabriel Fernandez #define TIM12_R 10 21*b5be49dbSGabriel Fernandez #define TIM13_R 11 22*b5be49dbSGabriel Fernandez #define TIM14_R 12 23*b5be49dbSGabriel Fernandez #define TIM15_R 13 24*b5be49dbSGabriel Fernandez #define TIM16_R 14 25*b5be49dbSGabriel Fernandez #define TIM17_R 15 26*b5be49dbSGabriel Fernandez #define TIM20_R 16 27*b5be49dbSGabriel Fernandez #define LPTIM1_R 17 28*b5be49dbSGabriel Fernandez #define LPTIM2_R 18 29*b5be49dbSGabriel Fernandez #define LPTIM3_R 19 30*b5be49dbSGabriel Fernandez #define LPTIM4_R 20 31*b5be49dbSGabriel Fernandez #define LPTIM5_R 21 32*b5be49dbSGabriel Fernandez #define SPI1_R 22 33*b5be49dbSGabriel Fernandez #define SPI2_R 23 34*b5be49dbSGabriel Fernandez #define SPI3_R 24 35*b5be49dbSGabriel Fernandez #define SPI4_R 25 36*b5be49dbSGabriel Fernandez #define SPI5_R 26 37*b5be49dbSGabriel Fernandez #define SPI6_R 27 38*b5be49dbSGabriel Fernandez #define SPI7_R 28 39*b5be49dbSGabriel Fernandez #define SPI8_R 29 40*b5be49dbSGabriel Fernandez #define SPDIFRX_R 30 41*b5be49dbSGabriel Fernandez #define USART1_R 31 42*b5be49dbSGabriel Fernandez #define USART2_R 32 43*b5be49dbSGabriel Fernandez #define USART3_R 33 44*b5be49dbSGabriel Fernandez #define UART4_R 34 45*b5be49dbSGabriel Fernandez #define UART5_R 35 46*b5be49dbSGabriel Fernandez #define USART6_R 36 47*b5be49dbSGabriel Fernandez #define UART7_R 37 48*b5be49dbSGabriel Fernandez #define UART8_R 38 49*b5be49dbSGabriel Fernandez #define UART9_R 39 50*b5be49dbSGabriel Fernandez #define LPUART1_R 40 51*b5be49dbSGabriel Fernandez #define IS2M_R 41 52*b5be49dbSGabriel Fernandez #define I2C1_R 42 53*b5be49dbSGabriel Fernandez #define I2C2_R 43 54*b5be49dbSGabriel Fernandez #define I2C3_R 44 55*b5be49dbSGabriel Fernandez #define I2C4_R 45 56*b5be49dbSGabriel Fernandez #define I2C5_R 46 57*b5be49dbSGabriel Fernandez #define I2C6_R 47 58*b5be49dbSGabriel Fernandez #define I2C7_R 48 59*b5be49dbSGabriel Fernandez #define I2C8_R 49 60*b5be49dbSGabriel Fernandez #define SAI1_R 50 61*b5be49dbSGabriel Fernandez #define SAI2_R 51 62*b5be49dbSGabriel Fernandez #define SAI3_R 52 63*b5be49dbSGabriel Fernandez #define SAI4_R 53 64*b5be49dbSGabriel Fernandez #define MDF1_R 54 65*b5be49dbSGabriel Fernandez #define MDF2_R 55 66*b5be49dbSGabriel Fernandez #define FDCAN_R 56 67*b5be49dbSGabriel Fernandez #define HDP_R 57 68*b5be49dbSGabriel Fernandez #define ADC12_R 58 69*b5be49dbSGabriel Fernandez #define ADC3_R 59 70*b5be49dbSGabriel Fernandez #define ETH1_R 60 71*b5be49dbSGabriel Fernandez #define ETH2_R 61 72*b5be49dbSGabriel Fernandez #define USB2_R 62 73*b5be49dbSGabriel Fernandez #define USB2PHY1_R 63 74*b5be49dbSGabriel Fernandez #define USB2PHY2_R 64 75*b5be49dbSGabriel Fernandez #define USB3DR_R 65 76*b5be49dbSGabriel Fernandez #define USB3PCIEPHY_R 66 77*b5be49dbSGabriel Fernandez #define USBTC_R 67 78*b5be49dbSGabriel Fernandez #define ETHSW_R 68 79*b5be49dbSGabriel Fernandez #define SDMMC1_R 69 80*b5be49dbSGabriel Fernandez #define SDMMC1DLL_R 70 81*b5be49dbSGabriel Fernandez #define SDMMC2_R 71 82*b5be49dbSGabriel Fernandez #define SDMMC2DLL_R 72 83*b5be49dbSGabriel Fernandez #define SDMMC3_R 73 84*b5be49dbSGabriel Fernandez #define SDMMC3DLL_R 74 85*b5be49dbSGabriel Fernandez #define GPU_R 75 86*b5be49dbSGabriel Fernandez #define LTDC_R 76 87*b5be49dbSGabriel Fernandez #define DSI_R 77 88*b5be49dbSGabriel Fernandez #define LVDS_R 78 89*b5be49dbSGabriel Fernandez #define CSI_R 79 90*b5be49dbSGabriel Fernandez #define DCMIPP_R 80 91*b5be49dbSGabriel Fernandez #define CCI_R 81 92*b5be49dbSGabriel Fernandez #define VDEC_R 82 93*b5be49dbSGabriel Fernandez #define VENC_R 83 94*b5be49dbSGabriel Fernandez #define WWDG1_R 84 95*b5be49dbSGabriel Fernandez #define WWDG2_R 85 96*b5be49dbSGabriel Fernandez #define VREF_R 86 97*b5be49dbSGabriel Fernandez #define DTS_R 87 98*b5be49dbSGabriel Fernandez #define CRC_R 88 99*b5be49dbSGabriel Fernandez #define SERC_R 89 100*b5be49dbSGabriel Fernandez #define OSPIIOM_R 90 101*b5be49dbSGabriel Fernandez #define I3C1_R 91 102*b5be49dbSGabriel Fernandez #define I3C2_R 92 103*b5be49dbSGabriel Fernandez #define I3C3_R 93 104*b5be49dbSGabriel Fernandez #define I3C4_R 94 105*b5be49dbSGabriel Fernandez #define IWDG2_KER_R 95 106*b5be49dbSGabriel Fernandez #define IWDG4_KER_R 96 107*b5be49dbSGabriel Fernandez #define RNG_R 97 108*b5be49dbSGabriel Fernandez #define PKA_R 98 109*b5be49dbSGabriel Fernandez #define SAES_R 99 110*b5be49dbSGabriel Fernandez #define HASH_R 100 111*b5be49dbSGabriel Fernandez #define CRYP1_R 101 112*b5be49dbSGabriel Fernandez #define CRYP2_R 102 113*b5be49dbSGabriel Fernandez #define PCIE_R 103 114*b5be49dbSGabriel Fernandez #define OSPI1_R 104 115*b5be49dbSGabriel Fernandez #define OSPI1DLL_R 105 116*b5be49dbSGabriel Fernandez #define OSPI2_R 106 117*b5be49dbSGabriel Fernandez #define OSPI2DLL_R 107 118*b5be49dbSGabriel Fernandez #define FMC_R 108 119*b5be49dbSGabriel Fernandez #define DBG_R 109 120*b5be49dbSGabriel Fernandez #define GPIOA_R 110 121*b5be49dbSGabriel Fernandez #define GPIOB_R 111 122*b5be49dbSGabriel Fernandez #define GPIOC_R 112 123*b5be49dbSGabriel Fernandez #define GPIOD_R 113 124*b5be49dbSGabriel Fernandez #define GPIOE_R 114 125*b5be49dbSGabriel Fernandez #define GPIOF_R 115 126*b5be49dbSGabriel Fernandez #define GPIOG_R 116 127*b5be49dbSGabriel Fernandez #define GPIOH_R 117 128*b5be49dbSGabriel Fernandez #define GPIOI_R 118 129*b5be49dbSGabriel Fernandez #define GPIOJ_R 119 130*b5be49dbSGabriel Fernandez #define GPIOK_R 120 131*b5be49dbSGabriel Fernandez #define GPIOZ_R 121 132*b5be49dbSGabriel Fernandez #define HPDMA1_R 122 133*b5be49dbSGabriel Fernandez #define HPDMA2_R 123 134*b5be49dbSGabriel Fernandez #define HPDMA3_R 124 135*b5be49dbSGabriel Fernandez #define LPDMA_R 125 136*b5be49dbSGabriel Fernandez #define HSEM_R 126 137*b5be49dbSGabriel Fernandez #define IPCC1_R 127 138*b5be49dbSGabriel Fernandez #define IPCC2_R 128 139*b5be49dbSGabriel Fernandez #define C2_HOLDBOOT_R 129 140*b5be49dbSGabriel Fernandez #define C1_HOLDBOOT_R 130 141*b5be49dbSGabriel Fernandez #define C1_R 131 142*b5be49dbSGabriel Fernandez #define C1P1POR_R 132 143*b5be49dbSGabriel Fernandez #define C1P1_R 133 144*b5be49dbSGabriel Fernandez #define C2_R 134 145*b5be49dbSGabriel Fernandez #define C3_R 135 146*b5be49dbSGabriel Fernandez #define SYS_R 136 147*b5be49dbSGabriel Fernandez #define VSW_R 137 148*b5be49dbSGabriel Fernandez #define C1MS_R 138 149*b5be49dbSGabriel Fernandez #define DDRCP_R 139 150*b5be49dbSGabriel Fernandez #define DDRCAPB_R 140 151*b5be49dbSGabriel Fernandez #define DDRPHYCAPB_R 141 152*b5be49dbSGabriel Fernandez #define DDRCFG_R 142 153*b5be49dbSGabriel Fernandez #define DDR_R 143 154*b5be49dbSGabriel Fernandez 155*b5be49dbSGabriel Fernandez #define STM32MP25_LAST_RESET 144 156*b5be49dbSGabriel Fernandez 157*b5be49dbSGabriel Fernandez #define RST_SCMI_C1_R 0 158*b5be49dbSGabriel Fernandez #define RST_SCMI_C2_R 1 159*b5be49dbSGabriel Fernandez #define RST_SCMI_C1_HOLDBOOT_R 2 160*b5be49dbSGabriel Fernandez #define RST_SCMI_C2_HOLDBOOT_R 3 161*b5be49dbSGabriel Fernandez #define RST_SCMI_FMC 4 162*b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI1 5 163*b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI1DLL 6 164*b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI2 7 165*b5be49dbSGabriel Fernandez #define RST_SCMI_OSPI2DLL 8 166*b5be49dbSGabriel Fernandez 167*b5be49dbSGabriel Fernandez #endif /* _DT_BINDINGS_STM32MP25_RESET_H_ */ 168