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-sun8i-a23-a33.h
blob5bf5c4d13b4cdfea29c17ed1d0c913a408e2fc59
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_SUN8I_A23_A33_H_
9 #define _CCU_SUN8I_A23_A33_H_
11 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
12 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h>
14 #define CLK_PLL_CPUX 0
15 #define CLK_PLL_AUDIO_BASE 1
16 #define CLK_PLL_AUDIO 2
17 #define CLK_PLL_AUDIO_2X 3
18 #define CLK_PLL_AUDIO_4X 4
19 #define CLK_PLL_AUDIO_8X 5
20 #define CLK_PLL_VIDEO 6
21 #define CLK_PLL_VIDEO_2X 7
22 #define CLK_PLL_VE 8
23 #define CLK_PLL_DDR0 9
24 #define CLK_PLL_PERIPH 10
25 #define CLK_PLL_PERIPH_2X 11
26 #define CLK_PLL_GPU 12
28 /* The PLL MIPI clock is exported */
30 #define CLK_PLL_HSIC 14
31 #define CLK_PLL_DE 15
32 #define CLK_PLL_DDR1 16
33 #define CLK_PLL_DDR 17
35 /* The CPUX clock is exported */
37 #define CLK_AXI 19
38 #define CLK_AHB1 20
39 #define CLK_APB1 21
40 #define CLK_APB2 22
42 /* All the bus gates are exported */
44 /* The first part of the mod clocks is exported */
46 #define CLK_DRAM 79
48 /* Some more module clocks are exported */
50 #define CLK_MBUS 95
52 /* And the last module clocks are exported */
54 #define CLK_NUMBER (CLK_ATS + 1)
56 #endif /* _CCU_SUN8I_A23_A33_H_ */