linux/include/dt-bindings/clock/sprd,ums512-clk.h

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
 * Unisoc UMS512 SoC DTS file
 *
 * Copyright (C) 2022, Unisoc Inc.
 */

#ifndef _DT_BINDINGS_CLK_UMS512_H_
#define _DT_BINDINGS_CLK_UMS512_H_

#define CLK_26M_AUD
#define CLK_13M
#define CLK_6M5
#define CLK_4M3
#define CLK_2M
#define CLK_1M
#define CLK_250K
#define CLK_RCO_25M
#define CLK_RCO_4M
#define CLK_RCO_2M
#define CLK_ISPPLL_GATE
#define CLK_DPLL0_GATE
#define CLK_DPLL1_GATE
#define CLK_LPLL_GATE
#define CLK_TWPLL_GATE
#define CLK_GPLL_GATE
#define CLK_RPLL_GATE
#define CLK_CPPLL_GATE
#define CLK_MPLL0_GATE
#define CLK_MPLL1_GATE
#define CLK_MPLL2_GATE
#define CLK_PMU_GATE_NUM

#define CLK_DPLL0
#define CLK_DPLL0_58M31
#define CLK_ANLG_PHY_G0_NUM

#define CLK_MPLL1
#define CLK_MPLL1_63M38
#define CLK_ANLG_PHY_G2_NUM

#define CLK_RPLL
#define CLK_AUDIO_GATE
#define CLK_MPLL0
#define CLK_MPLL0_56M88
#define CLK_MPLL2
#define CLK_MPLL2_47M13
#define CLK_ANLG_PHY_G3_NUM

#define CLK_TWPLL
#define CLK_TWPLL_768M
#define CLK_TWPLL_384M
#define CLK_TWPLL_192M
#define CLK_TWPLL_96M
#define CLK_TWPLL_48M
#define CLK_TWPLL_24M
#define CLK_TWPLL_12M
#define CLK_TWPLL_512M
#define CLK_TWPLL_256M
#define CLK_TWPLL_128M
#define CLK_TWPLL_64M
#define CLK_TWPLL_307M2
#define CLK_TWPLL_219M4
#define CLK_TWPLL_170M6
#define CLK_TWPLL_153M6
#define CLK_TWPLL_76M8
#define CLK_TWPLL_51M2
#define CLK_TWPLL_38M4
#define CLK_TWPLL_19M2
#define CLK_TWPLL_12M29
#define CLK_LPLL
#define CLK_LPLL_614M4
#define CLK_LPLL_409M6
#define CLK_LPLL_245M76
#define CLK_LPLL_30M72
#define CLK_ISPPLL
#define CLK_ISPPLL_468M
#define CLK_ISPPLL_78M
#define CLK_GPLL
#define CLK_GPLL_40M
#define CLK_CPPLL
#define CLK_CPPLL_39M32
#define CLK_ANLG_PHY_GC_NUM

#define CLK_AP_APB
#define CLK_IPI
#define CLK_AP_UART0
#define CLK_AP_UART1
#define CLK_AP_UART2
#define CLK_AP_I2C0
#define CLK_AP_I2C1
#define CLK_AP_I2C2
#define CLK_AP_I2C3
#define CLK_AP_I2C4
#define CLK_AP_SPI0
#define CLK_AP_SPI1
#define CLK_AP_SPI2
#define CLK_AP_SPI3
#define CLK_AP_IIS0
#define CLK_AP_IIS1
#define CLK_AP_IIS2
#define CLK_AP_SIM
#define CLK_AP_CE
#define CLK_SDIO0_2X
#define CLK_SDIO1_2X
#define CLK_EMMC_2X
#define CLK_VSP
#define CLK_DISPC0
#define CLK_DISPC0_DPI
#define CLK_DSI_APB
#define CLK_DSI_RXESC
#define CLK_DSI_LANEBYTE
#define CLK_VDSP
#define CLK_VDSP_M
#define CLK_AP_CLK_NUM

#define CLK_DSI_EB
#define CLK_DISPC_EB
#define CLK_VSP_EB
#define CLK_VDMA_EB
#define CLK_DMA_PUB_EB
#define CLK_DMA_SEC_EB
#define CLK_IPI_EB
#define CLK_AHB_CKG_EB
#define CLK_BM_CLK_EB
#define CLK_AP_AHB_GATE_NUM

