1*51cb23d4SPatrice Chotard /*
2*51cb23d4SPatrice Chotard  * This header provides constants clk index STMicroelectronics
3*51cb23d4SPatrice Chotard  * STiH407 SoC.
4*51cb23d4SPatrice Chotard  */
5*51cb23d4SPatrice Chotard #ifndef _DT_BINDINGS_CLK_STIH407
6*51cb23d4SPatrice Chotard #define _DT_BINDINGS_CLK_STIH407
7*51cb23d4SPatrice Chotard 
8*51cb23d4SPatrice Chotard /* CLOCKGEN A0 */
9*51cb23d4SPatrice Chotard #define CLK_IC_LMI0		0
10*51cb23d4SPatrice Chotard #define CLK_IC_LMI1		1
11*51cb23d4SPatrice Chotard 
12*51cb23d4SPatrice Chotard /* CLOCKGEN C0 */
13*51cb23d4SPatrice Chotard #define CLK_ICN_GPU		0
14*51cb23d4SPatrice Chotard #define CLK_FDMA		1
15*51cb23d4SPatrice Chotard #define CLK_NAND		2
16*51cb23d4SPatrice Chotard #define CLK_HVA			3
17*51cb23d4SPatrice Chotard #define CLK_PROC_STFE		4
18*51cb23d4SPatrice Chotard #define CLK_PROC_TP		5
19*51cb23d4SPatrice Chotard #define CLK_RX_ICN_DMU		6
20*51cb23d4SPatrice Chotard #define CLK_RX_ICN_DISP_0	6
21*51cb23d4SPatrice Chotard #define CLK_RX_ICN_DISP_1	6
22*51cb23d4SPatrice Chotard #define CLK_RX_ICN_HVA		7
23*51cb23d4SPatrice Chotard #define CLK_RX_ICN_TS		7
24*51cb23d4SPatrice Chotard #define CLK_ICN_CPU		8
25*51cb23d4SPatrice Chotard #define CLK_TX_ICN_DMU		9
26*51cb23d4SPatrice Chotard #define CLK_TX_ICN_HVA		9
27*51cb23d4SPatrice Chotard #define CLK_TX_ICN_TS		9
28*51cb23d4SPatrice Chotard #define CLK_ICN_COMPO		9
29*51cb23d4SPatrice Chotard #define CLK_MMC_0		10
30*51cb23d4SPatrice Chotard #define CLK_MMC_1		11
31*51cb23d4SPatrice Chotard #define CLK_JPEGDEC		12
32*51cb23d4SPatrice Chotard #define CLK_ICN_REG		13
33*51cb23d4SPatrice Chotard #define CLK_TRACE_A9		13
34*51cb23d4SPatrice Chotard #define CLK_PTI_STM		13
35*51cb23d4SPatrice Chotard #define CLK_EXT2F_A9		13
36*51cb23d4SPatrice Chotard #define CLK_IC_BDISP_0		14
37*51cb23d4SPatrice Chotard #define CLK_IC_BDISP_1		15
38*51cb23d4SPatrice Chotard #define CLK_PP_DMU		16
39*51cb23d4SPatrice Chotard #define CLK_VID_DMU		17
40*51cb23d4SPatrice Chotard #define CLK_DSS_LPC		18
41*51cb23d4SPatrice Chotard #define CLK_ST231_AUD_0		19
42*51cb23d4SPatrice Chotard #define CLK_ST231_GP_0		19
43*51cb23d4SPatrice Chotard #define CLK_ST231_GP_1		20
44*51cb23d4SPatrice Chotard #define CLK_ST231_DMU		21
45*51cb23d4SPatrice Chotard #define CLK_ICN_LMI		22
46*51cb23d4SPatrice Chotard #define CLK_TX_ICN_DISP_0	23
47*51cb23d4SPatrice Chotard #define CLK_TX_ICN_DISP_1	23
48*51cb23d4SPatrice Chotard #define CLK_ICN_SBC		24
49*51cb23d4SPatrice Chotard #define CLK_STFE_FRC2		25
50*51cb23d4SPatrice Chotard #define CLK_ETH_PHY		26
51*51cb23d4SPatrice Chotard #define CLK_ETH_REF_PHYCLK	27
52*51cb23d4SPatrice Chotard #define CLK_FLASH_PROMIP	28
53*51cb23d4SPatrice Chotard #define CLK_MAIN_DISP		29
54*51cb23d4SPatrice Chotard #define CLK_AUX_DISP		30
55*51cb23d4SPatrice Chotard #define CLK_COMPO_DVP		31
56*51cb23d4SPatrice Chotard 
57*51cb23d4SPatrice Chotard /* CLOCKGEN D0 */
58*51cb23d4SPatrice Chotard #define CLK_PCM_0		0
59*51cb23d4SPatrice Chotard #define CLK_PCM_1		1
60*51cb23d4SPatrice Chotard #define CLK_PCM_2		2
61*51cb23d4SPatrice Chotard #define CLK_SPDIFF		3
62*51cb23d4SPatrice Chotard 
63*51cb23d4SPatrice Chotard /* CLOCKGEN D2 */
64*51cb23d4SPatrice Chotard #define CLK_PIX_MAIN_DISP	0
65*51cb23d4SPatrice Chotard #define CLK_PIX_PIP		1
66*51cb23d4SPatrice Chotard #define CLK_PIX_GDP1		2
67*51cb23d4SPatrice Chotard #define CLK_PIX_GDP2		3
68*51cb23d4SPatrice Chotard #define CLK_PIX_GDP3		4
69*51cb23d4SPatrice Chotard #define CLK_PIX_GDP4		5
70*51cb23d4SPatrice Chotard #define CLK_PIX_AUX_DISP	6
71*51cb23d4SPatrice Chotard #define CLK_DENC		7
72*51cb23d4SPatrice Chotard #define CLK_PIX_HDDAC		8
73*51cb23d4SPatrice Chotard #define CLK_HDDAC		9
74*51cb23d4SPatrice Chotard #define CLK_SDDAC		10
75*51cb23d4SPatrice Chotard #define CLK_PIX_DVO		11
76*51cb23d4SPatrice Chotard #define CLK_DVO			12
77*51cb23d4SPatrice Chotard #define CLK_PIX_HDMI		13
78*51cb23d4SPatrice Chotard #define CLK_TMDS_HDMI		14
79*51cb23d4SPatrice Chotard #define CLK_REF_HDMIPHY		15
80*51cb23d4SPatrice Chotard 
81*51cb23d4SPatrice Chotard /* CLOCKGEN D3 */
82*51cb23d4SPatrice Chotard #define CLK_STFE_FRC1		0
83*51cb23d4SPatrice Chotard #define CLK_TSOUT_0		1
84*51cb23d4SPatrice Chotard #define CLK_TSOUT_1		2
85*51cb23d4SPatrice Chotard #define CLK_MCHI		3
86*51cb23d4SPatrice Chotard #define CLK_VSENS_COMPO		4
87*51cb23d4SPatrice Chotard #define CLK_FRC1_REMOTE		5
88*51cb23d4SPatrice Chotard #define CLK_LPC_0		6
89*51cb23d4SPatrice Chotard #define CLK_LPC_1		7
90*51cb23d4SPatrice Chotard #endif
91