Merge tag 'extcon-next-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / drivers / clk / sunxi-ng / ccu-sun8i-a23-a33.h
blob72df69291cc6bb050df5009a1c9d65072ec58ce5
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
27 #define CLK_PLL_MIPI 13
28 #define CLK_PLL_HSIC 14
29 #define CLK_PLL_DE 15
30 #define CLK_PLL_DDR1 16
31 #define CLK_PLL_DDR 17
33 /* The CPUX clock is exported */
35 #define CLK_AXI 19
36 #define CLK_AHB1 20
37 #define CLK_APB1 21
38 #define CLK_APB2 22
40 /* All the bus gates are exported */
42 /* The first part of the mod clocks is exported */
44 #define CLK_DRAM 79
46 /* Some more module clocks are exported */
48 #define CLK_MBUS 95
50 /* And the last module clocks are exported */
52 #define CLK_NUMBER (CLK_ATS + 1)
54 #endif /* _CCU_SUN8I_A23_A33_H_ */