1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2016 Maxime Ripard
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
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
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
30 #define CLK_PLL_DDR1 16
31 #define CLK_PLL_DDR 17
33 /* The CPUX clock is exported */
40 /* All the bus gates are exported */
42 /* The first part of the mod clocks is exported */
46 /* Some more module clocks are exported */
50 /* And the last module clocks are exported */
52 #define CLK_NUMBER (CLK_ATS + 1)
54 #endif /* _CCU_SUN8I_A23_A33_H_ */