mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
51d04bcfb8
The Ingenic JZ4760 and JZ4770 both have an extra DMA core named BDMA dedicated to the NAND and BCH controller, but which can also do memory-to-memory transfers. The JZ4760 additionally has a DMA core named MDMA dedicated to memory-to-memory transfers. The programming manual for the JZ4770 does have a bit for a MDMA clock, but does not seem to have the hardware wired in. Add macros for the MDMA and BDMA clocks to the dt-bindings include files, so that they can be used within Device Tree files. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20211220193319.114974-2-paul@crapouillou.net Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
57 lines
1.5 KiB
C
57 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* This header provides clock numbers for the ingenic,jz4760-cgu DT binding.
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_CLOCK_JZ4760_CGU_H__
|
|
#define __DT_BINDINGS_CLOCK_JZ4760_CGU_H__
|
|
|
|
#define JZ4760_CLK_EXT 0
|
|
#define JZ4760_CLK_OSC32K 1
|
|
#define JZ4760_CLK_PLL0 2
|
|
#define JZ4760_CLK_PLL0_HALF 3
|
|
#define JZ4760_CLK_PLL1 4
|
|
#define JZ4760_CLK_CCLK 5
|
|
#define JZ4760_CLK_HCLK 6
|
|
#define JZ4760_CLK_SCLK 7
|
|
#define JZ4760_CLK_H2CLK 8
|
|
#define JZ4760_CLK_MCLK 9
|
|
#define JZ4760_CLK_PCLK 10
|
|
#define JZ4760_CLK_MMC_MUX 11
|
|
#define JZ4760_CLK_MMC0 12
|
|
#define JZ4760_CLK_MMC1 13
|
|
#define JZ4760_CLK_MMC2 14
|
|
#define JZ4760_CLK_CIM 15
|
|
#define JZ4760_CLK_UHC 16
|
|
#define JZ4760_CLK_GPU 17
|
|
#define JZ4760_CLK_GPS 18
|
|
#define JZ4760_CLK_SSI_MUX 19
|
|
#define JZ4760_CLK_PCM 20
|
|
#define JZ4760_CLK_I2S 21
|
|
#define JZ4760_CLK_OTG 22
|
|
#define JZ4760_CLK_SSI0 23
|
|
#define JZ4760_CLK_SSI1 24
|
|
#define JZ4760_CLK_SSI2 25
|
|
#define JZ4760_CLK_DMA 26
|
|
#define JZ4760_CLK_I2C0 27
|
|
#define JZ4760_CLK_I2C1 28
|
|
#define JZ4760_CLK_UART0 29
|
|
#define JZ4760_CLK_UART1 30
|
|
#define JZ4760_CLK_UART2 31
|
|
#define JZ4760_CLK_UART3 32
|
|
#define JZ4760_CLK_IPU 33
|
|
#define JZ4760_CLK_ADC 34
|
|
#define JZ4760_CLK_AIC 35
|
|
#define JZ4760_CLK_VPU 36
|
|
#define JZ4760_CLK_UHC_PHY 37
|
|
#define JZ4760_CLK_OTG_PHY 38
|
|
#define JZ4760_CLK_EXT512 39
|
|
#define JZ4760_CLK_RTC 40
|
|
#define JZ4760_CLK_LPCLK_DIV 41
|
|
#define JZ4760_CLK_TVE 42
|
|
#define JZ4760_CLK_LPCLK 43
|
|
#define JZ4760_CLK_MDMA 44
|
|
#define JZ4760_CLK_BDMA 45
|
|
|
|
#endif /* __DT_BINDINGS_CLOCK_JZ4760_CGU_H__ */
|