18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * This header provides constants for the reset controller 48c2ecf20Sopenharmony_ci * based peripheral powerdown requests on the STMicroelectronics 58c2ecf20Sopenharmony_ci * STiH407 SoC. 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH407 88c2ecf20Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_STIH407 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci/* Powerdown requests control 0 */ 118c2ecf20Sopenharmony_ci#define STIH407_EMISS_POWERDOWN 0 128c2ecf20Sopenharmony_ci#define STIH407_NAND_POWERDOWN 1 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci/* Synp GMAC PowerDown */ 158c2ecf20Sopenharmony_ci#define STIH407_ETH1_POWERDOWN 2 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci/* Powerdown requests control 1 */ 188c2ecf20Sopenharmony_ci#define STIH407_USB3_POWERDOWN 3 198c2ecf20Sopenharmony_ci#define STIH407_USB2_PORT1_POWERDOWN 4 208c2ecf20Sopenharmony_ci#define STIH407_USB2_PORT0_POWERDOWN 5 218c2ecf20Sopenharmony_ci#define STIH407_PCIE1_POWERDOWN 6 228c2ecf20Sopenharmony_ci#define STIH407_PCIE0_POWERDOWN 7 238c2ecf20Sopenharmony_ci#define STIH407_SATA1_POWERDOWN 8 248c2ecf20Sopenharmony_ci#define STIH407_SATA0_POWERDOWN 9 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci/* Reset defines */ 278c2ecf20Sopenharmony_ci#define STIH407_ETH1_SOFTRESET 0 288c2ecf20Sopenharmony_ci#define STIH407_MMC1_SOFTRESET 1 298c2ecf20Sopenharmony_ci#define STIH407_PICOPHY_SOFTRESET 2 308c2ecf20Sopenharmony_ci#define STIH407_IRB_SOFTRESET 3 318c2ecf20Sopenharmony_ci#define STIH407_PCIE0_SOFTRESET 4 328c2ecf20Sopenharmony_ci#define STIH407_PCIE1_SOFTRESET 5 338c2ecf20Sopenharmony_ci#define STIH407_SATA0_SOFTRESET 6 348c2ecf20Sopenharmony_ci#define STIH407_SATA1_SOFTRESET 7 358c2ecf20Sopenharmony_ci#define STIH407_MIPHY0_SOFTRESET 8 368c2ecf20Sopenharmony_ci#define STIH407_MIPHY1_SOFTRESET 9 378c2ecf20Sopenharmony_ci#define STIH407_MIPHY2_SOFTRESET 10 388c2ecf20Sopenharmony_ci#define STIH407_SATA0_PWR_SOFTRESET 11 398c2ecf20Sopenharmony_ci#define STIH407_SATA1_PWR_SOFTRESET 12 408c2ecf20Sopenharmony_ci#define STIH407_DELTA_SOFTRESET 13 418c2ecf20Sopenharmony_ci#define STIH407_BLITTER_SOFTRESET 14 428c2ecf20Sopenharmony_ci#define STIH407_HDTVOUT_SOFTRESET 15 438c2ecf20Sopenharmony_ci#define STIH407_HDQVDP_SOFTRESET 16 448c2ecf20Sopenharmony_ci#define STIH407_VDP_AUX_SOFTRESET 17 458c2ecf20Sopenharmony_ci#define STIH407_COMPO_SOFTRESET 18 468c2ecf20Sopenharmony_ci#define STIH407_HDMI_TX_PHY_SOFTRESET 19 478c2ecf20Sopenharmony_ci#define STIH407_JPEG_DEC_SOFTRESET 20 488c2ecf20Sopenharmony_ci#define STIH407_VP8_DEC_SOFTRESET 21 498c2ecf20Sopenharmony_ci#define STIH407_GPU_SOFTRESET 22 508c2ecf20Sopenharmony_ci#define STIH407_HVA_SOFTRESET 23 518c2ecf20Sopenharmony_ci#define STIH407_ERAM_HVA_SOFTRESET 24 528c2ecf20Sopenharmony_ci#define STIH407_LPM_SOFTRESET 25 538c2ecf20Sopenharmony_ci#define STIH407_KEYSCAN_SOFTRESET 26 548c2ecf20Sopenharmony_ci#define STIH407_USB2_PORT0_SOFTRESET 27 558c2ecf20Sopenharmony_ci#define STIH407_USB2_PORT1_SOFTRESET 28 568c2ecf20Sopenharmony_ci#define STIH407_ST231_AUD_SOFTRESET 29 578c2ecf20Sopenharmony_ci#define STIH407_ST231_DMU_SOFTRESET 30 588c2ecf20Sopenharmony_ci#define STIH407_ST231_GP0_SOFTRESET 31 598c2ecf20Sopenharmony_ci#define STIH407_ST231_GP1_SOFTRESET 32 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci/* Picophy reset defines */ 628c2ecf20Sopenharmony_ci#define STIH407_PICOPHY0_RESET 0 638c2ecf20Sopenharmony_ci#define STIH407_PICOPHY1_RESET 1 648c2ecf20Sopenharmony_ci#define STIH407_PICOPHY2_RESET 2 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH407 */ 67