1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * This header provides constants for the reset controller 4*c66ec88fSEmmanuel Vadot * based peripheral powerdown requests on the STMicroelectronics 5*c66ec88fSEmmanuel Vadot * STiH407 SoC. 6*c66ec88fSEmmanuel Vadot */ 7*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH407 8*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_RESET_CONTROLLER_STIH407 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot /* Powerdown requests control 0 */ 11*c66ec88fSEmmanuel Vadot #define STIH407_EMISS_POWERDOWN 0 12*c66ec88fSEmmanuel Vadot #define STIH407_NAND_POWERDOWN 1 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel Vadot /* Synp GMAC PowerDown */ 15*c66ec88fSEmmanuel Vadot #define STIH407_ETH1_POWERDOWN 2 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot /* Powerdown requests control 1 */ 18*c66ec88fSEmmanuel Vadot #define STIH407_USB3_POWERDOWN 3 19*c66ec88fSEmmanuel Vadot #define STIH407_USB2_PORT1_POWERDOWN 4 20*c66ec88fSEmmanuel Vadot #define STIH407_USB2_PORT0_POWERDOWN 5 21*c66ec88fSEmmanuel Vadot #define STIH407_PCIE1_POWERDOWN 6 22*c66ec88fSEmmanuel Vadot #define STIH407_PCIE0_POWERDOWN 7 23*c66ec88fSEmmanuel Vadot #define STIH407_SATA1_POWERDOWN 8 24*c66ec88fSEmmanuel Vadot #define STIH407_SATA0_POWERDOWN 9 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot /* Reset defines */ 27*c66ec88fSEmmanuel Vadot #define STIH407_ETH1_SOFTRESET 0 28*c66ec88fSEmmanuel Vadot #define STIH407_MMC1_SOFTRESET 1 29*c66ec88fSEmmanuel Vadot #define STIH407_PICOPHY_SOFTRESET 2 30*c66ec88fSEmmanuel Vadot #define STIH407_IRB_SOFTRESET 3 31*c66ec88fSEmmanuel Vadot #define STIH407_PCIE0_SOFTRESET 4 32*c66ec88fSEmmanuel Vadot #define STIH407_PCIE1_SOFTRESET 5 33*c66ec88fSEmmanuel Vadot #define STIH407_SATA0_SOFTRESET 6 34*c66ec88fSEmmanuel Vadot #define STIH407_SATA1_SOFTRESET 7 35*c66ec88fSEmmanuel Vadot #define STIH407_MIPHY0_SOFTRESET 8 36*c66ec88fSEmmanuel Vadot #define STIH407_MIPHY1_SOFTRESET 9 37*c66ec88fSEmmanuel Vadot #define STIH407_MIPHY2_SOFTRESET 10 38*c66ec88fSEmmanuel Vadot #define STIH407_SATA0_PWR_SOFTRESET 11 39*c66ec88fSEmmanuel Vadot #define STIH407_SATA1_PWR_SOFTRESET 12 40*c66ec88fSEmmanuel Vadot #define STIH407_DELTA_SOFTRESET 13 41*c66ec88fSEmmanuel Vadot #define STIH407_BLITTER_SOFTRESET 14 42*c66ec88fSEmmanuel Vadot #define STIH407_HDTVOUT_SOFTRESET 15 43*c66ec88fSEmmanuel Vadot #define STIH407_HDQVDP_SOFTRESET 16 44*c66ec88fSEmmanuel Vadot #define STIH407_VDP_AUX_SOFTRESET 17 45*c66ec88fSEmmanuel Vadot #define STIH407_COMPO_SOFTRESET 18 46*c66ec88fSEmmanuel Vadot #define STIH407_HDMI_TX_PHY_SOFTRESET 19 47*c66ec88fSEmmanuel Vadot #define STIH407_JPEG_DEC_SOFTRESET 20 48*c66ec88fSEmmanuel Vadot #define STIH407_VP8_DEC_SOFTRESET 21 49*c66ec88fSEmmanuel Vadot #define STIH407_GPU_SOFTRESET 22 50*c66ec88fSEmmanuel Vadot #define STIH407_HVA_SOFTRESET 23 51*c66ec88fSEmmanuel Vadot #define STIH407_ERAM_HVA_SOFTRESET 24 52*c66ec88fSEmmanuel Vadot #define STIH407_LPM_SOFTRESET 25 53*c66ec88fSEmmanuel Vadot #define STIH407_KEYSCAN_SOFTRESET 26 54*c66ec88fSEmmanuel Vadot #define STIH407_USB2_PORT0_SOFTRESET 27 55*c66ec88fSEmmanuel Vadot #define STIH407_USB2_PORT1_SOFTRESET 28 56*c66ec88fSEmmanuel Vadot #define STIH407_ST231_AUD_SOFTRESET 29 57*c66ec88fSEmmanuel Vadot #define STIH407_ST231_DMU_SOFTRESET 30 58*c66ec88fSEmmanuel Vadot #define STIH407_ST231_GP0_SOFTRESET 31 59*c66ec88fSEmmanuel Vadot #define STIH407_ST231_GP1_SOFTRESET 32 60*c66ec88fSEmmanuel Vadot 61*c66ec88fSEmmanuel Vadot /* Picophy reset defines */ 62*c66ec88fSEmmanuel Vadot #define STIH407_PICOPHY0_RESET 0 63*c66ec88fSEmmanuel Vadot #define STIH407_PICOPHY1_RESET 1 64*c66ec88fSEmmanuel Vadot #define STIH407_PICOPHY2_RESET 2 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH407 */ 67