162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * This header provides constants for the reset controller 462306a36Sopenharmony_ci * based peripheral powerdown requests on the STMicroelectronics 562306a36Sopenharmony_ci * STiH407 SoC. 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH407 862306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_STIH407 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* Powerdown requests control 0 */ 1162306a36Sopenharmony_ci#define STIH407_EMISS_POWERDOWN 0 1262306a36Sopenharmony_ci#define STIH407_NAND_POWERDOWN 1 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci/* Synp GMAC PowerDown */ 1562306a36Sopenharmony_ci#define STIH407_ETH1_POWERDOWN 2 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci/* Powerdown requests control 1 */ 1862306a36Sopenharmony_ci#define STIH407_USB3_POWERDOWN 3 1962306a36Sopenharmony_ci#define STIH407_USB2_PORT1_POWERDOWN 4 2062306a36Sopenharmony_ci#define STIH407_USB2_PORT0_POWERDOWN 5 2162306a36Sopenharmony_ci#define STIH407_PCIE1_POWERDOWN 6 2262306a36Sopenharmony_ci#define STIH407_PCIE0_POWERDOWN 7 2362306a36Sopenharmony_ci#define STIH407_SATA1_POWERDOWN 8 2462306a36Sopenharmony_ci#define STIH407_SATA0_POWERDOWN 9 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci/* Reset defines */ 2762306a36Sopenharmony_ci#define STIH407_ETH1_SOFTRESET 0 2862306a36Sopenharmony_ci#define STIH407_MMC1_SOFTRESET 1 2962306a36Sopenharmony_ci#define STIH407_PICOPHY_SOFTRESET 2 3062306a36Sopenharmony_ci#define STIH407_IRB_SOFTRESET 3 3162306a36Sopenharmony_ci#define STIH407_PCIE0_SOFTRESET 4 3262306a36Sopenharmony_ci#define STIH407_PCIE1_SOFTRESET 5 3362306a36Sopenharmony_ci#define STIH407_SATA0_SOFTRESET 6 3462306a36Sopenharmony_ci#define STIH407_SATA1_SOFTRESET 7 3562306a36Sopenharmony_ci#define STIH407_MIPHY0_SOFTRESET 8 3662306a36Sopenharmony_ci#define STIH407_MIPHY1_SOFTRESET 9 3762306a36Sopenharmony_ci#define STIH407_MIPHY2_SOFTRESET 10 3862306a36Sopenharmony_ci#define STIH407_SATA0_PWR_SOFTRESET 11 3962306a36Sopenharmony_ci#define STIH407_SATA1_PWR_SOFTRESET 12 4062306a36Sopenharmony_ci#define STIH407_DELTA_SOFTRESET 13 4162306a36Sopenharmony_ci#define STIH407_BLITTER_SOFTRESET 14 4262306a36Sopenharmony_ci#define STIH407_HDTVOUT_SOFTRESET 15 4362306a36Sopenharmony_ci#define STIH407_HDQVDP_SOFTRESET 16 4462306a36Sopenharmony_ci#define STIH407_VDP_AUX_SOFTRESET 17 4562306a36Sopenharmony_ci#define STIH407_COMPO_SOFTRESET 18 4662306a36Sopenharmony_ci#define STIH407_HDMI_TX_PHY_SOFTRESET 19 4762306a36Sopenharmony_ci#define STIH407_JPEG_DEC_SOFTRESET 20 4862306a36Sopenharmony_ci#define STIH407_VP8_DEC_SOFTRESET 21 4962306a36Sopenharmony_ci#define STIH407_GPU_SOFTRESET 22 5062306a36Sopenharmony_ci#define STIH407_HVA_SOFTRESET 23 5162306a36Sopenharmony_ci#define STIH407_ERAM_HVA_SOFTRESET 24 5262306a36Sopenharmony_ci#define STIH407_LPM_SOFTRESET 25 5362306a36Sopenharmony_ci#define STIH407_KEYSCAN_SOFTRESET 26 5462306a36Sopenharmony_ci#define STIH407_USB2_PORT0_SOFTRESET 27 5562306a36Sopenharmony_ci#define STIH407_USB2_PORT1_SOFTRESET 28 5662306a36Sopenharmony_ci#define STIH407_ST231_AUD_SOFTRESET 29 5762306a36Sopenharmony_ci#define STIH407_ST231_DMU_SOFTRESET 30 5862306a36Sopenharmony_ci#define STIH407_ST231_GP0_SOFTRESET 31 5962306a36Sopenharmony_ci#define STIH407_ST231_GP1_SOFTRESET 32 6062306a36Sopenharmony_ci 6162306a36Sopenharmony_ci/* Picophy reset defines */ 6262306a36Sopenharmony_ci#define STIH407_PICOPHY0_RESET 0 6362306a36Sopenharmony_ci#define STIH407_PICOPHY1_RESET 1 6462306a36Sopenharmony_ci#define STIH407_PICOPHY2_RESET 2 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ci#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH407 */ 67