linux/include/dt-bindings/clock/ingenic,x1000-cgu.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * This header provides clock numbers for the ingenic,x1000-cgu DT binding.
 *
 * They are roughly ordered as:
 *   - external clocks
 *   - PLLs
 *   - muxes/dividers in the order they appear in the x1000 programmers manual
 *   - gates in order of their bit in the CLKGR* registers
 */

#ifndef __DT_BINDINGS_CLOCK_X1000_CGU_H__
#define __DT_BINDINGS_CLOCK_X1000_CGU_H__

#define X1000_CLK_EXCLK
#define X1000_CLK_RTCLK
#define X1000_CLK_APLL
#define X1000_CLK_MPLL
#define X1000_CLK_OTGPHY
#define X1000_CLK_SCLKA
#define X1000_CLK_CPUMUX
#define X1000_CLK_CPU
#define X1000_CLK_L2CACHE
#define X1000_CLK_AHB0
#define X1000_CLK_AHB2PMUX
#define X1000_CLK_AHB2
#define X1000_CLK_PCLK
#define X1000_CLK_DDR
#define X1000_CLK_MAC
#define X1000_CLK_LCD
#define X1000_CLK_MSCMUX
#define X1000_CLK_MSC0
#define X1000_CLK_MSC1
#define X1000_CLK_OTG
#define X1000_CLK_SSIPLL
#define X1000_CLK_SSIPLL_DIV2
#define X1000_CLK_SSIMUX
#define X1000_CLK_EMC
#define X1000_CLK_EFUSE
#define X1000_CLK_SFC
#define X1000_CLK_I2C0
#define X1000_CLK_I2C1
#define X1000_CLK_I2C2
#define X1000_CLK_UART0
#define X1000_CLK_UART1
#define X1000_CLK_UART2
#define X1000_CLK_TCU
#define X1000_CLK_SSI
#define X1000_CLK_OST
#define X1000_CLK_PDMA
#define X1000_CLK_EXCLK_DIV512
#define X1000_CLK_RTC
#define X1000_CLK_AIC
#define X1000_CLK_I2SPLLMUX
#define X1000_CLK_I2SPLL
#define X1000_CLK_I2S

#endif /* __DT_BINDINGS_CLOCK_X1000_CGU_H__ */