162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
262306a36Sopenharmony_ci *
362306a36Sopenharmony_ci * Copyright (c) 2022 MediaTek Inc.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MT8365_H
762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_MT8365_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* TOPCKGEN */
1062306a36Sopenharmony_ci#define CLK_TOP_CLK_NULL		0
1162306a36Sopenharmony_ci#define CLK_TOP_I2S0_BCK		1
1262306a36Sopenharmony_ci#define CLK_TOP_DSI0_LNTC_DSICK		2
1362306a36Sopenharmony_ci#define CLK_TOP_VPLL_DPIX		3
1462306a36Sopenharmony_ci#define CLK_TOP_LVDSTX_CLKDIG_CTS	4
1562306a36Sopenharmony_ci#define CLK_TOP_MFGPLL			5
1662306a36Sopenharmony_ci#define CLK_TOP_SYSPLL_D2		6
1762306a36Sopenharmony_ci#define CLK_TOP_SYSPLL1_D2		7
1862306a36Sopenharmony_ci#define CLK_TOP_SYSPLL1_D4		8
1962306a36Sopenharmony_ci#define CLK_TOP_SYSPLL1_D8		9
2062306a36Sopenharmony_ci#define CLK_TOP_SYSPLL1_D16		10
2162306a36Sopenharmony_ci#define CLK_TOP_SYSPLL_D3		11
2262306a36Sopenharmony_ci#define CLK_TOP_SYSPLL2_D2		12
2362306a36Sopenharmony_ci#define CLK_TOP_SYSPLL2_D4		13
2462306a36Sopenharmony_ci#define CLK_TOP_SYSPLL2_D8		14
2562306a36Sopenharmony_ci#define CLK_TOP_SYSPLL_D5		15
2662306a36Sopenharmony_ci#define CLK_TOP_SYSPLL3_D2		16
2762306a36Sopenharmony_ci#define CLK_TOP_SYSPLL3_D4		17
2862306a36Sopenharmony_ci#define CLK_TOP_SYSPLL_D7		18
2962306a36Sopenharmony_ci#define CLK_TOP_SYSPLL4_D2		19
3062306a36Sopenharmony_ci#define CLK_TOP_SYSPLL4_D4		20
3162306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL			21
3262306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL_D2		22
3362306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL1_D2		23
3462306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL1_D4		24
3562306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL_D3		25
3662306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL2_D2		26
3762306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL2_D4		27
3862306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL2_D8		28
3962306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL2_D32		29
4062306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL_D5		30
4162306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL3_D2		31
4262306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL3_D4		32
4362306a36Sopenharmony_ci#define CLK_TOP_MMPLL			33
4462306a36Sopenharmony_ci#define CLK_TOP_MMPLL_D2		34
4562306a36Sopenharmony_ci#define CLK_TOP_LVDSPLL_D2		35
4662306a36Sopenharmony_ci#define CLK_TOP_LVDSPLL_D4		36
4762306a36Sopenharmony_ci#define CLK_TOP_LVDSPLL_D8		37
4862306a36Sopenharmony_ci#define CLK_TOP_LVDSPLL_D16		38
4962306a36Sopenharmony_ci#define CLK_TOP_USB20_192M		39
5062306a36Sopenharmony_ci#define CLK_TOP_USB20_192M_D4		40
5162306a36Sopenharmony_ci#define CLK_TOP_USB20_192M_D8		41
5262306a36Sopenharmony_ci#define CLK_TOP_USB20_192M_D16		42
5362306a36Sopenharmony_ci#define CLK_TOP_USB20_192M_D32		43
5462306a36Sopenharmony_ci#define CLK_TOP_APLL1			44
5562306a36Sopenharmony_ci#define CLK_TOP_APLL1_D2		45
5662306a36Sopenharmony_ci#define CLK_TOP_APLL1_D4		46
5762306a36Sopenharmony_ci#define CLK_TOP_APLL1_D8		47
5862306a36Sopenharmony_ci#define CLK_TOP_APLL2			48
5962306a36Sopenharmony_ci#define CLK_TOP_APLL2_D2		49
6062306a36Sopenharmony_ci#define CLK_TOP_APLL2_D4		50
6162306a36Sopenharmony_ci#define CLK_TOP_APLL2_D8		51
6262306a36Sopenharmony_ci#define CLK_TOP_SYS_26M_D2		52
6362306a36Sopenharmony_ci#define CLK_TOP_MSDCPLL			53
6462306a36Sopenharmony_ci#define CLK_TOP_MSDCPLL_D2		54
6562306a36Sopenharmony_ci#define CLK_TOP_DSPPLL			55
6662306a36Sopenharmony_ci#define CLK_TOP_DSPPLL_D2		56
6762306a36Sopenharmony_ci#define CLK_TOP_DSPPLL_D4		57
6862306a36Sopenharmony_ci#define CLK_TOP_DSPPLL_D8		58
6962306a36Sopenharmony_ci#define CLK_TOP_APUPLL			59
7062306a36Sopenharmony_ci#define CLK_TOP_CLK26M_D52		60
7162306a36Sopenharmony_ci#define CLK_TOP_AXI_SEL			61
7262306a36Sopenharmony_ci#define CLK_TOP_MEM_SEL			62
7362306a36Sopenharmony_ci#define CLK_TOP_MM_SEL			63
7462306a36Sopenharmony_ci#define CLK_TOP_SCP_SEL			64
7562306a36Sopenharmony_ci#define CLK_TOP_MFG_SEL			65
7662306a36Sopenharmony_ci#define CLK_TOP_ATB_SEL			66
7762306a36Sopenharmony_ci#define CLK_TOP_CAMTG_SEL		67
7862306a36Sopenharmony_ci#define CLK_TOP_CAMTG1_SEL		68
7962306a36Sopenharmony_ci#define CLK_TOP_UART_SEL		69
8062306a36Sopenharmony_ci#define CLK_TOP_SPI_SEL			70
8162306a36Sopenharmony_ci#define CLK_TOP_MSDC50_0_HC_SEL		71
8262306a36Sopenharmony_ci#define CLK_TOP_MSDC2_2_HC_SEL		72
8362306a36Sopenharmony_ci#define CLK_TOP_MSDC50_0_SEL		73
8462306a36Sopenharmony_ci#define CLK_TOP_MSDC50_2_SEL		74
8562306a36Sopenharmony_ci#define CLK_TOP_MSDC30_1_SEL		75
8662306a36Sopenharmony_ci#define CLK_TOP_AUDIO_SEL		76
8762306a36Sopenharmony_ci#define CLK_TOP_AUD_INTBUS_SEL		77
8862306a36Sopenharmony_ci#define CLK_TOP_AUD_1_SEL		78
8962306a36Sopenharmony_ci#define CLK_TOP_AUD_2_SEL		79
9062306a36Sopenharmony_ci#define CLK_TOP_AUD_ENGEN1_SEL		80
9162306a36Sopenharmony_ci#define CLK_TOP_AUD_ENGEN2_SEL		81
9262306a36Sopenharmony_ci#define CLK_TOP_AUD_SPDIF_SEL		82
9362306a36Sopenharmony_ci#define CLK_TOP_DISP_PWM_SEL		83
9462306a36Sopenharmony_ci#define CLK_TOP_DXCC_SEL		84
9562306a36Sopenharmony_ci#define CLK_TOP_SSUSB_SYS_SEL		85
9662306a36Sopenharmony_ci#define CLK_TOP_SSUSB_XHCI_SEL		86
9762306a36Sopenharmony_ci#define CLK_TOP_SPM_SEL			87
9862306a36Sopenharmony_ci#define CLK_TOP_I2C_SEL			88
9962306a36Sopenharmony_ci#define CLK_TOP_PWM_SEL			89
10062306a36Sopenharmony_ci#define CLK_TOP_SENIF_SEL		90
10162306a36Sopenharmony_ci#define CLK_TOP_AES_FDE_SEL		91
10262306a36Sopenharmony_ci#define CLK_TOP_CAMTM_SEL		92
10362306a36Sopenharmony_ci#define CLK_TOP_DPI0_SEL		93
10462306a36Sopenharmony_ci#define CLK_TOP_DPI1_SEL		94
10562306a36Sopenharmony_ci#define CLK_TOP_DSP_SEL			95
10662306a36Sopenharmony_ci#define CLK_TOP_NFI2X_SEL		96
10762306a36Sopenharmony_ci#define CLK_TOP_NFIECC_SEL		97
10862306a36Sopenharmony_ci#define CLK_TOP_ECC_SEL			98
10962306a36Sopenharmony_ci#define CLK_TOP_ETH_SEL			99
11062306a36Sopenharmony_ci#define CLK_TOP_GCPU_SEL		100
11162306a36Sopenharmony_ci#define CLK_TOP_GCPU_CPM_SEL		101
11262306a36Sopenharmony_ci#define CLK_TOP_APU_SEL			102
11362306a36Sopenharmony_ci#define CLK_TOP_APU_IF_SEL		103
11462306a36Sopenharmony_ci#define CLK_TOP_MBIST_DIAG_SEL		104
11562306a36Sopenharmony_ci#define CLK_TOP_APLL_I2S0_SEL		105
11662306a36Sopenharmony_ci#define CLK_TOP_APLL_I2S1_SEL		106
11762306a36Sopenharmony_ci#define CLK_TOP_APLL_I2S2_SEL		107
11862306a36Sopenharmony_ci#define CLK_TOP_APLL_I2S3_SEL		108
11962306a36Sopenharmony_ci#define CLK_TOP_APLL_TDMOUT_SEL		109
12062306a36Sopenharmony_ci#define CLK_TOP_APLL_TDMIN_SEL		110
12162306a36Sopenharmony_ci#define CLK_TOP_APLL_SPDIF_SEL		111
12262306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV0		112
12362306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV1		113
12462306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV2		114
12562306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV3		115
12662306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV4		116
12762306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV4B		117
12862306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV5		118
12962306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV5B		119
13062306a36Sopenharmony_ci#define CLK_TOP_APLL12_CK_DIV6		120
13162306a36Sopenharmony_ci#define CLK_TOP_AUD_I2S0_M		121
13262306a36Sopenharmony_ci#define CLK_TOP_AUD_I2S1_M		122
13362306a36Sopenharmony_ci#define CLK_TOP_AUD_I2S2_M		123
13462306a36Sopenharmony_ci#define CLK_TOP_AUD_I2S3_M		124
13562306a36Sopenharmony_ci#define CLK_TOP_AUD_TDMOUT_M		125
13662306a36Sopenharmony_ci#define CLK_TOP_AUD_TDMOUT_B		126
13762306a36Sopenharmony_ci#define CLK_TOP_AUD_TDMIN_M		127
13862306a36Sopenharmony_ci#define CLK_TOP_AUD_TDMIN_B		128
13962306a36Sopenharmony_ci#define CLK_TOP_AUD_SPDIF_M		129
14062306a36Sopenharmony_ci#define CLK_TOP_USB20_48M_EN		130
14162306a36Sopenharmony_ci#define CLK_TOP_UNIVPLL_48M_EN		131
14262306a36Sopenharmony_ci#define CLK_TOP_LVDSTX_CLKDIG_EN	132
14362306a36Sopenharmony_ci#define CLK_TOP_VPLL_DPIX_EN		133
14462306a36Sopenharmony_ci#define CLK_TOP_SSUSB_TOP_CK_EN		134
14562306a36Sopenharmony_ci#define CLK_TOP_SSUSB_PHY_CK_EN		135
14662306a36Sopenharmony_ci#define CLK_TOP_CONN_32K		136
14762306a36Sopenharmony_ci#define CLK_TOP_CONN_26M		137
14862306a36Sopenharmony_ci#define CLK_TOP_DSP_32K			138
14962306a36Sopenharmony_ci#define CLK_TOP_DSP_26M			139
15062306a36Sopenharmony_ci#define CLK_TOP_NR_CLK			140
15162306a36Sopenharmony_ci
15262306a36Sopenharmony_ci/* INFRACFG */
15362306a36Sopenharmony_ci#define CLK_IFR_PMIC_TMR		0
15462306a36Sopenharmony_ci#define CLK_IFR_PMIC_AP			1
15562306a36Sopenharmony_ci#define CLK_IFR_PMIC_MD			2
15662306a36Sopenharmony_ci#define CLK_IFR_PMIC_CONN		3
15762306a36Sopenharmony_ci#define CLK_IFR_ICUSB			4
15862306a36Sopenharmony_ci#define CLK_IFR_GCE			5
15962306a36Sopenharmony_ci#define CLK_IFR_THERM			6
16062306a36Sopenharmony_ci#define CLK_IFR_PWM_HCLK		7
16162306a36Sopenharmony_ci#define CLK_IFR_PWM1			8
16262306a36Sopenharmony_ci#define CLK_IFR_PWM2			9
16362306a36Sopenharmony_ci#define CLK_IFR_PWM3			10
16462306a36Sopenharmony_ci#define CLK_IFR_PWM4			11
16562306a36Sopenharmony_ci#define CLK_IFR_PWM5			12
16662306a36Sopenharmony_ci#define CLK_IFR_PWM			13
16762306a36Sopenharmony_ci#define CLK_IFR_UART0			14
16862306a36Sopenharmony_ci#define CLK_IFR_UART1			15
16962306a36Sopenharmony_ci#define CLK_IFR_UART2			16
17062306a36Sopenharmony_ci#define CLK_IFR_DSP_UART		17
17162306a36Sopenharmony_ci#define CLK_IFR_GCE_26M			18
17262306a36Sopenharmony_ci#define CLK_IFR_CQ_DMA_FPC		19
17362306a36Sopenharmony_ci#define CLK_IFR_BTIF			20
17462306a36Sopenharmony_ci#define CLK_IFR_SPI0			21
17562306a36Sopenharmony_ci#define CLK_IFR_MSDC0_HCLK		22
17662306a36Sopenharmony_ci#define CLK_IFR_MSDC2_HCLK		23
17762306a36Sopenharmony_ci#define CLK_IFR_MSDC1_HCLK		24
17862306a36Sopenharmony_ci#define CLK_IFR_DVFSRC			25
17962306a36Sopenharmony_ci#define CLK_IFR_GCPU			26
18062306a36Sopenharmony_ci#define CLK_IFR_TRNG			27
18162306a36Sopenharmony_ci#define CLK_IFR_AUXADC			28
18262306a36Sopenharmony_ci#define CLK_IFR_CPUM			29
18362306a36Sopenharmony_ci#define CLK_IFR_AUXADC_MD		30
18462306a36Sopenharmony_ci#define CLK_IFR_AP_DMA			31
18562306a36Sopenharmony_ci#define CLK_IFR_DEBUGSYS		32
18662306a36Sopenharmony_ci#define CLK_IFR_AUDIO			33
18762306a36Sopenharmony_ci#define CLK_IFR_PWM_FBCLK6		34
18862306a36Sopenharmony_ci#define CLK_IFR_DISP_PWM		35
18962306a36Sopenharmony_ci#define CLK_IFR_AUD_26M_BK		36
19062306a36Sopenharmony_ci#define CLK_IFR_CQ_DMA			37
19162306a36Sopenharmony_ci#define CLK_IFR_MSDC0_SF		38
19262306a36Sopenharmony_ci#define CLK_IFR_MSDC1_SF		39
19362306a36Sopenharmony_ci#define CLK_IFR_MSDC2_SF		40
19462306a36Sopenharmony_ci#define CLK_IFR_AP_MSDC0		41
19562306a36Sopenharmony_ci#define CLK_IFR_MD_MSDC0		42
19662306a36Sopenharmony_ci#define CLK_IFR_MSDC0_SRC		43
19762306a36Sopenharmony_ci#define CLK_IFR_MSDC1_SRC		44
19862306a36Sopenharmony_ci#define CLK_IFR_MSDC2_SRC		45
19962306a36Sopenharmony_ci#define CLK_IFR_PWRAP_TMR		46
20062306a36Sopenharmony_ci#define CLK_IFR_PWRAP_SPI		47
20162306a36Sopenharmony_ci#define CLK_IFR_PWRAP_SYS		48
20262306a36Sopenharmony_ci#define CLK_IFR_MCU_PM_BK		49
20362306a36Sopenharmony_ci#define CLK_IFR_IRRX_26M		50
20462306a36Sopenharmony_ci#define CLK_IFR_IRRX_32K		51
20562306a36Sopenharmony_ci#define CLK_IFR_I2C0_AXI		52
20662306a36Sopenharmony_ci#define CLK_IFR_I2C1_AXI		53
20762306a36Sopenharmony_ci#define CLK_IFR_I2C2_AXI		54
20862306a36Sopenharmony_ci#define CLK_IFR_I2C3_AXI		55
20962306a36Sopenharmony_ci#define CLK_IFR_NIC_AXI			56
21062306a36Sopenharmony_ci#define CLK_IFR_NIC_SLV_AXI		57
21162306a36Sopenharmony_ci#define CLK_IFR_APU_AXI			58
21262306a36Sopenharmony_ci#define CLK_IFR_NFIECC			59
21362306a36Sopenharmony_ci#define CLK_IFR_NFIECC_BK		60
21462306a36Sopenharmony_ci#define CLK_IFR_NFI1X_BK		61
21562306a36Sopenharmony_ci#define CLK_IFR_NFI_BK			62
21662306a36Sopenharmony_ci#define CLK_IFR_MSDC2_AP_BK		63
21762306a36Sopenharmony_ci#define CLK_IFR_MSDC2_MD_BK		64
21862306a36Sopenharmony_ci#define CLK_IFR_MSDC2_BK		65
21962306a36Sopenharmony_ci#define CLK_IFR_SUSB_133_BK		66
22062306a36Sopenharmony_ci#define CLK_IFR_SUSB_66_BK		67
22162306a36Sopenharmony_ci#define CLK_IFR_SSUSB_SYS		68
22262306a36Sopenharmony_ci#define CLK_IFR_SSUSB_REF		69
22362306a36Sopenharmony_ci#define CLK_IFR_SSUSB_XHCI		70
22462306a36Sopenharmony_ci#define CLK_IFR_NR_CLK			71
22562306a36Sopenharmony_ci
22662306a36Sopenharmony_ci/* PERICFG */
22762306a36Sopenharmony_ci#define CLK_PERIAXI			0
22862306a36Sopenharmony_ci#define CLK_PERI_NR_CLK			1
22962306a36Sopenharmony_ci
23062306a36Sopenharmony_ci/* APMIXEDSYS */
23162306a36Sopenharmony_ci#define CLK_APMIXED_ARMPLL		0
23262306a36Sopenharmony_ci#define CLK_APMIXED_MAINPLL		1
23362306a36Sopenharmony_ci#define CLK_APMIXED_UNIVPLL		2
23462306a36Sopenharmony_ci#define CLK_APMIXED_MFGPLL		3
23562306a36Sopenharmony_ci#define CLK_APMIXED_MSDCPLL		4
23662306a36Sopenharmony_ci#define CLK_APMIXED_MMPLL		5
23762306a36Sopenharmony_ci#define CLK_APMIXED_APLL1		6
23862306a36Sopenharmony_ci#define CLK_APMIXED_APLL2		7
23962306a36Sopenharmony_ci#define CLK_APMIXED_LVDSPLL		8
24062306a36Sopenharmony_ci#define CLK_APMIXED_DSPPLL		9
24162306a36Sopenharmony_ci#define CLK_APMIXED_APUPLL		10
24262306a36Sopenharmony_ci#define CLK_APMIXED_UNIV_EN		11
24362306a36Sopenharmony_ci#define CLK_APMIXED_USB20_EN		12
24462306a36Sopenharmony_ci#define CLK_APMIXED_NR_CLK		13
24562306a36Sopenharmony_ci
24662306a36Sopenharmony_ci/* GCE */
24762306a36Sopenharmony_ci#define CLK_GCE_FAXI			0
24862306a36Sopenharmony_ci#define CLK_GCE_NR_CLK			1
24962306a36Sopenharmony_ci
25062306a36Sopenharmony_ci/* AUDIOTOP */
25162306a36Sopenharmony_ci#define CLK_AUD_AFE			0
25262306a36Sopenharmony_ci#define CLK_AUD_I2S			1
25362306a36Sopenharmony_ci#define CLK_AUD_22M			2
25462306a36Sopenharmony_ci#define CLK_AUD_24M			3
25562306a36Sopenharmony_ci#define CLK_AUD_INTDIR			4
25662306a36Sopenharmony_ci#define CLK_AUD_APLL2_TUNER		5
25762306a36Sopenharmony_ci#define CLK_AUD_APLL_TUNER		6
25862306a36Sopenharmony_ci#define CLK_AUD_SPDF			7
25962306a36Sopenharmony_ci#define CLK_AUD_HDMI			8
26062306a36Sopenharmony_ci#define CLK_AUD_HDMI_IN			9
26162306a36Sopenharmony_ci#define CLK_AUD_ADC			10
26262306a36Sopenharmony_ci#define CLK_AUD_DAC			11
26362306a36Sopenharmony_ci#define CLK_AUD_DAC_PREDIS		12
26462306a36Sopenharmony_ci#define CLK_AUD_TML			13
26562306a36Sopenharmony_ci#define CLK_AUD_I2S1_BK			14
26662306a36Sopenharmony_ci#define CLK_AUD_I2S2_BK			15
26762306a36Sopenharmony_ci#define CLK_AUD_I2S3_BK			16
26862306a36Sopenharmony_ci#define CLK_AUD_I2S4_BK			17
26962306a36Sopenharmony_ci#define CLK_AUD_NR_CLK			18
27062306a36Sopenharmony_ci
27162306a36Sopenharmony_ci/* MIPI_CSI0A */
27262306a36Sopenharmony_ci#define CLK_MIPI0A_CSR_CSI_EN_0A	0
27362306a36Sopenharmony_ci#define CLK_MIPI_RX_ANA_CSI0A_NR_CLK	1
27462306a36Sopenharmony_ci
27562306a36Sopenharmony_ci/* MIPI_CSI0B */
27662306a36Sopenharmony_ci#define CLK_MIPI0B_CSR_CSI_EN_0B	0
27762306a36Sopenharmony_ci#define CLK_MIPI_RX_ANA_CSI0B_NR_CLK	1
27862306a36Sopenharmony_ci
27962306a36Sopenharmony_ci/* MIPI_CSI1A */
28062306a36Sopenharmony_ci#define CLK_MIPI1A_CSR_CSI_EN_1A	0
28162306a36Sopenharmony_ci#define CLK_MIPI_RX_ANA_CSI1A_NR_CLK	1
28262306a36Sopenharmony_ci
28362306a36Sopenharmony_ci/* MIPI_CSI1B */
28462306a36Sopenharmony_ci#define CLK_MIPI1B_CSR_CSI_EN_1B	0
28562306a36Sopenharmony_ci#define CLK_MIPI_RX_ANA_CSI1B_NR_CLK	1
28662306a36Sopenharmony_ci
28762306a36Sopenharmony_ci/* MIPI_CSI2A */
28862306a36Sopenharmony_ci#define CLK_MIPI2A_CSR_CSI_EN_2A	0
28962306a36Sopenharmony_ci#define CLK_MIPI_RX_ANA_CSI2A_NR_CLK	1
29062306a36Sopenharmony_ci
29162306a36Sopenharmony_ci/* MIPI_CSI2B */
29262306a36Sopenharmony_ci#define CLK_MIPI2B_CSR_CSI_EN_2B	0
29362306a36Sopenharmony_ci#define CLK_MIPI_RX_ANA_CSI2B_NR_CLK	1
29462306a36Sopenharmony_ci
29562306a36Sopenharmony_ci/* MCUCFG */
29662306a36Sopenharmony_ci#define CLK_MCU_BUS_SEL			0
29762306a36Sopenharmony_ci#define CLK_MCU_NR_CLK			1
29862306a36Sopenharmony_ci
29962306a36Sopenharmony_ci/* MFGCFG */
30062306a36Sopenharmony_ci#define CLK_MFG_BG3D			0
30162306a36Sopenharmony_ci#define CLK_MFG_MBIST_DIAG		1
30262306a36Sopenharmony_ci#define CLK_MFG_NR_CLK			2
30362306a36Sopenharmony_ci
30462306a36Sopenharmony_ci/* MMSYS */
30562306a36Sopenharmony_ci#define CLK_MM_MM_MDP_RDMA0		0
30662306a36Sopenharmony_ci#define CLK_MM_MM_MDP_CCORR0		1
30762306a36Sopenharmony_ci#define CLK_MM_MM_MDP_RSZ0		2
30862306a36Sopenharmony_ci#define CLK_MM_MM_MDP_RSZ1		3
30962306a36Sopenharmony_ci#define CLK_MM_MM_MDP_TDSHP0		4
31062306a36Sopenharmony_ci#define CLK_MM_MM_MDP_WROT0		5
31162306a36Sopenharmony_ci#define CLK_MM_MM_MDP_WDMA0		6
31262306a36Sopenharmony_ci#define CLK_MM_MM_DISP_OVL0		7
31362306a36Sopenharmony_ci#define CLK_MM_MM_DISP_OVL0_2L		8
31462306a36Sopenharmony_ci#define CLK_MM_MM_DISP_RSZ0		9
31562306a36Sopenharmony_ci#define CLK_MM_MM_DISP_RDMA0		10
31662306a36Sopenharmony_ci#define CLK_MM_MM_DISP_WDMA0		11
31762306a36Sopenharmony_ci#define CLK_MM_MM_DISP_COLOR0		12
31862306a36Sopenharmony_ci#define CLK_MM_MM_DISP_CCORR0		13
31962306a36Sopenharmony_ci#define CLK_MM_MM_DISP_AAL0		14
32062306a36Sopenharmony_ci#define CLK_MM_MM_DISP_GAMMA0		15
32162306a36Sopenharmony_ci#define CLK_MM_MM_DISP_DITHER0		16
32262306a36Sopenharmony_ci#define CLK_MM_MM_DSI0			17
32362306a36Sopenharmony_ci#define CLK_MM_MM_DISP_RDMA1		18
32462306a36Sopenharmony_ci#define CLK_MM_MM_MDP_RDMA1		19
32562306a36Sopenharmony_ci#define CLK_MM_DPI0_DPI0		20
32662306a36Sopenharmony_ci#define CLK_MM_MM_FAKE			21
32762306a36Sopenharmony_ci#define CLK_MM_MM_SMI_COMMON		22
32862306a36Sopenharmony_ci#define CLK_MM_MM_SMI_LARB0		23
32962306a36Sopenharmony_ci#define CLK_MM_MM_SMI_COMM0		24
33062306a36Sopenharmony_ci#define CLK_MM_MM_SMI_COMM1		25
33162306a36Sopenharmony_ci#define CLK_MM_MM_CAM_MDP		26
33262306a36Sopenharmony_ci#define CLK_MM_MM_SMI_IMG		27
33362306a36Sopenharmony_ci#define CLK_MM_MM_SMI_CAM		28
33462306a36Sopenharmony_ci#define CLK_MM_IMG_IMG_DL_RELAY		29
33562306a36Sopenharmony_ci#define CLK_MM_IMG_IMG_DL_ASYNC_TOP	30
33662306a36Sopenharmony_ci#define CLK_MM_DSI0_DIG_DSI		31
33762306a36Sopenharmony_ci#define CLK_MM_26M_HRTWT		32
33862306a36Sopenharmony_ci#define CLK_MM_MM_DPI0			33
33962306a36Sopenharmony_ci#define CLK_MM_LVDSTX_PXL		34
34062306a36Sopenharmony_ci#define CLK_MM_LVDSTX_CTS		35
34162306a36Sopenharmony_ci#define CLK_MM_NR_CLK			36
34262306a36Sopenharmony_ci
34362306a36Sopenharmony_ci/* IMGSYS */
34462306a36Sopenharmony_ci#define CLK_CAM_LARB2			0
34562306a36Sopenharmony_ci#define CLK_CAM				1
34662306a36Sopenharmony_ci#define CLK_CAMTG			2
34762306a36Sopenharmony_ci#define CLK_CAM_SENIF			3
34862306a36Sopenharmony_ci#define CLK_CAMSV0			4
34962306a36Sopenharmony_ci#define CLK_CAMSV1			5
35062306a36Sopenharmony_ci#define CLK_CAM_FDVT			6
35162306a36Sopenharmony_ci#define CLK_CAM_WPE			7
35262306a36Sopenharmony_ci#define CLK_CAM_NR_CLK			8
35362306a36Sopenharmony_ci
35462306a36Sopenharmony_ci/* VDECSYS */
35562306a36Sopenharmony_ci#define CLK_VDEC_VDEC			0
35662306a36Sopenharmony_ci#define CLK_VDEC_LARB1			1
35762306a36Sopenharmony_ci#define CLK_VDEC_NR_CLK			2
35862306a36Sopenharmony_ci
35962306a36Sopenharmony_ci/* VENCSYS */
36062306a36Sopenharmony_ci#define CLK_VENC			0
36162306a36Sopenharmony_ci#define CLK_VENC_JPGENC			1
36262306a36Sopenharmony_ci#define CLK_VENC_NR_CLK			2
36362306a36Sopenharmony_ci
36462306a36Sopenharmony_ci/* APUSYS */
36562306a36Sopenharmony_ci#define CLK_APU_IPU_CK			0
36662306a36Sopenharmony_ci#define CLK_APU_AXI			1
36762306a36Sopenharmony_ci#define CLK_APU_JTAG			2
36862306a36Sopenharmony_ci#define CLK_APU_IF_CK			3
36962306a36Sopenharmony_ci#define CLK_APU_EDMA			4
37062306a36Sopenharmony_ci#define CLK_APU_AHB			5
37162306a36Sopenharmony_ci#define CLK_APU_NR_CLK			6
37262306a36Sopenharmony_ci
37362306a36Sopenharmony_ci#endif /* _DT_BINDINGS_CLK_MT8365_H */
374