linux/include/dt-bindings/reset/stih407-resets.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * This header provides constants for the reset controller
 * based peripheral powerdown requests on the STMicroelectronics
 * STiH407 SoC.
 */
#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH407
#define _DT_BINDINGS_RESET_CONTROLLER_STIH407

/* Powerdown requests control 0 */
#define STIH407_EMISS_POWERDOWN
#define STIH407_NAND_POWERDOWN

/* Synp GMAC PowerDown */
#define STIH407_ETH1_POWERDOWN

/* Powerdown requests control 1 */
#define STIH407_USB3_POWERDOWN
#define STIH407_USB2_PORT1_POWERDOWN
#define STIH407_USB2_PORT0_POWERDOWN
#define STIH407_PCIE1_POWERDOWN
#define STIH407_PCIE0_POWERDOWN
#define STIH407_SATA1_POWERDOWN
#define STIH407_SATA0_POWERDOWN

/* Reset defines */
#define STIH407_ETH1_SOFTRESET
#define STIH407_MMC1_SOFTRESET
#define STIH407_PICOPHY_SOFTRESET
#define STIH407_IRB_SOFTRESET
#define STIH407_PCIE0_SOFTRESET
#define STIH407_PCIE1_SOFTRESET
#define STIH407_SATA0_SOFTRESET
#define STIH407_SATA1_SOFTRESET
#define STIH407_MIPHY0_SOFTRESET
#define STIH407_MIPHY1_SOFTRESET
#define STIH407_MIPHY2_SOFTRESET
#define STIH407_SATA0_PWR_SOFTRESET
#define STIH407_SATA1_PWR_SOFTRESET
#define STIH407_DELTA_SOFTRESET
#define STIH407_BLITTER_SOFTRESET
#define STIH407_HDTVOUT_SOFTRESET
#define STIH407_HDQVDP_SOFTRESET
#define STIH407_VDP_AUX_SOFTRESET
#define STIH407_COMPO_SOFTRESET
#define STIH407_HDMI_TX_PHY_SOFTRESET
#define STIH407_JPEG_DEC_SOFTRESET
#define STIH407_VP8_DEC_SOFTRESET
#define STIH407_GPU_SOFTRESET
#define STIH407_HVA_SOFTRESET
#define STIH407_ERAM_HVA_SOFTRESET
#define STIH407_LPM_SOFTRESET
#define STIH407_KEYSCAN_SOFTRESET
#define STIH407_USB2_PORT0_SOFTRESET
#define STIH407_USB2_PORT1_SOFTRESET
#define STIH407_ST231_AUD_SOFTRESET
#define STIH407_ST231_DMU_SOFTRESET
#define STIH407_ST231_GP0_SOFTRESET
#define STIH407_ST231_GP1_SOFTRESET

/* Picophy reset defines */
#define STIH407_PICOPHY0_RESET
#define STIH407_PICOPHY1_RESET
#define STIH407_PICOPHY2_RESET

#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH407 */