xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/amlogic,s4-pll-clkc.h (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2*84943d6fSEmmanuel Vadot /*
3*84943d6fSEmmanuel Vadot  * Copyright (c) 2022-2023 Amlogic, Inc. All rights reserved.
4*84943d6fSEmmanuel Vadot  * Author: Yu Tu <yu.tu@amlogic.com>
5*84943d6fSEmmanuel Vadot  */
6*84943d6fSEmmanuel Vadot 
7*84943d6fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_AMLOGIC_S4_PLL_CLKC_H
8*84943d6fSEmmanuel Vadot #define _DT_BINDINGS_CLOCK_AMLOGIC_S4_PLL_CLKC_H
9*84943d6fSEmmanuel Vadot 
10*84943d6fSEmmanuel Vadot #define CLKID_FIXED_PLL_DCO		0
11*84943d6fSEmmanuel Vadot #define CLKID_FIXED_PLL			1
12*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV2_DIV		2
13*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV2			3
14*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV3_DIV		4
15*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV3			5
16*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV4_DIV		6
17*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV4			7
18*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV5_DIV		8
19*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV5			9
20*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV7_DIV		10
21*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV7			11
22*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV2P5_DIV		12
23*84943d6fSEmmanuel Vadot #define CLKID_FCLK_DIV2P5		13
24*84943d6fSEmmanuel Vadot #define CLKID_GP0_PLL_DCO		14
25*84943d6fSEmmanuel Vadot #define CLKID_GP0_PLL			15
26*84943d6fSEmmanuel Vadot #define CLKID_HIFI_PLL_DCO		16
27*84943d6fSEmmanuel Vadot #define CLKID_HIFI_PLL			17
28*84943d6fSEmmanuel Vadot #define CLKID_HDMI_PLL_DCO		18
29*84943d6fSEmmanuel Vadot #define CLKID_HDMI_PLL_OD		19
30*84943d6fSEmmanuel Vadot #define CLKID_HDMI_PLL			20
31*84943d6fSEmmanuel Vadot #define CLKID_MPLL_50M_DIV		21
32*84943d6fSEmmanuel Vadot #define CLKID_MPLL_50M			22
33*84943d6fSEmmanuel Vadot #define CLKID_MPLL_PREDIV		23
34*84943d6fSEmmanuel Vadot #define CLKID_MPLL0_DIV			24
35*84943d6fSEmmanuel Vadot #define CLKID_MPLL0			25
36*84943d6fSEmmanuel Vadot #define CLKID_MPLL1_DIV			26
37*84943d6fSEmmanuel Vadot #define CLKID_MPLL1			27
38*84943d6fSEmmanuel Vadot #define CLKID_MPLL2_DIV			28
39*84943d6fSEmmanuel Vadot #define CLKID_MPLL2			29
40*84943d6fSEmmanuel Vadot #define CLKID_MPLL3_DIV			30
41*84943d6fSEmmanuel Vadot #define CLKID_MPLL3			31
42*84943d6fSEmmanuel Vadot 
43*84943d6fSEmmanuel Vadot #endif /* _DT_BINDINGS_CLOCK_AMLOGIC_S4_PLL_CLKC_H */
44