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_H3_H_
9 #define _CCU_SUN8I_H3_H_
11 #include <dt-bindings/clock/sun8i-h3-ccu.h>
12 #include <dt-bindings/reset/sun8i-h3-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
21 /* PLL_VIDEO is exported */
26 /* PLL_PERIPH0 exported for PRCM */
28 #define CLK_PLL_PERIPH0_2X 10
29 #define CLK_PLL_GPU 11
30 #define CLK_PLL_PERIPH1 12
33 /* The CPUX clock is exported */
41 /* All the bus gates are exported */
43 /* The first bunch of module clocks are exported */
47 /* All the DRAM gates are exported */
49 /* Some more module clocks are exported */
53 /* And the GPU module clock is exported */
55 #define CLK_NUMBER_H3 (CLK_GPU + 1)
56 #define CLK_NUMBER_H5 (CLK_BUS_SCR1 + 1)
58 #endif /* _CCU_SUN8I_H3_H_ */