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