#define CLK_AON_APB
#define CLK_ADI
#define CLK_AUX0
#define CLK_AUX1
#define CLK_AUX2
#define CLK_PROBE
#define CLK_PWM0
#define CLK_PWM1
#define CLK_PWM2
#define CLK_PWM3
#define CLK_EFUSE
#define CLK_UART0
#define CLK_UART1
#define CLK_THM0
#define CLK_THM1
#define CLK_THM2
#define CLK_THM3
#define CLK_AON_I2C
#define CLK_AON_IIS
#define CLK_SCC
#define CLK_APCPU_DAP
#define CLK_APCPU_DAP_MTCK
#define CLK_APCPU_TS
#define CLK_DEBUG_TS
#define CLK_DSI_TEST_S
#define CLK_DJTAG_TCK
#define CLK_DJTAG_TCK_HW
#define CLK_AON_TMR
#define CLK_AON_PMU
#define CLK_DEBOUNCE
#define CLK_APCPU_PMU
#define CLK_TOP_DVFS
#define CLK_OTG_UTMI
#define CLK_OTG_REF
#define CLK_CSSYS
#define CLK_CSSYS_PUB
#define CLK_CSSYS_APB
#define CLK_AP_AXI
#define CLK_AP_MM
#define CLK_SDIO2_2X
#define CLK_ANALOG_IO_APB
#define CLK_DMC_REF_CLK
#define CLK_EMC
#define CLK_USB
#define CLK_26M_PMU
#define CLK_AON_APB_NUM

#define CLK_MM_AHB
#define CLK_MM_MTX
#define CLK_SENSOR0
#define CLK_SENSOR1
#define CLK_SENSOR2
#define CLK_CPP
#define CLK_JPG
#define CLK_FD
#define CLK_DCAM_IF
#define CLK_DCAM_AXI
#define CLK_ISP
#define CLK_MIPI_CSI0
#define CLK_MIPI_CSI1
#define CLK_MIPI_CSI2
#define CLK_MM_CLK_NUM

#define CLK_RC100M_CAL_EB
#define CLK_DJTAG_TCK_EB
#define CLK_DJTAG_EB
#define CLK_AUX0_EB
#define CLK_AUX1_EB
#define CLK_AUX2_EB
#define CLK_PROBE_EB
#define CLK_MM_EB
#define CLK_GPU_EB
#define CLK_MSPI_EB
#define CLK_APCPU_DAP_EB
#define CLK_AON_CSSYS_EB
#define CLK_CSSYS_APB_EB
#define CLK_CSSYS_PUB_EB
#define CLK_SDPHY_CFG_EB
#define CLK_SDPHY_REF_EB
#define CLK_EFUSE_EB
#define CLK_GPIO_EB
#define CLK_MBOX_EB
#define CLK_KPD_EB
#define CLK_AON_SYST_EB
#define CLK_AP_SYST_EB
#define CLK_AON_TMR_EB
#define CLK_OTG_UTMI_EB
#define CLK_OTG_PHY_EB
#define CLK_SPLK_EB
#define CLK_PIN_EB
#define CLK_ANA_EB
#define CLK_APCPU_TS0_EB
#define CLK_APB_BUSMON_EB
#define CLK_AON_IIS_EB
#define CLK_SCC_EB
#define CLK_THM0_EB
#define CLK_THM1_EB
#define CLK_THM2_EB
#define CLK_ASIM_TOP_EB
#define CLK_I2C_EB
#define CLK_PMU_EB
#define CLK_ADI_EB
#define CLK_EIC_EB
#define CLK_AP_INTC0_EB
#define CLK_AP_INTC1_EB
#define CLK_AP_INTC2_EB
#define CLK_AP_INTC3_EB
#define CLK_AP_INTC4_EB
#define CLK_AP_INTC5_EB
#define CLK_AUDCP_INTC_EB
#define CLK_AP_TMR0_EB
#define CLK_AP_TMR1_EB
#define CLK_AP_TMR2_EB
#define CLK_PWM0_EB
#define CLK_PWM1_EB
#define CLK_PWM2_EB
#define CLK_PWM3_EB
#define CLK_AP_WDG_EB
#define CLK_APCPU_WDG_EB
#define CLK_SERDES_EB
#define CLK_ARCH_RTC_EB
#define CLK_KPD_RTC_EB
#define CLK_AON_SYST_RTC_EB
#define CLK_AP_SYST_RTC_EB
#define CLK_AON_TMR_RTC_EB
#define CLK_EIC_RTC_EB
#define CLK_EIC_RTCDV5_EB
#define CLK_AP_WDG_RTC_EB
#define CLK_AC_WDG_RTC_EB
#define CLK_AP_TMR0_RTC_EB
#define CLK_AP_TMR1_RTC_EB
#define CLK_AP_TMR2_RTC_EB
#define CLK_DCXO_LC_RTC_EB
#define CLK_BB_CAL_RTC_EB
#define CLK_AP_EMMC_RTC_EB
#define CLK_AP_SDIO0_RTC_EB
#define CLK_AP_SDIO1_RTC_EB
#define CLK_AP_SDIO2_RTC_EB
#define CLK_DSI_CSI_TEST_EB
#define CLK_DJTAG_TCK_EN
#define CLK_DPHY_REF_EB
#define CLK_DMC_REF_EB
#define CLK_OTG_REF_EB
#define CLK_TSEN_EB
#define CLK_TMR_EB
#define CLK_RC100M_REF_EB
#define CLK_RC100M_FDK_EB
#define CLK_DEBOUNCE_EB
#define CLK_DET_32K_EB
#define CLK_TOP_CSSYS_EB
#define CLK_AP_AXI_EN
#define CLK_SDIO0_2X_EN
#define CLK_SDIO0_1X_EN
#define CLK_SDIO1_2X_EN
#define CLK_SDIO1_1X_EN
#define CLK_SDIO2_2X_EN
#define CLK_SDIO2_1X_EN
#define CLK_EMMC_2X_EN
#define CLK_EMMC_1X_EN
#define CLK_PLL_TEST_EN
#define CLK_CPHY_CFG_EN
#define CLK_DEBUG_TS_EN
#define CLK_ACCESS_AUD_EN
#define CLK_AON_APB_GATE_NUM

