1*78a08019SNeil Armstrong /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2*78a08019SNeil Armstrong /*
3*78a08019SNeil Armstrong  * Meson-AXG clock tree IDs
4*78a08019SNeil Armstrong  *
5*78a08019SNeil Armstrong  * Copyright (c) 2017 Amlogic, Inc. All rights reserved.
6*78a08019SNeil Armstrong  */
7*78a08019SNeil Armstrong 
8*78a08019SNeil Armstrong #ifndef __AXG_CLKC_H
9*78a08019SNeil Armstrong #define __AXG_CLKC_H
10*78a08019SNeil Armstrong 
11*78a08019SNeil Armstrong #define CLKID_SYS_PLL				0
12*78a08019SNeil Armstrong #define CLKID_FIXED_PLL				1
13*78a08019SNeil Armstrong #define CLKID_FCLK_DIV2				2
14*78a08019SNeil Armstrong #define CLKID_FCLK_DIV3				3
15*78a08019SNeil Armstrong #define CLKID_FCLK_DIV4				4
16*78a08019SNeil Armstrong #define CLKID_FCLK_DIV5				5
17*78a08019SNeil Armstrong #define CLKID_FCLK_DIV7				6
18*78a08019SNeil Armstrong #define CLKID_GP0_PLL				7
19*78a08019SNeil Armstrong #define CLKID_CLK81				10
20*78a08019SNeil Armstrong #define CLKID_MPLL0				11
21*78a08019SNeil Armstrong #define CLKID_MPLL1				12
22*78a08019SNeil Armstrong #define CLKID_MPLL2				13
23*78a08019SNeil Armstrong #define CLKID_MPLL3				14
24*78a08019SNeil Armstrong #define CLKID_DDR				15
25*78a08019SNeil Armstrong #define CLKID_AUDIO_LOCKER			16
26*78a08019SNeil Armstrong #define CLKID_MIPI_DSI_HOST			17
27*78a08019SNeil Armstrong #define CLKID_ISA				18
28*78a08019SNeil Armstrong #define CLKID_PL301				19
29*78a08019SNeil Armstrong #define CLKID_PERIPHS				20
30*78a08019SNeil Armstrong #define CLKID_SPICC0				21
31*78a08019SNeil Armstrong #define CLKID_I2C				22
32*78a08019SNeil Armstrong #define CLKID_RNG0				23
33*78a08019SNeil Armstrong #define CLKID_UART0				24
34*78a08019SNeil Armstrong #define CLKID_MIPI_DSI_PHY			25
35*78a08019SNeil Armstrong #define CLKID_SPICC1				26
36*78a08019SNeil Armstrong #define CLKID_PCIE_A				27
37*78a08019SNeil Armstrong #define CLKID_PCIE_B				28
38*78a08019SNeil Armstrong #define CLKID_HIU_IFACE				29
39*78a08019SNeil Armstrong #define CLKID_ASSIST_MISC			30
40*78a08019SNeil Armstrong #define CLKID_SD_EMMC_B				31
41*78a08019SNeil Armstrong #define CLKID_SD_EMMC_C				32
42*78a08019SNeil Armstrong #define CLKID_DMA				33
43*78a08019SNeil Armstrong #define CLKID_SPI				34
44*78a08019SNeil Armstrong #define CLKID_AUDIO				35
45*78a08019SNeil Armstrong #define CLKID_ETH				36
46*78a08019SNeil Armstrong #define CLKID_UART1				37
47*78a08019SNeil Armstrong #define CLKID_G2D				38
48*78a08019SNeil Armstrong #define CLKID_USB0				39
49*78a08019SNeil Armstrong #define CLKID_USB1				40
50*78a08019SNeil Armstrong #define CLKID_RESET				41
51*78a08019SNeil Armstrong #define CLKID_USB				42
52*78a08019SNeil Armstrong #define CLKID_AHB_ARB0				43
53*78a08019SNeil Armstrong #define CLKID_EFUSE				44
54*78a08019SNeil Armstrong #define CLKID_BOOT_ROM				45
55*78a08019SNeil Armstrong #define CLKID_AHB_DATA_BUS			46
56*78a08019SNeil Armstrong #define CLKID_AHB_CTRL_BUS			47
57*78a08019SNeil Armstrong #define CLKID_USB1_DDR_BRIDGE			48
58*78a08019SNeil Armstrong #define CLKID_USB0_DDR_BRIDGE			49
59*78a08019SNeil Armstrong #define CLKID_MMC_PCLK				50
60*78a08019SNeil Armstrong #define CLKID_VPU_INTR				51
61*78a08019SNeil Armstrong #define CLKID_SEC_AHB_AHB3_BRIDGE		52
62*78a08019SNeil Armstrong #define CLKID_GIC				53
63*78a08019SNeil Armstrong #define CLKID_AO_MEDIA_CPU			54
64*78a08019SNeil Armstrong #define CLKID_AO_AHB_SRAM			55
65*78a08019SNeil Armstrong #define CLKID_AO_AHB_BUS			56
66*78a08019SNeil Armstrong #define CLKID_AO_IFACE				57
67*78a08019SNeil Armstrong #define CLKID_AO_I2C				58
68*78a08019SNeil Armstrong #define CLKID_SD_EMMC_B_CLK0			59
69*78a08019SNeil Armstrong #define CLKID_SD_EMMC_C_CLK0			60
70*78a08019SNeil Armstrong #define CLKID_HIFI_PLL				69
71*78a08019SNeil Armstrong #define CLKID_PCIE_CML_EN0			79
72*78a08019SNeil Armstrong #define CLKID_PCIE_CML_EN1			80
73*78a08019SNeil Armstrong #define CLKID_MIPI_ENABLE			81
74*78a08019SNeil Armstrong #define CLKID_GEN_CLK				84
75*78a08019SNeil Armstrong 
76*78a08019SNeil Armstrong #endif /* __AXG_CLKC_H */
77