162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Unisoc UMS512 SoC DTS file
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2022, Unisoc Inc.
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_UMS512_H_
962306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_UMS512_H_
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define CLK_26M_AUD			0
1262306a36Sopenharmony_ci#define CLK_13M				1
1362306a36Sopenharmony_ci#define CLK_6M5				2
1462306a36Sopenharmony_ci#define CLK_4M3				3
1562306a36Sopenharmony_ci#define CLK_2M				4
1662306a36Sopenharmony_ci#define CLK_1M				5
1762306a36Sopenharmony_ci#define CLK_250K			6
1862306a36Sopenharmony_ci#define CLK_RCO_25M			7
1962306a36Sopenharmony_ci#define CLK_RCO_4M			8
2062306a36Sopenharmony_ci#define CLK_RCO_2M			9
2162306a36Sopenharmony_ci#define CLK_ISPPLL_GATE			10
2262306a36Sopenharmony_ci#define CLK_DPLL0_GATE			11
2362306a36Sopenharmony_ci#define CLK_DPLL1_GATE			12
2462306a36Sopenharmony_ci#define CLK_LPLL_GATE			13
2562306a36Sopenharmony_ci#define CLK_TWPLL_GATE			14
2662306a36Sopenharmony_ci#define CLK_GPLL_GATE			15
2762306a36Sopenharmony_ci#define CLK_RPLL_GATE			16
2862306a36Sopenharmony_ci#define CLK_CPPLL_GATE			17
2962306a36Sopenharmony_ci#define CLK_MPLL0_GATE			18
3062306a36Sopenharmony_ci#define CLK_MPLL1_GATE			19
3162306a36Sopenharmony_ci#define CLK_MPLL2_GATE			20
3262306a36Sopenharmony_ci#define CLK_PMU_GATE_NUM		(CLK_MPLL2_GATE + 1)
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci#define CLK_DPLL0			0
3562306a36Sopenharmony_ci#define CLK_DPLL0_58M31			1
3662306a36Sopenharmony_ci#define CLK_ANLG_PHY_G0_NUM		(CLK_DPLL0_58M31 + 1)
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci#define CLK_MPLL1			0
3962306a36Sopenharmony_ci#define CLK_MPLL1_63M38			1
4062306a36Sopenharmony_ci#define CLK_ANLG_PHY_G2_NUM		(CLK_MPLL1_63M38 + 1)
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci#define CLK_RPLL			0
4362306a36Sopenharmony_ci#define CLK_AUDIO_GATE			1
4462306a36Sopenharmony_ci#define CLK_MPLL0			2
4562306a36Sopenharmony_ci#define CLK_MPLL0_56M88			3
4662306a36Sopenharmony_ci#define CLK_MPLL2			4
4762306a36Sopenharmony_ci#define CLK_MPLL2_47M13			5
4862306a36Sopenharmony_ci#define CLK_ANLG_PHY_G3_NUM		(CLK_MPLL2_47M13 + 1)
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci#define CLK_TWPLL			0
5162306a36Sopenharmony_ci#define CLK_TWPLL_768M			1
5262306a36Sopenharmony_ci#define CLK_TWPLL_384M			2
5362306a36Sopenharmony_ci#define CLK_TWPLL_192M			3
5462306a36Sopenharmony_ci#define CLK_TWPLL_96M			4
5562306a36Sopenharmony_ci#define CLK_TWPLL_48M			5
5662306a36Sopenharmony_ci#define CLK_TWPLL_24M			6
5762306a36Sopenharmony_ci#define CLK_TWPLL_12M			7
5862306a36Sopenharmony_ci#define CLK_TWPLL_512M			8
5962306a36Sopenharmony_ci#define CLK_TWPLL_256M			9
6062306a36Sopenharmony_ci#define CLK_TWPLL_128M			10
6162306a36Sopenharmony_ci#define CLK_TWPLL_64M			11
6262306a36Sopenharmony_ci#define CLK_TWPLL_307M2			12
6362306a36Sopenharmony_ci#define CLK_TWPLL_219M4			13
6462306a36Sopenharmony_ci#define CLK_TWPLL_170M6			14
6562306a36Sopenharmony_ci#define CLK_TWPLL_153M6			15
6662306a36Sopenharmony_ci#define CLK_TWPLL_76M8			16
6762306a36Sopenharmony_ci#define CLK_TWPLL_51M2			17
6862306a36Sopenharmony_ci#define CLK_TWPLL_38M4			18
6962306a36Sopenharmony_ci#define CLK_TWPLL_19M2			19
7062306a36Sopenharmony_ci#define CLK_TWPLL_12M29			20
7162306a36Sopenharmony_ci#define CLK_LPLL			21
7262306a36Sopenharmony_ci#define CLK_LPLL_614M4			22
7362306a36Sopenharmony_ci#define CLK_LPLL_409M6			23
7462306a36Sopenharmony_ci#define CLK_LPLL_245M76			24
7562306a36Sopenharmony_ci#define CLK_LPLL_30M72			25
7662306a36Sopenharmony_ci#define CLK_ISPPLL			26
7762306a36Sopenharmony_ci#define CLK_ISPPLL_468M			27
7862306a36Sopenharmony_ci#define CLK_ISPPLL_78M			28
7962306a36Sopenharmony_ci#define CLK_GPLL			29
8062306a36Sopenharmony_ci#define CLK_GPLL_40M			30
8162306a36Sopenharmony_ci#define CLK_CPPLL			31
8262306a36Sopenharmony_ci#define CLK_CPPLL_39M32			32
8362306a36Sopenharmony_ci#define CLK_ANLG_PHY_GC_NUM		(CLK_CPPLL_39M32 + 1)
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ci#define CLK_AP_APB			0
8662306a36Sopenharmony_ci#define CLK_IPI			        1
8762306a36Sopenharmony_ci#define CLK_AP_UART0			2
8862306a36Sopenharmony_ci#define CLK_AP_UART1			3
8962306a36Sopenharmony_ci#define CLK_AP_UART2			4
9062306a36Sopenharmony_ci#define CLK_AP_I2C0			5
9162306a36Sopenharmony_ci#define CLK_AP_I2C1			6
9262306a36Sopenharmony_ci#define CLK_AP_I2C2			7
9362306a36Sopenharmony_ci#define CLK_AP_I2C3			8
9462306a36Sopenharmony_ci#define CLK_AP_I2C4			9
9562306a36Sopenharmony_ci#define CLK_AP_SPI0			10
9662306a36Sopenharmony_ci#define CLK_AP_SPI1			11
9762306a36Sopenharmony_ci#define CLK_AP_SPI2			12
9862306a36Sopenharmony_ci#define CLK_AP_SPI3			13
9962306a36Sopenharmony_ci#define CLK_AP_IIS0			14
10062306a36Sopenharmony_ci#define CLK_AP_IIS1			15
10162306a36Sopenharmony_ci#define CLK_AP_IIS2			16
10262306a36Sopenharmony_ci#define CLK_AP_SIM			17
10362306a36Sopenharmony_ci#define CLK_AP_CE			18
10462306a36Sopenharmony_ci#define CLK_SDIO0_2X			19
10562306a36Sopenharmony_ci#define CLK_SDIO1_2X			20
10662306a36Sopenharmony_ci#define CLK_EMMC_2X			21
10762306a36Sopenharmony_ci#define CLK_VSP				22
10862306a36Sopenharmony_ci#define CLK_DISPC0			23
10962306a36Sopenharmony_ci#define CLK_DISPC0_DPI			24
11062306a36Sopenharmony_ci#define CLK_DSI_APB			25
11162306a36Sopenharmony_ci#define CLK_DSI_RXESC			26
11262306a36Sopenharmony_ci#define CLK_DSI_LANEBYTE		27
11362306a36Sopenharmony_ci#define CLK_VDSP		        28
11462306a36Sopenharmony_ci#define CLK_VDSP_M		        29
11562306a36Sopenharmony_ci#define CLK_AP_CLK_NUM			(CLK_VDSP_M + 1)
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci#define CLK_DSI_EB			0
11862306a36Sopenharmony_ci#define CLK_DISPC_EB			1
11962306a36Sopenharmony_ci#define CLK_VSP_EB			2
12062306a36Sopenharmony_ci#define CLK_VDMA_EB			3
12162306a36Sopenharmony_ci#define CLK_DMA_PUB_EB			4
12262306a36Sopenharmony_ci#define CLK_DMA_SEC_EB			5
12362306a36Sopenharmony_ci#define CLK_IPI_EB			6
12462306a36Sopenharmony_ci#define CLK_AHB_CKG_EB			7
12562306a36Sopenharmony_ci#define CLK_BM_CLK_EB			8
12662306a36Sopenharmony_ci#define CLK_AP_AHB_GATE_NUM		(CLK_BM_CLK_EB + 1)
12762306a36Sopenharmony_ci
12862306a36Sopenharmony_ci#define CLK_AON_APB			0
12962306a36Sopenharmony_ci#define CLK_ADI				1
13062306a36Sopenharmony_ci#define CLK_AUX0			2
13162306a36Sopenharmony_ci#define CLK_AUX1			3
13262306a36Sopenharmony_ci#define CLK_AUX2			4
13362306a36Sopenharmony_ci#define CLK_PROBE			5
13462306a36Sopenharmony_ci#define CLK_PWM0			6
13562306a36Sopenharmony_ci#define CLK_PWM1			7
13662306a36Sopenharmony_ci#define CLK_PWM2			8
13762306a36Sopenharmony_ci#define CLK_PWM3			9
13862306a36Sopenharmony_ci#define CLK_EFUSE			10
13962306a36Sopenharmony_ci#define CLK_UART0			11
14062306a36Sopenharmony_ci#define CLK_UART1			12
14162306a36Sopenharmony_ci#define CLK_THM0			13
14262306a36Sopenharmony_ci#define CLK_THM1			14
14362306a36Sopenharmony_ci#define CLK_THM2			15
14462306a36Sopenharmony_ci#define CLK_THM3			16
14562306a36Sopenharmony_ci#define CLK_AON_I2C			17
14662306a36Sopenharmony_ci#define CLK_AON_IIS			18
14762306a36Sopenharmony_ci#define CLK_SCC				19
14862306a36Sopenharmony_ci#define CLK_APCPU_DAP			20
14962306a36Sopenharmony_ci#define CLK_APCPU_DAP_MTCK		21
15062306a36Sopenharmony_ci#define CLK_APCPU_TS			22
15162306a36Sopenharmony_ci#define CLK_DEBUG_TS			23
15262306a36Sopenharmony_ci#define CLK_DSI_TEST_S			24
15362306a36Sopenharmony_ci#define CLK_DJTAG_TCK			25
15462306a36Sopenharmony_ci#define CLK_DJTAG_TCK_HW		26
15562306a36Sopenharmony_ci#define CLK_AON_TMR			27
15662306a36Sopenharmony_ci#define CLK_AON_PMU			28
15762306a36Sopenharmony_ci#define CLK_DEBOUNCE			29
15862306a36Sopenharmony_ci#define CLK_APCPU_PMU			30
15962306a36Sopenharmony_ci#define CLK_TOP_DVFS			31
16062306a36Sopenharmony_ci#define CLK_OTG_UTMI			32
16162306a36Sopenharmony_ci#define CLK_OTG_REF			33
16262306a36Sopenharmony_ci#define CLK_CSSYS			34
16362306a36Sopenharmony_ci#define CLK_CSSYS_PUB			35
16462306a36Sopenharmony_ci#define CLK_CSSYS_APB			36
16562306a36Sopenharmony_ci#define CLK_AP_AXI			37
16662306a36Sopenharmony_ci#define CLK_AP_MM			38
16762306a36Sopenharmony_ci#define CLK_SDIO2_2X			39
16862306a36Sopenharmony_ci#define CLK_ANALOG_IO_APB		40
16962306a36Sopenharmony_ci#define CLK_DMC_REF_CLK			41
17062306a36Sopenharmony_ci#define CLK_EMC				42
17162306a36Sopenharmony_ci#define CLK_USB				43
17262306a36Sopenharmony_ci#define CLK_26M_PMU			44
17362306a36Sopenharmony_ci#define CLK_AON_APB_NUM			(CLK_26M_PMU + 1)
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ci#define CLK_MM_AHB			0
17662306a36Sopenharmony_ci#define CLK_MM_MTX			1
17762306a36Sopenharmony_ci#define CLK_SENSOR0			2
17862306a36Sopenharmony_ci#define CLK_SENSOR1			3
17962306a36Sopenharmony_ci#define CLK_SENSOR2			4
18062306a36Sopenharmony_ci#define CLK_CPP				5
18162306a36Sopenharmony_ci#define CLK_JPG				6
18262306a36Sopenharmony_ci#define CLK_FD				7
18362306a36Sopenharmony_ci#define CLK_DCAM_IF			8
18462306a36Sopenharmony_ci#define CLK_DCAM_AXI			9
18562306a36Sopenharmony_ci#define CLK_ISP				10
18662306a36Sopenharmony_ci#define CLK_MIPI_CSI0			11
18762306a36Sopenharmony_ci#define CLK_MIPI_CSI1			12
18862306a36Sopenharmony_ci#define CLK_MIPI_CSI2			13
18962306a36Sopenharmony_ci#define CLK_MM_CLK_NUM			(CLK_MIPI_CSI2 + 1)
19062306a36Sopenharmony_ci
19162306a36Sopenharmony_ci#define CLK_RC100M_CAL_EB		0
19262306a36Sopenharmony_ci#define CLK_DJTAG_TCK_EB		1
19362306a36Sopenharmony_ci#define CLK_DJTAG_EB			2
19462306a36Sopenharmony_ci#define CLK_AUX0_EB			3
19562306a36Sopenharmony_ci#define CLK_AUX1_EB			4
19662306a36Sopenharmony_ci#define CLK_AUX2_EB			5
19762306a36Sopenharmony_ci#define CLK_PROBE_EB			6
19862306a36Sopenharmony_ci#define CLK_MM_EB			7
19962306a36Sopenharmony_ci#define CLK_GPU_EB			8
20062306a36Sopenharmony_ci#define CLK_MSPI_EB			9
20162306a36Sopenharmony_ci#define CLK_APCPU_DAP_EB		10
20262306a36Sopenharmony_ci#define CLK_AON_CSSYS_EB		11
20362306a36Sopenharmony_ci#define CLK_CSSYS_APB_EB		12
20462306a36Sopenharmony_ci#define CLK_CSSYS_PUB_EB		13
20562306a36Sopenharmony_ci#define CLK_SDPHY_CFG_EB		14
20662306a36Sopenharmony_ci#define CLK_SDPHY_REF_EB		15
20762306a36Sopenharmony_ci#define CLK_EFUSE_EB			16
20862306a36Sopenharmony_ci#define CLK_GPIO_EB			17
20962306a36Sopenharmony_ci#define CLK_MBOX_EB			18
21062306a36Sopenharmony_ci#define CLK_KPD_EB			19
21162306a36Sopenharmony_ci#define CLK_AON_SYST_EB			20
21262306a36Sopenharmony_ci#define CLK_AP_SYST_EB			21
21362306a36Sopenharmony_ci#define CLK_AON_TMR_EB			22
21462306a36Sopenharmony_ci#define CLK_OTG_UTMI_EB			23
21562306a36Sopenharmony_ci#define CLK_OTG_PHY_EB			24
21662306a36Sopenharmony_ci#define CLK_SPLK_EB			25
21762306a36Sopenharmony_ci#define CLK_PIN_EB			26
21862306a36Sopenharmony_ci#define CLK_ANA_EB			27
21962306a36Sopenharmony_ci#define CLK_APCPU_TS0_EB		28
22062306a36Sopenharmony_ci#define CLK_APB_BUSMON_EB		29
22162306a36Sopenharmony_ci#define CLK_AON_IIS_EB			30
22262306a36Sopenharmony_ci#define CLK_SCC_EB			31
22362306a36Sopenharmony_ci#define CLK_THM0_EB			32
22462306a36Sopenharmony_ci#define CLK_THM1_EB			33
22562306a36Sopenharmony_ci#define CLK_THM2_EB			34
22662306a36Sopenharmony_ci#define CLK_ASIM_TOP_EB			35
22762306a36Sopenharmony_ci#define CLK_I2C_EB			36
22862306a36Sopenharmony_ci#define CLK_PMU_EB			37
22962306a36Sopenharmony_ci#define CLK_ADI_EB			38
23062306a36Sopenharmony_ci#define CLK_EIC_EB			39
23162306a36Sopenharmony_ci#define CLK_AP_INTC0_EB			40
23262306a36Sopenharmony_ci#define CLK_AP_INTC1_EB			41
23362306a36Sopenharmony_ci#define CLK_AP_INTC2_EB			42
23462306a36Sopenharmony_ci#define CLK_AP_INTC3_EB			43
23562306a36Sopenharmony_ci#define CLK_AP_INTC4_EB			44
23662306a36Sopenharmony_ci#define CLK_AP_INTC5_EB			45
23762306a36Sopenharmony_ci#define CLK_AUDCP_INTC_EB		46
23862306a36Sopenharmony_ci#define CLK_AP_TMR0_EB			47
23962306a36Sopenharmony_ci#define CLK_AP_TMR1_EB			48
24062306a36Sopenharmony_ci#define CLK_AP_TMR2_EB			49
24162306a36Sopenharmony_ci#define CLK_PWM0_EB			50
24262306a36Sopenharmony_ci#define CLK_PWM1_EB			51
24362306a36Sopenharmony_ci#define CLK_PWM2_EB			52
24462306a36Sopenharmony_ci#define CLK_PWM3_EB			53
24562306a36Sopenharmony_ci#define CLK_AP_WDG_EB			54
24662306a36Sopenharmony_ci#define CLK_APCPU_WDG_EB		55
24762306a36Sopenharmony_ci#define CLK_SERDES_EB			56
24862306a36Sopenharmony_ci#define CLK_ARCH_RTC_EB			57
24962306a36Sopenharmony_ci#define CLK_KPD_RTC_EB			58
25062306a36Sopenharmony_ci#define CLK_AON_SYST_RTC_EB		59
25162306a36Sopenharmony_ci#define CLK_AP_SYST_RTC_EB		60
25262306a36Sopenharmony_ci#define CLK_AON_TMR_RTC_EB		61
25362306a36Sopenharmony_ci#define CLK_EIC_RTC_EB			62
25462306a36Sopenharmony_ci#define CLK_EIC_RTCDV5_EB		63
25562306a36Sopenharmony_ci#define CLK_AP_WDG_RTC_EB		64
25662306a36Sopenharmony_ci#define CLK_AC_WDG_RTC_EB		65
25762306a36Sopenharmony_ci#define CLK_AP_TMR0_RTC_EB		66
25862306a36Sopenharmony_ci#define CLK_AP_TMR1_RTC_EB		67
25962306a36Sopenharmony_ci#define CLK_AP_TMR2_RTC_EB		68
26062306a36Sopenharmony_ci#define CLK_DCXO_LC_RTC_EB		69
26162306a36Sopenharmony_ci#define CLK_BB_CAL_RTC_EB		70
26262306a36Sopenharmony_ci#define CLK_AP_EMMC_RTC_EB		71
26362306a36Sopenharmony_ci#define CLK_AP_SDIO0_RTC_EB		72
26462306a36Sopenharmony_ci#define CLK_AP_SDIO1_RTC_EB		73
26562306a36Sopenharmony_ci#define CLK_AP_SDIO2_RTC_EB		74
26662306a36Sopenharmony_ci#define CLK_DSI_CSI_TEST_EB		75
26762306a36Sopenharmony_ci#define CLK_DJTAG_TCK_EN		76
26862306a36Sopenharmony_ci#define CLK_DPHY_REF_EB			77
26962306a36Sopenharmony_ci#define CLK_DMC_REF_EB			78
27062306a36Sopenharmony_ci#define CLK_OTG_REF_EB			79
27162306a36Sopenharmony_ci#define CLK_TSEN_EB			80
27262306a36Sopenharmony_ci#define CLK_TMR_EB			81
27362306a36Sopenharmony_ci#define CLK_RC100M_REF_EB		82
27462306a36Sopenharmony_ci#define CLK_RC100M_FDK_EB		83
27562306a36Sopenharmony_ci#define CLK_DEBOUNCE_EB			84
27662306a36Sopenharmony_ci#define CLK_DET_32K_EB			85
27762306a36Sopenharmony_ci#define CLK_TOP_CSSYS_EB		86
27862306a36Sopenharmony_ci#define CLK_AP_AXI_EN			87
27962306a36Sopenharmony_ci#define CLK_SDIO0_2X_EN			88
28062306a36Sopenharmony_ci#define CLK_SDIO0_1X_EN			89
28162306a36Sopenharmony_ci#define CLK_SDIO1_2X_EN			90
28262306a36Sopenharmony_ci#define CLK_SDIO1_1X_EN			91
28362306a36Sopenharmony_ci#define CLK_SDIO2_2X_EN			92
28462306a36Sopenharmony_ci#define CLK_SDIO2_1X_EN			93
28562306a36Sopenharmony_ci#define CLK_EMMC_2X_EN			94
28662306a36Sopenharmony_ci#define CLK_EMMC_1X_EN			95
28762306a36Sopenharmony_ci#define CLK_PLL_TEST_EN			96
28862306a36Sopenharmony_ci#define CLK_CPHY_CFG_EN			97
28962306a36Sopenharmony_ci#define CLK_DEBUG_TS_EN			98
29062306a36Sopenharmony_ci#define CLK_ACCESS_AUD_EN		99
29162306a36Sopenharmony_ci#define CLK_AON_APB_GATE_NUM		(CLK_ACCESS_AUD_EN + 1)
29262306a36Sopenharmony_ci
29362306a36Sopenharmony_ci#define CLK_MM_CPP_EB			0
29462306a36Sopenharmony_ci#define CLK_MM_JPG_EB			1
29562306a36Sopenharmony_ci#define CLK_MM_DCAM_EB			2
29662306a36Sopenharmony_ci#define CLK_MM_ISP_EB			3
29762306a36Sopenharmony_ci#define CLK_MM_CSI2_EB			4
29862306a36Sopenharmony_ci#define CLK_MM_CSI1_EB			5
29962306a36Sopenharmony_ci#define CLK_MM_CSI0_EB			6
30062306a36Sopenharmony_ci#define CLK_MM_CKG_EB			7
30162306a36Sopenharmony_ci#define CLK_ISP_AHB_EB			8
30262306a36Sopenharmony_ci#define CLK_MM_DVFS_EB			9
30362306a36Sopenharmony_ci#define CLK_MM_FD_EB			10
30462306a36Sopenharmony_ci#define CLK_MM_SENSOR2_EB		11
30562306a36Sopenharmony_ci#define CLK_MM_SENSOR1_EB		12
30662306a36Sopenharmony_ci#define CLK_MM_SENSOR0_EB		13
30762306a36Sopenharmony_ci#define CLK_MM_MIPI_CSI2_EB		14
30862306a36Sopenharmony_ci#define CLK_MM_MIPI_CSI1_EB		15
30962306a36Sopenharmony_ci#define CLK_MM_MIPI_CSI0_EB		16
31062306a36Sopenharmony_ci#define CLK_DCAM_AXI_EB			17
31162306a36Sopenharmony_ci#define CLK_ISP_AXI_EB			18
31262306a36Sopenharmony_ci#define CLK_MM_CPHY_EB			19
31362306a36Sopenharmony_ci#define CLK_MM_GATE_CLK_NUM		(CLK_MM_CPHY_EB + 1)
31462306a36Sopenharmony_ci
31562306a36Sopenharmony_ci#define CLK_SIM0_EB			0
31662306a36Sopenharmony_ci#define CLK_IIS0_EB			1
31762306a36Sopenharmony_ci#define CLK_IIS1_EB			2
31862306a36Sopenharmony_ci#define CLK_IIS2_EB			3
31962306a36Sopenharmony_ci#define CLK_APB_REG_EB			4
32062306a36Sopenharmony_ci#define CLK_SPI0_EB			5
32162306a36Sopenharmony_ci#define CLK_SPI1_EB			6
32262306a36Sopenharmony_ci#define CLK_SPI2_EB			7
32362306a36Sopenharmony_ci#define CLK_SPI3_EB			8
32462306a36Sopenharmony_ci#define CLK_I2C0_EB			9
32562306a36Sopenharmony_ci#define CLK_I2C1_EB			10
32662306a36Sopenharmony_ci#define CLK_I2C2_EB			11
32762306a36Sopenharmony_ci#define CLK_I2C3_EB			12
32862306a36Sopenharmony_ci#define CLK_I2C4_EB			13
32962306a36Sopenharmony_ci#define CLK_UART0_EB			14
33062306a36Sopenharmony_ci#define CLK_UART1_EB			15
33162306a36Sopenharmony_ci#define CLK_UART2_EB			16
33262306a36Sopenharmony_ci#define CLK_SIM0_32K_EB			17
33362306a36Sopenharmony_ci#define CLK_SPI0_LFIN_EB		18
33462306a36Sopenharmony_ci#define CLK_SPI1_LFIN_EB		19
33562306a36Sopenharmony_ci#define CLK_SPI2_LFIN_EB		20
33662306a36Sopenharmony_ci#define CLK_SPI3_LFIN_EB		21
33762306a36Sopenharmony_ci#define CLK_SDIO0_EB			22
33862306a36Sopenharmony_ci#define CLK_SDIO1_EB			23
33962306a36Sopenharmony_ci#define CLK_SDIO2_EB			24
34062306a36Sopenharmony_ci#define CLK_EMMC_EB			25
34162306a36Sopenharmony_ci#define CLK_SDIO0_32K_EB		26
34262306a36Sopenharmony_ci#define CLK_SDIO1_32K_EB		27
34362306a36Sopenharmony_ci#define CLK_SDIO2_32K_EB		28
34462306a36Sopenharmony_ci#define CLK_EMMC_32K_EB			29
34562306a36Sopenharmony_ci#define CLK_AP_APB_GATE_NUM		(CLK_EMMC_32K_EB + 1)
34662306a36Sopenharmony_ci
34762306a36Sopenharmony_ci#define CLK_GPU_CORE_EB			0
34862306a36Sopenharmony_ci#define CLK_GPU_CORE			1
34962306a36Sopenharmony_ci#define CLK_GPU_MEM_EB			2
35062306a36Sopenharmony_ci#define CLK_GPU_MEM			3
35162306a36Sopenharmony_ci#define CLK_GPU_SYS_EB			4
35262306a36Sopenharmony_ci#define CLK_GPU_SYS			5
35362306a36Sopenharmony_ci#define CLK_GPU_CLK_NUM			(CLK_GPU_SYS + 1)
35462306a36Sopenharmony_ci
35562306a36Sopenharmony_ci#define CLK_AUDCP_IIS0_EB		0
35662306a36Sopenharmony_ci#define CLK_AUDCP_IIS1_EB		1
35762306a36Sopenharmony_ci#define CLK_AUDCP_IIS2_EB		2
35862306a36Sopenharmony_ci#define CLK_AUDCP_UART_EB		3
35962306a36Sopenharmony_ci#define CLK_AUDCP_DMA_CP_EB		4
36062306a36Sopenharmony_ci#define CLK_AUDCP_DMA_AP_EB		5
36162306a36Sopenharmony_ci#define CLK_AUDCP_SRC48K_EB		6
36262306a36Sopenharmony_ci#define CLK_AUDCP_MCDT_EB		7
36362306a36Sopenharmony_ci#define CLK_AUDCP_VBCIFD_EB		8
36462306a36Sopenharmony_ci#define CLK_AUDCP_VBC_EB		9
36562306a36Sopenharmony_ci#define CLK_AUDCP_SPLK_EB		10
36662306a36Sopenharmony_ci#define CLK_AUDCP_ICU_EB		11
36762306a36Sopenharmony_ci#define CLK_AUDCP_DMA_AP_ASHB_EB	12
36862306a36Sopenharmony_ci#define CLK_AUDCP_DMA_CP_ASHB_EB	13
36962306a36Sopenharmony_ci#define CLK_AUDCP_AUD_EB		14
37062306a36Sopenharmony_ci#define CLK_AUDCP_VBC_24M_EB		15
37162306a36Sopenharmony_ci#define CLK_AUDCP_TMR_26M_EB		16
37262306a36Sopenharmony_ci#define CLK_AUDCP_DVFS_ASHB_EB		17
37362306a36Sopenharmony_ci#define CLK_AUDCP_AHB_GATE_NUM		(CLK_AUDCP_DVFS_ASHB_EB + 1)
37462306a36Sopenharmony_ci
37562306a36Sopenharmony_ci#define CLK_AUDCP_WDG_EB		0
37662306a36Sopenharmony_ci#define CLK_AUDCP_RTC_WDG_EB		1
37762306a36Sopenharmony_ci#define CLK_AUDCP_TMR0_EB		2
37862306a36Sopenharmony_ci#define CLK_AUDCP_TMR1_EB		3
37962306a36Sopenharmony_ci#define CLK_AUDCP_APB_GATE_NUM		(CLK_AUDCP_TMR1_EB + 1)
38062306a36Sopenharmony_ci
38162306a36Sopenharmony_ci#define CLK_ACORE0			0
38262306a36Sopenharmony_ci#define CLK_ACORE1			1
38362306a36Sopenharmony_ci#define CLK_ACORE2			2
38462306a36Sopenharmony_ci#define CLK_ACORE3			3
38562306a36Sopenharmony_ci#define CLK_ACORE4			4
38662306a36Sopenharmony_ci#define CLK_ACORE5			5
38762306a36Sopenharmony_ci#define CLK_PCORE0			6
38862306a36Sopenharmony_ci#define CLK_PCORE1			7
38962306a36Sopenharmony_ci#define CLK_SCU				8
39062306a36Sopenharmony_ci#define CLK_ACE				9
39162306a36Sopenharmony_ci#define CLK_PERIPH			10
39262306a36Sopenharmony_ci#define CLK_GIC				11
39362306a36Sopenharmony_ci#define CLK_ATB				12
39462306a36Sopenharmony_ci#define CLK_DEBUG_APB			13
39562306a36Sopenharmony_ci#define CLK_APCPU_SEC_NUM		(CLK_DEBUG_APB + 1)
39662306a36Sopenharmony_ci
39762306a36Sopenharmony_ci#endif /* _DT_BINDINGS_CLK_UMS512_H_ */
398