Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / clk / sunxi-ng / ccu-sun5i.h
blobf06b7a09d69dcedc2ac509f273ee4416c890c5d1
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright 2016 Maxime Ripard
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 */
8 #ifndef _CCU_SUN5I_H_
9 #define _CCU_SUN5I_H_
11 #include <dt-bindings/clock/sun5i-ccu.h>
12 #include <dt-bindings/reset/sun5i-ccu.h>
14 /* The HOSC is exported */
15 #define CLK_PLL_CORE 2
16 #define CLK_PLL_AUDIO_BASE 3
17 #define CLK_PLL_AUDIO 4
18 #define CLK_PLL_AUDIO_2X 5
19 #define CLK_PLL_AUDIO_4X 6
20 #define CLK_PLL_AUDIO_8X 7
21 #define CLK_PLL_VIDEO0 8
23 /* The PLL_VIDEO0_2X is exported for HDMI */
25 #define CLK_PLL_VE 10
26 #define CLK_PLL_DDR_BASE 11
27 #define CLK_PLL_DDR 12
28 #define CLK_PLL_DDR_OTHER 13
29 #define CLK_PLL_PERIPH 14
30 #define CLK_PLL_VIDEO1 15
32 /* The PLL_VIDEO1_2X is exported for HDMI */
33 /* The CPU clock is exported */
35 #define CLK_AXI 18
36 #define CLK_AHB 19
37 #define CLK_APB0 20
38 #define CLK_APB1 21
39 #define CLK_DRAM_AXI 22
41 /* AHB gates are exported */
42 /* APB0 gates are exported */
43 /* APB1 gates are exported */
44 /* Modules clocks are exported */
45 /* USB clocks are exported */
46 /* GPS clock is exported */
47 /* DRAM gates are exported */
48 /* More display modules clocks are exported */
50 #define CLK_TCON_CH1_SCLK 91
52 /* The rest of the module clocks are exported */
54 #define CLK_NUMBER (CLK_IEP + 1)
56 #endif /* _CCU_SUN5I_H_ */