18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Unisoc SC9863A platform clocks
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2019, Unisoc Communications Inc.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_SC9863A_H_
98c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_SC9863A_H_
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define CLK_MPLL0_GATE		0
128c2ecf20Sopenharmony_ci#define CLK_DPLL0_GATE		1
138c2ecf20Sopenharmony_ci#define CLK_LPLL_GATE		2
148c2ecf20Sopenharmony_ci#define CLK_GPLL_GATE		3
158c2ecf20Sopenharmony_ci#define CLK_DPLL1_GATE		4
168c2ecf20Sopenharmony_ci#define CLK_MPLL1_GATE		5
178c2ecf20Sopenharmony_ci#define CLK_MPLL2_GATE		6
188c2ecf20Sopenharmony_ci#define CLK_ISPPLL_GATE		7
198c2ecf20Sopenharmony_ci#define CLK_PMU_APB_NUM		(CLK_ISPPLL_GATE + 1)
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#define CLK_AUDIO_GATE		0
228c2ecf20Sopenharmony_ci#define CLK_RPLL		1
238c2ecf20Sopenharmony_ci#define CLK_RPLL_390M		2
248c2ecf20Sopenharmony_ci#define CLK_RPLL_260M		3
258c2ecf20Sopenharmony_ci#define CLK_RPLL_195M		4
268c2ecf20Sopenharmony_ci#define CLK_RPLL_26M		5
278c2ecf20Sopenharmony_ci#define CLK_ANLG_PHY_G5_NUM	(CLK_RPLL_26M + 1)
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#define CLK_TWPLL		0
308c2ecf20Sopenharmony_ci#define CLK_TWPLL_768M		1
318c2ecf20Sopenharmony_ci#define CLK_TWPLL_384M		2
328c2ecf20Sopenharmony_ci#define CLK_TWPLL_192M		3
338c2ecf20Sopenharmony_ci#define CLK_TWPLL_96M		4
348c2ecf20Sopenharmony_ci#define CLK_TWPLL_48M		5
358c2ecf20Sopenharmony_ci#define CLK_TWPLL_24M		6
368c2ecf20Sopenharmony_ci#define CLK_TWPLL_12M		7
378c2ecf20Sopenharmony_ci#define CLK_TWPLL_512M		8
388c2ecf20Sopenharmony_ci#define CLK_TWPLL_256M		9
398c2ecf20Sopenharmony_ci#define CLK_TWPLL_128M		10
408c2ecf20Sopenharmony_ci#define CLK_TWPLL_64M		11
418c2ecf20Sopenharmony_ci#define CLK_TWPLL_307M2		12
428c2ecf20Sopenharmony_ci#define CLK_TWPLL_219M4		13
438c2ecf20Sopenharmony_ci#define CLK_TWPLL_170M6		14
448c2ecf20Sopenharmony_ci#define CLK_TWPLL_153M6		15
458c2ecf20Sopenharmony_ci#define CLK_TWPLL_76M8		16
468c2ecf20Sopenharmony_ci#define CLK_TWPLL_51M2		17
478c2ecf20Sopenharmony_ci#define CLK_TWPLL_38M4		18
488c2ecf20Sopenharmony_ci#define CLK_TWPLL_19M2		19
498c2ecf20Sopenharmony_ci#define CLK_LPLL		20
508c2ecf20Sopenharmony_ci#define CLK_LPLL_409M6		21
518c2ecf20Sopenharmony_ci#define CLK_LPLL_245M76		22
528c2ecf20Sopenharmony_ci#define CLK_GPLL		23
538c2ecf20Sopenharmony_ci#define CLK_ISPPLL		24
548c2ecf20Sopenharmony_ci#define CLK_ISPPLL_468M		25
558c2ecf20Sopenharmony_ci#define CLK_ANLG_PHY_G1_NUM	(CLK_ISPPLL_468M + 1)
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci#define CLK_DPLL0		0
588c2ecf20Sopenharmony_ci#define CLK_DPLL1		1
598c2ecf20Sopenharmony_ci#define CLK_DPLL0_933M		2
608c2ecf20Sopenharmony_ci#define CLK_DPLL0_622M3		3
618c2ecf20Sopenharmony_ci#define CLK_DPLL0_400M		4
628c2ecf20Sopenharmony_ci#define CLK_DPLL0_266M7		5
638c2ecf20Sopenharmony_ci#define CLK_DPLL0_123M1		6
648c2ecf20Sopenharmony_ci#define CLK_DPLL0_50M		7
658c2ecf20Sopenharmony_ci#define CLK_ANLG_PHY_G7_NUM	(CLK_DPLL0_50M + 1)
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ci#define CLK_MPLL0		0
688c2ecf20Sopenharmony_ci#define CLK_MPLL1		1
698c2ecf20Sopenharmony_ci#define CLK_MPLL2		2
708c2ecf20Sopenharmony_ci#define CLK_MPLL2_675M		3
718c2ecf20Sopenharmony_ci#define CLK_ANLG_PHY_G4_NUM	(CLK_MPLL2_675M + 1)
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci#define CLK_AP_APB		0
748c2ecf20Sopenharmony_ci#define CLK_AP_CE		1
758c2ecf20Sopenharmony_ci#define CLK_NANDC_ECC		2
768c2ecf20Sopenharmony_ci#define CLK_NANDC_26M		3
778c2ecf20Sopenharmony_ci#define CLK_EMMC_32K		4
788c2ecf20Sopenharmony_ci#define CLK_SDIO0_32K		5
798c2ecf20Sopenharmony_ci#define CLK_SDIO1_32K		6
808c2ecf20Sopenharmony_ci#define CLK_SDIO2_32K		7
818c2ecf20Sopenharmony_ci#define CLK_OTG_UTMI		8
828c2ecf20Sopenharmony_ci#define CLK_AP_UART0		9
838c2ecf20Sopenharmony_ci#define CLK_AP_UART1		10
848c2ecf20Sopenharmony_ci#define CLK_AP_UART2		11
858c2ecf20Sopenharmony_ci#define CLK_AP_UART3		12
868c2ecf20Sopenharmony_ci#define CLK_AP_UART4		13
878c2ecf20Sopenharmony_ci#define CLK_AP_I2C0		14
888c2ecf20Sopenharmony_ci#define CLK_AP_I2C1		15
898c2ecf20Sopenharmony_ci#define CLK_AP_I2C2		16
908c2ecf20Sopenharmony_ci#define CLK_AP_I2C3		17
918c2ecf20Sopenharmony_ci#define CLK_AP_I2C4		18
928c2ecf20Sopenharmony_ci#define CLK_AP_I2C5		19
938c2ecf20Sopenharmony_ci#define CLK_AP_I2C6		20
948c2ecf20Sopenharmony_ci#define CLK_AP_SPI0		21
958c2ecf20Sopenharmony_ci#define CLK_AP_SPI1		22
968c2ecf20Sopenharmony_ci#define CLK_AP_SPI2		23
978c2ecf20Sopenharmony_ci#define CLK_AP_SPI3		24
988c2ecf20Sopenharmony_ci#define CLK_AP_IIS0		25
998c2ecf20Sopenharmony_ci#define CLK_AP_IIS1		26
1008c2ecf20Sopenharmony_ci#define CLK_AP_IIS2		27
1018c2ecf20Sopenharmony_ci#define CLK_SIM0		28
1028c2ecf20Sopenharmony_ci#define CLK_SIM0_32K		29
1038c2ecf20Sopenharmony_ci#define CLK_AP_CLK_NUM		(CLK_SIM0_32K + 1)
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci#define CLK_13M			0
1068c2ecf20Sopenharmony_ci#define CLK_6M5			1
1078c2ecf20Sopenharmony_ci#define CLK_4M3			2
1088c2ecf20Sopenharmony_ci#define CLK_2M			3
1098c2ecf20Sopenharmony_ci#define CLK_250K		4
1108c2ecf20Sopenharmony_ci#define CLK_RCO_25M		5
1118c2ecf20Sopenharmony_ci#define CLK_RCO_4M		6
1128c2ecf20Sopenharmony_ci#define CLK_RCO_2M		7
1138c2ecf20Sopenharmony_ci#define CLK_EMC			8
1148c2ecf20Sopenharmony_ci#define CLK_AON_APB		9
1158c2ecf20Sopenharmony_ci#define CLK_ADI			10
1168c2ecf20Sopenharmony_ci#define CLK_AUX0		11
1178c2ecf20Sopenharmony_ci#define CLK_AUX1		12
1188c2ecf20Sopenharmony_ci#define CLK_AUX2		13
1198c2ecf20Sopenharmony_ci#define CLK_PROBE		14
1208c2ecf20Sopenharmony_ci#define CLK_PWM0		15
1218c2ecf20Sopenharmony_ci#define CLK_PWM1		16
1228c2ecf20Sopenharmony_ci#define CLK_PWM2		17
1238c2ecf20Sopenharmony_ci#define CLK_AON_THM		18
1248c2ecf20Sopenharmony_ci#define CLK_AUDIF		19
1258c2ecf20Sopenharmony_ci#define CLK_CPU_DAP		20
1268c2ecf20Sopenharmony_ci#define CLK_CPU_TS		21
1278c2ecf20Sopenharmony_ci#define CLK_DJTAG_TCK		22
1288c2ecf20Sopenharmony_ci#define CLK_EMC_REF		23
1298c2ecf20Sopenharmony_ci#define CLK_CSSYS		24
1308c2ecf20Sopenharmony_ci#define CLK_AON_PMU		25
1318c2ecf20Sopenharmony_ci#define CLK_PMU_26M		26
1328c2ecf20Sopenharmony_ci#define CLK_AON_TMR		27
1338c2ecf20Sopenharmony_ci#define CLK_POWER_CPU		28
1348c2ecf20Sopenharmony_ci#define CLK_AP_AXI		29
1358c2ecf20Sopenharmony_ci#define CLK_SDIO0_2X		30
1368c2ecf20Sopenharmony_ci#define CLK_SDIO1_2X		31
1378c2ecf20Sopenharmony_ci#define CLK_SDIO2_2X		32
1388c2ecf20Sopenharmony_ci#define CLK_EMMC_2X		33
1398c2ecf20Sopenharmony_ci#define CLK_DPU			34
1408c2ecf20Sopenharmony_ci#define CLK_DPU_DPI		35
1418c2ecf20Sopenharmony_ci#define CLK_OTG_REF		36
1428c2ecf20Sopenharmony_ci#define CLK_SDPHY_APB		37
1438c2ecf20Sopenharmony_ci#define CLK_ALG_IO_APB		38
1448c2ecf20Sopenharmony_ci#define CLK_GPU_CORE		39
1458c2ecf20Sopenharmony_ci#define CLK_GPU_SOC		40
1468c2ecf20Sopenharmony_ci#define CLK_MM_EMC		41
1478c2ecf20Sopenharmony_ci#define CLK_MM_AHB		42
1488c2ecf20Sopenharmony_ci#define CLK_BPC			43
1498c2ecf20Sopenharmony_ci#define CLK_DCAM_IF		44
1508c2ecf20Sopenharmony_ci#define CLK_ISP			45
1518c2ecf20Sopenharmony_ci#define CLK_JPG			46
1528c2ecf20Sopenharmony_ci#define CLK_CPP			47
1538c2ecf20Sopenharmony_ci#define CLK_SENSOR0		48
1548c2ecf20Sopenharmony_ci#define CLK_SENSOR1		49
1558c2ecf20Sopenharmony_ci#define CLK_SENSOR2		50
1568c2ecf20Sopenharmony_ci#define CLK_MM_VEMC		51
1578c2ecf20Sopenharmony_ci#define CLK_MM_VAHB		52
1588c2ecf20Sopenharmony_ci#define CLK_VSP			53
1598c2ecf20Sopenharmony_ci#define CLK_CORE0		54
1608c2ecf20Sopenharmony_ci#define CLK_CORE1		55
1618c2ecf20Sopenharmony_ci#define CLK_CORE2		56
1628c2ecf20Sopenharmony_ci#define CLK_CORE3		57
1638c2ecf20Sopenharmony_ci#define CLK_CORE4		58
1648c2ecf20Sopenharmony_ci#define CLK_CORE5		59
1658c2ecf20Sopenharmony_ci#define CLK_CORE6		60
1668c2ecf20Sopenharmony_ci#define CLK_CORE7		61
1678c2ecf20Sopenharmony_ci#define CLK_SCU			62
1688c2ecf20Sopenharmony_ci#define CLK_ACE			63
1698c2ecf20Sopenharmony_ci#define CLK_AXI_PERIPH		64
1708c2ecf20Sopenharmony_ci#define CLK_AXI_ACP		65
1718c2ecf20Sopenharmony_ci#define CLK_ATB			66
1728c2ecf20Sopenharmony_ci#define CLK_DEBUG_APB		67
1738c2ecf20Sopenharmony_ci#define CLK_GIC			68
1748c2ecf20Sopenharmony_ci#define CLK_PERIPH		69
1758c2ecf20Sopenharmony_ci#define CLK_AON_CLK_NUM		(CLK_VSP + 1)
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ci#define CLK_OTG_EB		0
1788c2ecf20Sopenharmony_ci#define CLK_DMA_EB		1
1798c2ecf20Sopenharmony_ci#define CLK_CE_EB		2
1808c2ecf20Sopenharmony_ci#define CLK_NANDC_EB		3
1818c2ecf20Sopenharmony_ci#define CLK_SDIO0_EB		4
1828c2ecf20Sopenharmony_ci#define CLK_SDIO1_EB		5
1838c2ecf20Sopenharmony_ci#define CLK_SDIO2_EB		6
1848c2ecf20Sopenharmony_ci#define CLK_EMMC_EB		7
1858c2ecf20Sopenharmony_ci#define CLK_EMMC_32K_EB		8
1868c2ecf20Sopenharmony_ci#define CLK_SDIO0_32K_EB	9
1878c2ecf20Sopenharmony_ci#define CLK_SDIO1_32K_EB	10
1888c2ecf20Sopenharmony_ci#define CLK_SDIO2_32K_EB	11
1898c2ecf20Sopenharmony_ci#define CLK_NANDC_26M_EB	12
1908c2ecf20Sopenharmony_ci#define CLK_DMA_EB2		13
1918c2ecf20Sopenharmony_ci#define CLK_CE_EB2		14
1928c2ecf20Sopenharmony_ci#define CLK_AP_AHB_GATE_NUM	(CLK_CE_EB2 + 1)
1938c2ecf20Sopenharmony_ci
1948c2ecf20Sopenharmony_ci#define CLK_GPIO_EB		0
1958c2ecf20Sopenharmony_ci#define CLK_PWM0_EB		1
1968c2ecf20Sopenharmony_ci#define CLK_PWM1_EB		2
1978c2ecf20Sopenharmony_ci#define CLK_PWM2_EB		3
1988c2ecf20Sopenharmony_ci#define CLK_PWM3_EB		4
1998c2ecf20Sopenharmony_ci#define CLK_KPD_EB		5
2008c2ecf20Sopenharmony_ci#define CLK_AON_SYST_EB		6
2018c2ecf20Sopenharmony_ci#define CLK_AP_SYST_EB		7
2028c2ecf20Sopenharmony_ci#define CLK_AON_TMR_EB		8
2038c2ecf20Sopenharmony_ci#define CLK_EFUSE_EB		9
2048c2ecf20Sopenharmony_ci#define CLK_EIC_EB		10
2058c2ecf20Sopenharmony_ci#define CLK_INTC_EB		11
2068c2ecf20Sopenharmony_ci#define CLK_ADI_EB		12
2078c2ecf20Sopenharmony_ci#define CLK_AUDIF_EB		13
2088c2ecf20Sopenharmony_ci#define CLK_AUD_EB		14
2098c2ecf20Sopenharmony_ci#define CLK_VBC_EB		15
2108c2ecf20Sopenharmony_ci#define CLK_PIN_EB		16
2118c2ecf20Sopenharmony_ci#define CLK_AP_WDG_EB		17
2128c2ecf20Sopenharmony_ci#define CLK_MM_EB		18
2138c2ecf20Sopenharmony_ci#define CLK_AON_APB_CKG_EB	19
2148c2ecf20Sopenharmony_ci#define CLK_CA53_TS0_EB		20
2158c2ecf20Sopenharmony_ci#define CLK_CA53_TS1_EB		21
2168c2ecf20Sopenharmony_ci#define CLK_CS53_DAP_EB		22
2178c2ecf20Sopenharmony_ci#define CLK_PMU_EB		23
2188c2ecf20Sopenharmony_ci#define CLK_THM_EB		24
2198c2ecf20Sopenharmony_ci#define CLK_AUX0_EB		25
2208c2ecf20Sopenharmony_ci#define CLK_AUX1_EB		26
2218c2ecf20Sopenharmony_ci#define CLK_AUX2_EB		27
2228c2ecf20Sopenharmony_ci#define CLK_PROBE_EB		28
2238c2ecf20Sopenharmony_ci#define CLK_EMC_REF_EB		29
2248c2ecf20Sopenharmony_ci#define CLK_CA53_WDG_EB		30
2258c2ecf20Sopenharmony_ci#define CLK_AP_TMR1_EB		31
2268c2ecf20Sopenharmony_ci#define CLK_AP_TMR2_EB		32
2278c2ecf20Sopenharmony_ci#define CLK_DISP_EMC_EB		33
2288c2ecf20Sopenharmony_ci#define CLK_ZIP_EMC_EB		34
2298c2ecf20Sopenharmony_ci#define CLK_GSP_EMC_EB		35
2308c2ecf20Sopenharmony_ci#define CLK_MM_VSP_EB		36
2318c2ecf20Sopenharmony_ci#define CLK_MDAR_EB		37
2328c2ecf20Sopenharmony_ci#define CLK_RTC4M0_CAL_EB	38
2338c2ecf20Sopenharmony_ci#define CLK_RTC4M1_CAL_EB	39
2348c2ecf20Sopenharmony_ci#define CLK_DJTAG_EB		40
2358c2ecf20Sopenharmony_ci#define CLK_MBOX_EB		41
2368c2ecf20Sopenharmony_ci#define CLK_AON_DMA_EB		42
2378c2ecf20Sopenharmony_ci#define CLK_AON_APB_DEF_EB	43
2388c2ecf20Sopenharmony_ci#define CLK_CA5_TS0_EB		44
2398c2ecf20Sopenharmony_ci#define CLK_DBG_EB		45
2408c2ecf20Sopenharmony_ci#define CLK_DBG_EMC_EB		46
2418c2ecf20Sopenharmony_ci#define CLK_CROSS_TRIG_EB	47
2428c2ecf20Sopenharmony_ci#define CLK_SERDES_DPHY_EB	48
2438c2ecf20Sopenharmony_ci#define CLK_ARCH_RTC_EB		49
2448c2ecf20Sopenharmony_ci#define CLK_KPD_RTC_EB		50
2458c2ecf20Sopenharmony_ci#define CLK_AON_SYST_RTC_EB	51
2468c2ecf20Sopenharmony_ci#define CLK_AP_SYST_RTC_EB	52
2478c2ecf20Sopenharmony_ci#define CLK_AON_TMR_RTC_EB	53
2488c2ecf20Sopenharmony_ci#define CLK_AP_TMR0_RTC_EB	54
2498c2ecf20Sopenharmony_ci#define CLK_EIC_RTC_EB		55
2508c2ecf20Sopenharmony_ci#define CLK_EIC_RTCDV5_EB	56
2518c2ecf20Sopenharmony_ci#define CLK_AP_WDG_RTC_EB	57
2528c2ecf20Sopenharmony_ci#define CLK_CA53_WDG_RTC_EB	58
2538c2ecf20Sopenharmony_ci#define CLK_THM_RTC_EB		59
2548c2ecf20Sopenharmony_ci#define CLK_ATHMA_RTC_EB	60
2558c2ecf20Sopenharmony_ci#define CLK_GTHMA_RTC_EB	61
2568c2ecf20Sopenharmony_ci#define CLK_ATHMA_RTC_A_EB	62
2578c2ecf20Sopenharmony_ci#define CLK_GTHMA_RTC_A_EB	63
2588c2ecf20Sopenharmony_ci#define CLK_AP_TMR1_RTC_EB	64
2598c2ecf20Sopenharmony_ci#define CLK_AP_TMR2_RTC_EB	65
2608c2ecf20Sopenharmony_ci#define CLK_DXCO_LC_RTC_EB	66
2618c2ecf20Sopenharmony_ci#define CLK_BB_CAL_RTC_EB	67
2628c2ecf20Sopenharmony_ci#define CLK_GNU_EB		68
2638c2ecf20Sopenharmony_ci#define CLK_DISP_EB		69
2648c2ecf20Sopenharmony_ci#define CLK_MM_EMC_EB		70
2658c2ecf20Sopenharmony_ci#define CLK_POWER_CPU_EB	71
2668c2ecf20Sopenharmony_ci#define CLK_HW_I2C_EB		72
2678c2ecf20Sopenharmony_ci#define CLK_MM_VSP_EMC_EB	73
2688c2ecf20Sopenharmony_ci#define CLK_VSP_EB		74
2698c2ecf20Sopenharmony_ci#define CLK_CSSYS_EB		75
2708c2ecf20Sopenharmony_ci#define CLK_DMC_EB		76
2718c2ecf20Sopenharmony_ci#define CLK_ROSC_EB		77
2728c2ecf20Sopenharmony_ci#define CLK_S_D_CFG_EB		78
2738c2ecf20Sopenharmony_ci#define CLK_S_D_REF_EB		79
2748c2ecf20Sopenharmony_ci#define CLK_B_DMA_EB		80
2758c2ecf20Sopenharmony_ci#define CLK_ANLG_EB		81
2768c2ecf20Sopenharmony_ci#define CLK_ANLG_APB_EB		82
2778c2ecf20Sopenharmony_ci#define CLK_BSMTMR_EB		83
2788c2ecf20Sopenharmony_ci#define CLK_AP_AXI_EB		84
2798c2ecf20Sopenharmony_ci#define CLK_AP_INTC0_EB		85
2808c2ecf20Sopenharmony_ci#define CLK_AP_INTC1_EB		86
2818c2ecf20Sopenharmony_ci#define CLK_AP_INTC2_EB		87
2828c2ecf20Sopenharmony_ci#define CLK_AP_INTC3_EB		88
2838c2ecf20Sopenharmony_ci#define CLK_AP_INTC4_EB		89
2848c2ecf20Sopenharmony_ci#define CLK_AP_INTC5_EB		90
2858c2ecf20Sopenharmony_ci#define CLK_SCC_EB		91
2868c2ecf20Sopenharmony_ci#define CLK_DPHY_CFG_EB		92
2878c2ecf20Sopenharmony_ci#define CLK_DPHY_REF_EB		93
2888c2ecf20Sopenharmony_ci#define CLK_CPHY_CFG_EB		94
2898c2ecf20Sopenharmony_ci#define CLK_OTG_REF_EB		95
2908c2ecf20Sopenharmony_ci#define CLK_SERDES_EB		96
2918c2ecf20Sopenharmony_ci#define CLK_AON_AP_EMC_EB	97
2928c2ecf20Sopenharmony_ci#define CLK_AON_APB_GATE_NUM	(CLK_AON_AP_EMC_EB + 1)
2938c2ecf20Sopenharmony_ci
2948c2ecf20Sopenharmony_ci#define CLK_MAHB_CKG_EB		0
2958c2ecf20Sopenharmony_ci#define CLK_MDCAM_EB		1
2968c2ecf20Sopenharmony_ci#define CLK_MISP_EB		2
2978c2ecf20Sopenharmony_ci#define CLK_MAHBCSI_EB		3
2988c2ecf20Sopenharmony_ci#define CLK_MCSI_S_EB		4
2998c2ecf20Sopenharmony_ci#define CLK_MCSI_T_EB		5
3008c2ecf20Sopenharmony_ci#define CLK_DCAM_AXI_EB		6
3018c2ecf20Sopenharmony_ci#define CLK_ISP_AXI_EB		7
3028c2ecf20Sopenharmony_ci#define CLK_MCSI_EB		8
3038c2ecf20Sopenharmony_ci#define CLK_MCSI_S_CKG_EB	9
3048c2ecf20Sopenharmony_ci#define CLK_MCSI_T_CKG_EB	10
3058c2ecf20Sopenharmony_ci#define CLK_SENSOR0_EB		11
3068c2ecf20Sopenharmony_ci#define CLK_SENSOR1_EB		12
3078c2ecf20Sopenharmony_ci#define CLK_SENSOR2_EB		13
3088c2ecf20Sopenharmony_ci#define CLK_MCPHY_CFG_EB	14
3098c2ecf20Sopenharmony_ci#define CLK_MM_GATE_NUM		(CLK_MCPHY_CFG_EB + 1)
3108c2ecf20Sopenharmony_ci
3118c2ecf20Sopenharmony_ci#define CLK_MIPI_CSI		0
3128c2ecf20Sopenharmony_ci#define CLK_MIPI_CSI_S		1
3138c2ecf20Sopenharmony_ci#define CLK_MIPI_CSI_M		2
3148c2ecf20Sopenharmony_ci#define CLK_MM_CLK_NUM		(CLK_MIPI_CSI_M + 1)
3158c2ecf20Sopenharmony_ci
3168c2ecf20Sopenharmony_ci#define CLK_SIM0_EB		0
3178c2ecf20Sopenharmony_ci#define CLK_IIS0_EB		1
3188c2ecf20Sopenharmony_ci#define CLK_IIS1_EB		2
3198c2ecf20Sopenharmony_ci#define CLK_IIS2_EB		3
3208c2ecf20Sopenharmony_ci#define CLK_SPI0_EB		4
3218c2ecf20Sopenharmony_ci#define CLK_SPI1_EB		5
3228c2ecf20Sopenharmony_ci#define CLK_SPI2_EB		6
3238c2ecf20Sopenharmony_ci#define CLK_I2C0_EB		7
3248c2ecf20Sopenharmony_ci#define CLK_I2C1_EB		8
3258c2ecf20Sopenharmony_ci#define CLK_I2C2_EB		9
3268c2ecf20Sopenharmony_ci#define CLK_I2C3_EB		10
3278c2ecf20Sopenharmony_ci#define CLK_I2C4_EB		11
3288c2ecf20Sopenharmony_ci#define CLK_UART0_EB		12
3298c2ecf20Sopenharmony_ci#define CLK_UART1_EB		13
3308c2ecf20Sopenharmony_ci#define CLK_UART2_EB		14
3318c2ecf20Sopenharmony_ci#define CLK_UART3_EB		15
3328c2ecf20Sopenharmony_ci#define CLK_UART4_EB		16
3338c2ecf20Sopenharmony_ci#define CLK_SIM0_32K_EB		17
3348c2ecf20Sopenharmony_ci#define CLK_SPI3_EB		18
3358c2ecf20Sopenharmony_ci#define CLK_I2C5_EB		19
3368c2ecf20Sopenharmony_ci#define CLK_I2C6_EB		20
3378c2ecf20Sopenharmony_ci#define CLK_AP_APB_GATE_NUM	(CLK_I2C6_EB + 1)
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_CLK_SC9863A_H_ */
340