162306a36Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
262306a36Sopenharmony_ci//
362306a36Sopenharmony_ci// Spreadtrum SC9860 platform clocks
462306a36Sopenharmony_ci//
562306a36Sopenharmony_ci// Copyright (C) 2017, Spreadtrum Communications Inc.
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_SC9860_H_
862306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_SC9860_H_
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#define	CLK_FAC_4M		0
1162306a36Sopenharmony_ci#define	CLK_FAC_2M		1
1262306a36Sopenharmony_ci#define	CLK_FAC_1M		2
1362306a36Sopenharmony_ci#define	CLK_FAC_250K		3
1462306a36Sopenharmony_ci#define	CLK_FAC_RPLL0_26M	4
1562306a36Sopenharmony_ci#define	CLK_FAC_RPLL1_26M	5
1662306a36Sopenharmony_ci#define	CLK_FAC_RCO25M		6
1762306a36Sopenharmony_ci#define	CLK_FAC_RCO4M		7
1862306a36Sopenharmony_ci#define	CLK_FAC_RCO2M		8
1962306a36Sopenharmony_ci#define	CLK_FAC_3K2		9
2062306a36Sopenharmony_ci#define	CLK_FAC_1K		10
2162306a36Sopenharmony_ci#define	CLK_MPLL0_GATE		11
2262306a36Sopenharmony_ci#define	CLK_MPLL1_GATE		12
2362306a36Sopenharmony_ci#define	CLK_DPLL0_GATE		13
2462306a36Sopenharmony_ci#define	CLK_DPLL1_GATE		14
2562306a36Sopenharmony_ci#define	CLK_LTEPLL0_GATE	15
2662306a36Sopenharmony_ci#define	CLK_TWPLL_GATE		16
2762306a36Sopenharmony_ci#define	CLK_LTEPLL1_GATE	17
2862306a36Sopenharmony_ci#define	CLK_RPLL0_GATE		18
2962306a36Sopenharmony_ci#define	CLK_RPLL1_GATE		19
3062306a36Sopenharmony_ci#define	CLK_CPPLL_GATE		20
3162306a36Sopenharmony_ci#define	CLK_GPLL_GATE		21
3262306a36Sopenharmony_ci#define CLK_PMU_GATE_NUM	(CLK_GPLL_GATE + 1)
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci#define	CLK_MPLL0		0
3562306a36Sopenharmony_ci#define	CLK_MPLL1		1
3662306a36Sopenharmony_ci#define	CLK_DPLL0		2
3762306a36Sopenharmony_ci#define	CLK_DPLL1		3
3862306a36Sopenharmony_ci#define	CLK_RPLL0		4
3962306a36Sopenharmony_ci#define	CLK_RPLL1		5
4062306a36Sopenharmony_ci#define	CLK_TWPLL		6
4162306a36Sopenharmony_ci#define	CLK_LTEPLL0		7
4262306a36Sopenharmony_ci#define	CLK_LTEPLL1		8
4362306a36Sopenharmony_ci#define	CLK_GPLL		9
4462306a36Sopenharmony_ci#define	CLK_CPPLL		10
4562306a36Sopenharmony_ci#define	CLK_GPLL_42M5		11
4662306a36Sopenharmony_ci#define	CLK_TWPLL_768M		12
4762306a36Sopenharmony_ci#define	CLK_TWPLL_384M		13
4862306a36Sopenharmony_ci#define	CLK_TWPLL_192M		14
4962306a36Sopenharmony_ci#define	CLK_TWPLL_96M		15
5062306a36Sopenharmony_ci#define	CLK_TWPLL_48M		16
5162306a36Sopenharmony_ci#define	CLK_TWPLL_24M		17
5262306a36Sopenharmony_ci#define	CLK_TWPLL_12M		18
5362306a36Sopenharmony_ci#define	CLK_TWPLL_512M		19
5462306a36Sopenharmony_ci#define	CLK_TWPLL_256M		20
5562306a36Sopenharmony_ci#define	CLK_TWPLL_128M		21
5662306a36Sopenharmony_ci#define	CLK_TWPLL_64M		22
5762306a36Sopenharmony_ci#define	CLK_TWPLL_307M2		23
5862306a36Sopenharmony_ci#define	CLK_TWPLL_153M6		24
5962306a36Sopenharmony_ci#define	CLK_TWPLL_76M8		25
6062306a36Sopenharmony_ci#define	CLK_TWPLL_51M2		26
6162306a36Sopenharmony_ci#define	CLK_TWPLL_38M4		27
6262306a36Sopenharmony_ci#define	CLK_TWPLL_19M2		28
6362306a36Sopenharmony_ci#define	CLK_L0_614M4		29
6462306a36Sopenharmony_ci#define	CLK_L0_409M6		30
6562306a36Sopenharmony_ci#define	CLK_L0_38M		31
6662306a36Sopenharmony_ci#define	CLK_L1_38M		32
6762306a36Sopenharmony_ci#define	CLK_RPLL0_192M		33
6862306a36Sopenharmony_ci#define	CLK_RPLL0_96M		34
6962306a36Sopenharmony_ci#define	CLK_RPLL0_48M		35
7062306a36Sopenharmony_ci#define	CLK_RPLL1_468M		36
7162306a36Sopenharmony_ci#define	CLK_RPLL1_192M		37
7262306a36Sopenharmony_ci#define	CLK_RPLL1_96M		38
7362306a36Sopenharmony_ci#define	CLK_RPLL1_64M		39
7462306a36Sopenharmony_ci#define	CLK_RPLL1_48M		40
7562306a36Sopenharmony_ci#define	CLK_DPLL0_50M		41
7662306a36Sopenharmony_ci#define	CLK_DPLL1_50M		42
7762306a36Sopenharmony_ci#define	CLK_CPPLL_50M		43
7862306a36Sopenharmony_ci#define	CLK_M0_39M		44
7962306a36Sopenharmony_ci#define	CLK_M1_63M		45
8062306a36Sopenharmony_ci#define CLK_PLL_NUM		(CLK_M1_63M + 1)
8162306a36Sopenharmony_ci
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ci#define	CLK_AP_APB		0
8462306a36Sopenharmony_ci#define	CLK_AP_USB3		1
8562306a36Sopenharmony_ci#define	CLK_UART0		2
8662306a36Sopenharmony_ci#define	CLK_UART1		3
8762306a36Sopenharmony_ci#define	CLK_UART2		4
8862306a36Sopenharmony_ci#define	CLK_UART3		5
8962306a36Sopenharmony_ci#define	CLK_UART4		6
9062306a36Sopenharmony_ci#define	CLK_I2C0		7
9162306a36Sopenharmony_ci#define	CLK_I2C1		8
9262306a36Sopenharmony_ci#define	CLK_I2C2		9
9362306a36Sopenharmony_ci#define	CLK_I2C3		10
9462306a36Sopenharmony_ci#define	CLK_I2C4		11
9562306a36Sopenharmony_ci#define	CLK_I2C5		12
9662306a36Sopenharmony_ci#define	CLK_SPI0		13
9762306a36Sopenharmony_ci#define	CLK_SPI1		14
9862306a36Sopenharmony_ci#define	CLK_SPI2		15
9962306a36Sopenharmony_ci#define	CLK_SPI3		16
10062306a36Sopenharmony_ci#define	CLK_IIS0		17
10162306a36Sopenharmony_ci#define	CLK_IIS1		18
10262306a36Sopenharmony_ci#define	CLK_IIS2		19
10362306a36Sopenharmony_ci#define	CLK_IIS3		20
10462306a36Sopenharmony_ci#define CLK_AP_CLK_NUM		(CLK_IIS3 + 1)
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ci#define	CLK_AON_APB		0
10762306a36Sopenharmony_ci#define	CLK_AUX0		1
10862306a36Sopenharmony_ci#define	CLK_AUX1		2
10962306a36Sopenharmony_ci#define	CLK_AUX2		3
11062306a36Sopenharmony_ci#define	CLK_PROBE		4
11162306a36Sopenharmony_ci#define	CLK_SP_AHB		5
11262306a36Sopenharmony_ci#define	CLK_CCI			6
11362306a36Sopenharmony_ci#define	CLK_GIC			7
11462306a36Sopenharmony_ci#define	CLK_CSSYS		8
11562306a36Sopenharmony_ci#define	CLK_SDIO0_2X		9
11662306a36Sopenharmony_ci#define	CLK_SDIO1_2X		10
11762306a36Sopenharmony_ci#define	CLK_SDIO2_2X		11
11862306a36Sopenharmony_ci#define	CLK_EMMC_2X		12
11962306a36Sopenharmony_ci#define	CLK_SDIO0_1X		13
12062306a36Sopenharmony_ci#define	CLK_SDIO1_1X		14
12162306a36Sopenharmony_ci#define	CLK_SDIO2_1X		15
12262306a36Sopenharmony_ci#define	CLK_EMMC_1X		16
12362306a36Sopenharmony_ci#define	CLK_ADI			17
12462306a36Sopenharmony_ci#define	CLK_PWM0		18
12562306a36Sopenharmony_ci#define	CLK_PWM1		19
12662306a36Sopenharmony_ci#define	CLK_PWM2		20
12762306a36Sopenharmony_ci#define	CLK_PWM3		21
12862306a36Sopenharmony_ci#define	CLK_EFUSE		22
12962306a36Sopenharmony_ci#define	CLK_CM3_UART0		23
13062306a36Sopenharmony_ci#define	CLK_CM3_UART1		24
13162306a36Sopenharmony_ci#define	CLK_THM			25
13262306a36Sopenharmony_ci#define	CLK_CM3_I2C0		26
13362306a36Sopenharmony_ci#define	CLK_CM3_I2C1		27
13462306a36Sopenharmony_ci#define	CLK_CM4_SPI		28
13562306a36Sopenharmony_ci#define	CLK_AON_I2C		29
13662306a36Sopenharmony_ci#define	CLK_AVS			30
13762306a36Sopenharmony_ci#define	CLK_CA53_DAP		31
13862306a36Sopenharmony_ci#define	CLK_CA53_TS		32
13962306a36Sopenharmony_ci#define	CLK_DJTAG_TCK		33
14062306a36Sopenharmony_ci#define	CLK_PMU			34
14162306a36Sopenharmony_ci#define	CLK_PMU_26M		35
14262306a36Sopenharmony_ci#define	CLK_DEBOUNCE		36
14362306a36Sopenharmony_ci#define	CLK_OTG2_REF		37
14462306a36Sopenharmony_ci#define	CLK_USB3_REF		38
14562306a36Sopenharmony_ci#define	CLK_AP_AXI		39
14662306a36Sopenharmony_ci#define CLK_AON_PREDIV_NUM	(CLK_AP_AXI + 1)
14762306a36Sopenharmony_ci
14862306a36Sopenharmony_ci#define	CLK_USB3_EB		0
14962306a36Sopenharmony_ci#define	CLK_USB3_SUSPEND_EB	1
15062306a36Sopenharmony_ci#define	CLK_USB3_REF_EB		2
15162306a36Sopenharmony_ci#define	CLK_DMA_EB		3
15262306a36Sopenharmony_ci#define	CLK_SDIO0_EB		4
15362306a36Sopenharmony_ci#define	CLK_SDIO1_EB		5
15462306a36Sopenharmony_ci#define	CLK_SDIO2_EB		6
15562306a36Sopenharmony_ci#define	CLK_EMMC_EB		7
15662306a36Sopenharmony_ci#define	CLK_ROM_EB		8
15762306a36Sopenharmony_ci#define	CLK_BUSMON_EB		9
15862306a36Sopenharmony_ci#define	CLK_CC63S_EB		10
15962306a36Sopenharmony_ci#define	CLK_CC63P_EB		11
16062306a36Sopenharmony_ci#define	CLK_CE0_EB		12
16162306a36Sopenharmony_ci#define	CLK_CE1_EB		13
16262306a36Sopenharmony_ci#define CLK_APAHB_GATE_NUM	(CLK_CE1_EB + 1)
16362306a36Sopenharmony_ci
16462306a36Sopenharmony_ci#define	CLK_AVS_LIT_EB		0
16562306a36Sopenharmony_ci#define	CLK_AVS_BIG_EB		1
16662306a36Sopenharmony_ci#define	CLK_AP_INTC5_EB		2
16762306a36Sopenharmony_ci#define	CLK_GPIO_EB		3
16862306a36Sopenharmony_ci#define	CLK_PWM0_EB		4
16962306a36Sopenharmony_ci#define	CLK_PWM1_EB		5
17062306a36Sopenharmony_ci#define	CLK_PWM2_EB		6
17162306a36Sopenharmony_ci#define	CLK_PWM3_EB		7
17262306a36Sopenharmony_ci#define	CLK_KPD_EB		8
17362306a36Sopenharmony_ci#define	CLK_AON_SYS_EB		9
17462306a36Sopenharmony_ci#define	CLK_AP_SYS_EB		10
17562306a36Sopenharmony_ci#define	CLK_AON_TMR_EB		11
17662306a36Sopenharmony_ci#define	CLK_AP_TMR0_EB		12
17762306a36Sopenharmony_ci#define	CLK_EFUSE_EB		13
17862306a36Sopenharmony_ci#define	CLK_EIC_EB		14
17962306a36Sopenharmony_ci#define	CLK_PUB1_REG_EB		15
18062306a36Sopenharmony_ci#define	CLK_ADI_EB		16
18162306a36Sopenharmony_ci#define	CLK_AP_INTC0_EB		17
18262306a36Sopenharmony_ci#define	CLK_AP_INTC1_EB		18
18362306a36Sopenharmony_ci#define	CLK_AP_INTC2_EB		19
18462306a36Sopenharmony_ci#define	CLK_AP_INTC3_EB		20
18562306a36Sopenharmony_ci#define	CLK_AP_INTC4_EB		21
18662306a36Sopenharmony_ci#define	CLK_SPLK_EB		22
18762306a36Sopenharmony_ci#define	CLK_MSPI_EB		23
18862306a36Sopenharmony_ci#define	CLK_PUB0_REG_EB		24
18962306a36Sopenharmony_ci#define	CLK_PIN_EB		25
19062306a36Sopenharmony_ci#define	CLK_AON_CKG_EB		26
19162306a36Sopenharmony_ci#define	CLK_GPU_EB		27
19262306a36Sopenharmony_ci#define	CLK_APCPU_TS0_EB	28
19362306a36Sopenharmony_ci#define	CLK_APCPU_TS1_EB	29
19462306a36Sopenharmony_ci#define	CLK_DAP_EB		30
19562306a36Sopenharmony_ci#define	CLK_I2C_EB		31
19662306a36Sopenharmony_ci#define	CLK_PMU_EB		32
19762306a36Sopenharmony_ci#define	CLK_THM_EB		33
19862306a36Sopenharmony_ci#define	CLK_AUX0_EB		34
19962306a36Sopenharmony_ci#define	CLK_AUX1_EB		35
20062306a36Sopenharmony_ci#define	CLK_AUX2_EB		36
20162306a36Sopenharmony_ci#define	CLK_PROBE_EB		37
20262306a36Sopenharmony_ci#define	CLK_GPU0_AVS_EB		38
20362306a36Sopenharmony_ci#define	CLK_GPU1_AVS_EB		39
20462306a36Sopenharmony_ci#define	CLK_APCPU_WDG_EB	40
20562306a36Sopenharmony_ci#define	CLK_AP_TMR1_EB		41
20662306a36Sopenharmony_ci#define	CLK_AP_TMR2_EB		42
20762306a36Sopenharmony_ci#define	CLK_DISP_EMC_EB		43
20862306a36Sopenharmony_ci#define	CLK_ZIP_EMC_EB		44
20962306a36Sopenharmony_ci#define	CLK_GSP_EMC_EB		45
21062306a36Sopenharmony_ci#define	CLK_OSC_AON_EB		46
21162306a36Sopenharmony_ci#define	CLK_LVDS_TRX_EB		47
21262306a36Sopenharmony_ci#define	CLK_LVDS_TCXO_EB	48
21362306a36Sopenharmony_ci#define	CLK_MDAR_EB		49
21462306a36Sopenharmony_ci#define	CLK_RTC4M0_CAL_EB	50
21562306a36Sopenharmony_ci#define	CLK_RCT100M_CAL_EB	51
21662306a36Sopenharmony_ci#define	CLK_DJTAG_EB		52
21762306a36Sopenharmony_ci#define	CLK_MBOX_EB		53
21862306a36Sopenharmony_ci#define	CLK_AON_DMA_EB		54
21962306a36Sopenharmony_ci#define	CLK_DBG_EMC_EB		55
22062306a36Sopenharmony_ci#define	CLK_LVDS_PLL_DIV_EN	56
22162306a36Sopenharmony_ci#define	CLK_DEF_EB		57
22262306a36Sopenharmony_ci#define	CLK_AON_APB_RSV0	58
22362306a36Sopenharmony_ci#define	CLK_ORP_JTAG_EB		59
22462306a36Sopenharmony_ci#define	CLK_VSP_EB		60
22562306a36Sopenharmony_ci#define	CLK_CAM_EB		61
22662306a36Sopenharmony_ci#define	CLK_DISP_EB		62
22762306a36Sopenharmony_ci#define	CLK_DBG_AXI_IF_EB	63
22862306a36Sopenharmony_ci#define	CLK_SDIO0_2X_EN		64
22962306a36Sopenharmony_ci#define	CLK_SDIO1_2X_EN		65
23062306a36Sopenharmony_ci#define	CLK_SDIO2_2X_EN		66
23162306a36Sopenharmony_ci#define	CLK_EMMC_2X_EN		67
23262306a36Sopenharmony_ci#define	CLK_ARCH_RTC_EB		68
23362306a36Sopenharmony_ci#define	CLK_KPB_RTC_EB		69
23462306a36Sopenharmony_ci#define	CLK_AON_SYST_RTC_EB	70
23562306a36Sopenharmony_ci#define	CLK_AP_SYST_RTC_EB	71
23662306a36Sopenharmony_ci#define	CLK_AON_TMR_RTC_EB	72
23762306a36Sopenharmony_ci#define	CLK_AP_TMR0_RTC_EB	73
23862306a36Sopenharmony_ci#define	CLK_EIC_RTC_EB		74
23962306a36Sopenharmony_ci#define	CLK_EIC_RTCDV5_EB	75
24062306a36Sopenharmony_ci#define	CLK_AP_WDG_RTC_EB	76
24162306a36Sopenharmony_ci#define	CLK_AP_TMR1_RTC_EB	77
24262306a36Sopenharmony_ci#define	CLK_AP_TMR2_RTC_EB	78
24362306a36Sopenharmony_ci#define	CLK_DCXO_TMR_RTC_EB	79
24462306a36Sopenharmony_ci#define	CLK_BB_CAL_RTC_EB	80
24562306a36Sopenharmony_ci#define	CLK_AVS_BIG_RTC_EB	81
24662306a36Sopenharmony_ci#define	CLK_AVS_LIT_RTC_EB	82
24762306a36Sopenharmony_ci#define	CLK_AVS_GPU0_RTC_EB	83
24862306a36Sopenharmony_ci#define	CLK_AVS_GPU1_RTC_EB	84
24962306a36Sopenharmony_ci#define	CLK_GPU_TS_EB		85
25062306a36Sopenharmony_ci#define	CLK_RTCDV10_EB		86
25162306a36Sopenharmony_ci#define	CLK_AON_GATE_NUM	(CLK_RTCDV10_EB + 1)
25262306a36Sopenharmony_ci
25362306a36Sopenharmony_ci#define	CLK_LIT_MCU		0
25462306a36Sopenharmony_ci#define	CLK_BIG_MCU		1
25562306a36Sopenharmony_ci#define CLK_AONSECURE_NUM	(CLK_BIG_MCU + 1)
25662306a36Sopenharmony_ci
25762306a36Sopenharmony_ci#define	CLK_AGCP_IIS0_EB	0
25862306a36Sopenharmony_ci#define	CLK_AGCP_IIS1_EB	1
25962306a36Sopenharmony_ci#define	CLK_AGCP_IIS2_EB	2
26062306a36Sopenharmony_ci#define	CLK_AGCP_IIS3_EB	3
26162306a36Sopenharmony_ci#define	CLK_AGCP_UART_EB	4
26262306a36Sopenharmony_ci#define	CLK_AGCP_DMACP_EB	5
26362306a36Sopenharmony_ci#define	CLK_AGCP_DMAAP_EB	6
26462306a36Sopenharmony_ci#define	CLK_AGCP_ARC48K_EB	7
26562306a36Sopenharmony_ci#define	CLK_AGCP_SRC44P1K_EB	8
26662306a36Sopenharmony_ci#define	CLK_AGCP_MCDT_EB	9
26762306a36Sopenharmony_ci#define	CLK_AGCP_VBCIFD_EB	10
26862306a36Sopenharmony_ci#define	CLK_AGCP_VBC_EB		11
26962306a36Sopenharmony_ci#define	CLK_AGCP_SPINLOCK_EB	12
27062306a36Sopenharmony_ci#define	CLK_AGCP_ICU_EB		13
27162306a36Sopenharmony_ci#define	CLK_AGCP_AP_ASHB_EB	14
27262306a36Sopenharmony_ci#define	CLK_AGCP_CP_ASHB_EB	15
27362306a36Sopenharmony_ci#define	CLK_AGCP_AUD_EB		16
27462306a36Sopenharmony_ci#define	CLK_AGCP_AUDIF_EB	17
27562306a36Sopenharmony_ci#define CLK_AGCP_GATE_NUM	(CLK_AGCP_AUDIF_EB + 1)
27662306a36Sopenharmony_ci
27762306a36Sopenharmony_ci#define	CLK_GPU			0
27862306a36Sopenharmony_ci#define CLK_GPU_NUM		(CLK_GPU + 1)
27962306a36Sopenharmony_ci
28062306a36Sopenharmony_ci#define	CLK_AHB_VSP		0
28162306a36Sopenharmony_ci#define	CLK_VSP			1
28262306a36Sopenharmony_ci#define	CLK_VSP_ENC		2
28362306a36Sopenharmony_ci#define	CLK_VPP			3
28462306a36Sopenharmony_ci#define	CLK_VSP_26M		4
28562306a36Sopenharmony_ci#define CLK_VSP_NUM		(CLK_VSP_26M + 1)
28662306a36Sopenharmony_ci
28762306a36Sopenharmony_ci#define	CLK_VSP_DEC_EB		0
28862306a36Sopenharmony_ci#define	CLK_VSP_CKG_EB		1
28962306a36Sopenharmony_ci#define	CLK_VSP_MMU_EB		2
29062306a36Sopenharmony_ci#define	CLK_VSP_ENC_EB		3
29162306a36Sopenharmony_ci#define	CLK_VPP_EB		4
29262306a36Sopenharmony_ci#define	CLK_VSP_26M_EB		5
29362306a36Sopenharmony_ci#define	CLK_VSP_AXI_GATE	6
29462306a36Sopenharmony_ci#define	CLK_VSP_ENC_GATE	7
29562306a36Sopenharmony_ci#define	CLK_VPP_AXI_GATE	8
29662306a36Sopenharmony_ci#define	CLK_VSP_BM_GATE		9
29762306a36Sopenharmony_ci#define	CLK_VSP_ENC_BM_GATE	10
29862306a36Sopenharmony_ci#define	CLK_VPP_BM_GATE		11
29962306a36Sopenharmony_ci#define CLK_VSP_GATE_NUM	(CLK_VPP_BM_GATE + 1)
30062306a36Sopenharmony_ci
30162306a36Sopenharmony_ci#define	CLK_AHB_CAM		0
30262306a36Sopenharmony_ci#define	CLK_SENSOR0		1
30362306a36Sopenharmony_ci#define	CLK_SENSOR1		2
30462306a36Sopenharmony_ci#define	CLK_SENSOR2		3
30562306a36Sopenharmony_ci#define	CLK_MIPI_CSI0_EB	4
30662306a36Sopenharmony_ci#define	CLK_MIPI_CSI1_EB	5
30762306a36Sopenharmony_ci#define CLK_CAM_NUM		(CLK_MIPI_CSI1_EB + 1)
30862306a36Sopenharmony_ci
30962306a36Sopenharmony_ci#define	CLK_DCAM0_EB		0
31062306a36Sopenharmony_ci#define	CLK_DCAM1_EB		1
31162306a36Sopenharmony_ci#define	CLK_ISP0_EB		2
31262306a36Sopenharmony_ci#define	CLK_CSI0_EB		3
31362306a36Sopenharmony_ci#define	CLK_CSI1_EB		4
31462306a36Sopenharmony_ci#define	CLK_JPG0_EB		5
31562306a36Sopenharmony_ci#define	CLK_JPG1_EB		6
31662306a36Sopenharmony_ci#define	CLK_CAM_CKG_EB		7
31762306a36Sopenharmony_ci#define	CLK_CAM_MMU_EB		8
31862306a36Sopenharmony_ci#define	CLK_ISP1_EB		9
31962306a36Sopenharmony_ci#define	CLK_CPP_EB		10
32062306a36Sopenharmony_ci#define	CLK_MMU_PF_EB		11
32162306a36Sopenharmony_ci#define	CLK_ISP2_EB		12
32262306a36Sopenharmony_ci#define	CLK_DCAM2ISP_IF_EB	13
32362306a36Sopenharmony_ci#define	CLK_ISP2DCAM_IF_EB	14
32462306a36Sopenharmony_ci#define	CLK_ISP_LCLK_EB		15
32562306a36Sopenharmony_ci#define	CLK_ISP_ICLK_EB		16
32662306a36Sopenharmony_ci#define	CLK_ISP_MCLK_EB		17
32762306a36Sopenharmony_ci#define	CLK_ISP_PCLK_EB		18
32862306a36Sopenharmony_ci#define	CLK_ISP_ISP2DCAM_EB	19
32962306a36Sopenharmony_ci#define	CLK_DCAM0_IF_EB		20
33062306a36Sopenharmony_ci#define	CLK_CLK26M_IF_EB	21
33162306a36Sopenharmony_ci#define	CLK_CPHY0_GATE		22
33262306a36Sopenharmony_ci#define	CLK_MIPI_CSI0_GATE	23
33362306a36Sopenharmony_ci#define	CLK_CPHY1_GATE		24
33462306a36Sopenharmony_ci#define	CLK_MIPI_CSI1		25
33562306a36Sopenharmony_ci#define	CLK_DCAM0_AXI_GATE	26
33662306a36Sopenharmony_ci#define	CLK_DCAM1_AXI_GATE	27
33762306a36Sopenharmony_ci#define	CLK_SENSOR0_GATE	28
33862306a36Sopenharmony_ci#define	CLK_SENSOR1_GATE	29
33962306a36Sopenharmony_ci#define	CLK_JPG0_AXI_GATE	30
34062306a36Sopenharmony_ci#define	CLK_GPG1_AXI_GATE	31
34162306a36Sopenharmony_ci#define	CLK_ISP0_AXI_GATE	32
34262306a36Sopenharmony_ci#define	CLK_ISP1_AXI_GATE	33
34362306a36Sopenharmony_ci#define	CLK_ISP2_AXI_GATE	34
34462306a36Sopenharmony_ci#define	CLK_CPP_AXI_GATE	35
34562306a36Sopenharmony_ci#define	CLK_D0_IF_AXI_GATE	36
34662306a36Sopenharmony_ci#define	CLK_D2I_IF_AXI_GATE	37
34762306a36Sopenharmony_ci#define	CLK_I2D_IF_AXI_GATE	38
34862306a36Sopenharmony_ci#define	CLK_SPARE_AXI_GATE	39
34962306a36Sopenharmony_ci#define	CLK_SENSOR2_GATE	40
35062306a36Sopenharmony_ci#define	CLK_D0IF_IN_D_EN	41
35162306a36Sopenharmony_ci#define	CLK_D1IF_IN_D_EN	42
35262306a36Sopenharmony_ci#define	CLK_D0IF_IN_D2I_EN	43
35362306a36Sopenharmony_ci#define	CLK_D1IF_IN_D2I_EN	44
35462306a36Sopenharmony_ci#define	CLK_IA_IN_D2I_EN	45
35562306a36Sopenharmony_ci#define	CLK_IB_IN_D2I_EN	46
35662306a36Sopenharmony_ci#define	CLK_IC_IN_D2I_EN	47
35762306a36Sopenharmony_ci#define	CLK_IA_IN_I_EN		48
35862306a36Sopenharmony_ci#define	CLK_IB_IN_I_EN		49
35962306a36Sopenharmony_ci#define	CLK_IC_IN_I_EN		50
36062306a36Sopenharmony_ci#define CLK_CAM_GATE_NUM	(CLK_IC_IN_I_EN + 1)
36162306a36Sopenharmony_ci
36262306a36Sopenharmony_ci#define	CLK_AHB_DISP		0
36362306a36Sopenharmony_ci#define	CLK_DISPC0_DPI		1
36462306a36Sopenharmony_ci#define	CLK_DISPC1_DPI		2
36562306a36Sopenharmony_ci#define CLK_DISP_NUM		(CLK_DISPC1_DPI + 1)
36662306a36Sopenharmony_ci
36762306a36Sopenharmony_ci#define	CLK_DISPC0_EB		0
36862306a36Sopenharmony_ci#define	CLK_DISPC1_EB		1
36962306a36Sopenharmony_ci#define	CLK_DISPC_MMU_EB	2
37062306a36Sopenharmony_ci#define	CLK_GSP0_EB		3
37162306a36Sopenharmony_ci#define	CLK_GSP1_EB		4
37262306a36Sopenharmony_ci#define	CLK_GSP0_MMU_EB		5
37362306a36Sopenharmony_ci#define	CLK_GSP1_MMU_EB		6
37462306a36Sopenharmony_ci#define	CLK_DSI0_EB		7
37562306a36Sopenharmony_ci#define	CLK_DSI1_EB		8
37662306a36Sopenharmony_ci#define	CLK_DISP_CKG_EB		9
37762306a36Sopenharmony_ci#define	CLK_DISP_GPU_EB		10
37862306a36Sopenharmony_ci#define	CLK_GPU_MTX_EB		11
37962306a36Sopenharmony_ci#define	CLK_GSP_MTX_EB		12
38062306a36Sopenharmony_ci#define	CLK_TMC_MTX_EB		13
38162306a36Sopenharmony_ci#define	CLK_DISPC_MTX_EB	14
38262306a36Sopenharmony_ci#define	CLK_DPHY0_GATE		15
38362306a36Sopenharmony_ci#define	CLK_DPHY1_GATE		16
38462306a36Sopenharmony_ci#define	CLK_GSP0_A_GATE		17
38562306a36Sopenharmony_ci#define	CLK_GSP1_A_GATE		18
38662306a36Sopenharmony_ci#define	CLK_GSP0_F_GATE		19
38762306a36Sopenharmony_ci#define	CLK_GSP1_F_GATE		20
38862306a36Sopenharmony_ci#define	CLK_D_MTX_F_GATE	21
38962306a36Sopenharmony_ci#define	CLK_D_MTX_A_GATE	22
39062306a36Sopenharmony_ci#define	CLK_D_NOC_F_GATE	23
39162306a36Sopenharmony_ci#define	CLK_D_NOC_A_GATE	24
39262306a36Sopenharmony_ci#define	CLK_GSP_MTX_F_GATE	25
39362306a36Sopenharmony_ci#define	CLK_GSP_MTX_A_GATE	26
39462306a36Sopenharmony_ci#define	CLK_GSP_NOC_F_GATE	27
39562306a36Sopenharmony_ci#define	CLK_GSP_NOC_A_GATE	28
39662306a36Sopenharmony_ci#define	CLK_DISPM0IDLE_GATE	29
39762306a36Sopenharmony_ci#define	CLK_GSPM0IDLE_GATE	30
39862306a36Sopenharmony_ci#define CLK_DISP_GATE_NUM	(CLK_GSPM0IDLE_GATE + 1)
39962306a36Sopenharmony_ci
40062306a36Sopenharmony_ci#define	CLK_SIM0_EB		0
40162306a36Sopenharmony_ci#define	CLK_IIS0_EB		1
40262306a36Sopenharmony_ci#define	CLK_IIS1_EB		2
40362306a36Sopenharmony_ci#define	CLK_IIS2_EB		3
40462306a36Sopenharmony_ci#define	CLK_IIS3_EB		4
40562306a36Sopenharmony_ci#define	CLK_SPI0_EB		5
40662306a36Sopenharmony_ci#define	CLK_SPI1_EB		6
40762306a36Sopenharmony_ci#define	CLK_SPI2_EB		7
40862306a36Sopenharmony_ci#define	CLK_I2C0_EB		8
40962306a36Sopenharmony_ci#define	CLK_I2C1_EB		9
41062306a36Sopenharmony_ci#define	CLK_I2C2_EB		10
41162306a36Sopenharmony_ci#define	CLK_I2C3_EB		11
41262306a36Sopenharmony_ci#define	CLK_I2C4_EB		12
41362306a36Sopenharmony_ci#define	CLK_I2C5_EB		13
41462306a36Sopenharmony_ci#define	CLK_UART0_EB		14
41562306a36Sopenharmony_ci#define	CLK_UART1_EB		15
41662306a36Sopenharmony_ci#define	CLK_UART2_EB		16
41762306a36Sopenharmony_ci#define	CLK_UART3_EB		17
41862306a36Sopenharmony_ci#define	CLK_UART4_EB		18
41962306a36Sopenharmony_ci#define	CLK_AP_CKG_EB		19
42062306a36Sopenharmony_ci#define	CLK_SPI3_EB		20
42162306a36Sopenharmony_ci#define CLK_APAPB_GATE_NUM	(CLK_SPI3_EB + 1)
42262306a36Sopenharmony_ci
42362306a36Sopenharmony_ci#endif /* _DT_BINDINGS_CLK_SC9860_H_ */
424