#define CLK_MM_CPP_EB
#define CLK_MM_JPG_EB
#define CLK_MM_DCAM_EB
#define CLK_MM_ISP_EB
#define CLK_MM_CSI2_EB
#define CLK_MM_CSI1_EB
#define CLK_MM_CSI0_EB
#define CLK_MM_CKG_EB
#define CLK_ISP_AHB_EB
#define CLK_MM_DVFS_EB
#define CLK_MM_FD_EB
#define CLK_MM_SENSOR2_EB
#define CLK_MM_SENSOR1_EB
#define CLK_MM_SENSOR0_EB
#define CLK_MM_MIPI_CSI2_EB
#define CLK_MM_MIPI_CSI1_EB
#define CLK_MM_MIPI_CSI0_EB
#define CLK_DCAM_AXI_EB
#define CLK_ISP_AXI_EB
#define CLK_MM_CPHY_EB
#define CLK_MM_GATE_CLK_NUM

#define CLK_SIM0_EB
#define CLK_IIS0_EB
#define CLK_IIS1_EB
#define CLK_IIS2_EB
#define CLK_APB_REG_EB
#define CLK_SPI0_EB
#define CLK_SPI1_EB
#define CLK_SPI2_EB
#define CLK_SPI3_EB
#define CLK_I2C0_EB
#define CLK_I2C1_EB
#define CLK_I2C2_EB
#define CLK_I2C3_EB
#define CLK_I2C4_EB
#define CLK_UART0_EB
#define CLK_UART1_EB
#define CLK_UART2_EB
#define CLK_SIM0_32K_EB
#define CLK_SPI0_LFIN_EB
#define CLK_SPI1_LFIN_EB
#define CLK_SPI2_LFIN_EB
#define CLK_SPI3_LFIN_EB
#define CLK_SDIO0_EB
#define CLK_SDIO1_EB
#define CLK_SDIO2_EB
#define CLK_EMMC_EB
#define CLK_SDIO0_32K_EB
#define CLK_SDIO1_32K_EB
#define CLK_SDIO2_32K_EB
#define CLK_EMMC_32K_EB
#define CLK_AP_APB_GATE_NUM

#define CLK_GPU_CORE_EB
#define CLK_GPU_CORE
#define CLK_GPU_MEM_EB
#define CLK_GPU_MEM
#define CLK_GPU_SYS_EB
#define CLK_GPU_SYS
#define CLK_GPU_CLK_NUM

#define CLK_AUDCP_IIS0_EB
#define CLK_AUDCP_IIS1_EB
#define CLK_AUDCP_IIS2_EB
#define CLK_AUDCP_UART_EB
#define CLK_AUDCP_DMA_CP_EB
#define CLK_AUDCP_DMA_AP_EB
#define CLK_AUDCP_SRC48K_EB
#define CLK_AUDCP_MCDT_EB
#define CLK_AUDCP_VBCIFD_EB
#define CLK_AUDCP_VBC_EB
#define CLK_AUDCP_SPLK_EB
#define CLK_AUDCP_ICU_EB
#define CLK_AUDCP_DMA_AP_ASHB_EB
#define CLK_AUDCP_DMA_CP_ASHB_EB
#define CLK_AUDCP_AUD_EB
#define CLK_AUDCP_VBC_24M_EB
#define CLK_AUDCP_TMR_26M_EB
#define CLK_AUDCP_DVFS_ASHB_EB
#define CLK_AUDCP_AHB_GATE_NUM

#define CLK_AUDCP_WDG_EB
#define CLK_AUDCP_RTC_WDG_EB
#define CLK_AUDCP_TMR0_EB
#define CLK_AUDCP_TMR1_EB
#define CLK_AUDCP_APB_GATE_NUM

#define CLK_ACORE0
#define CLK_ACORE1
#define CLK_ACORE2
#define CLK_ACORE3
#define CLK_ACORE4
#define CLK_ACORE5
#define CLK_PCORE0
#define CLK_PCORE1
#define CLK_SCU
#define CLK_ACE
#define CLK_PERIPH
#define CLK_GIC
#define CLK_ATB
#define CLK_DEBUG_APB
#define CLK_APCPU_SEC_NUM

#endif /* _DT_BINDINGS_CLK_UMS512_H_ */