1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2016 Maxime Ripard
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
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 */
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 */
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_ */