1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
6 #ifndef _CCU_SUN50I_H6_H_
7 #define _CCU_SUN50I_H6_H_
9 #include <dt-bindings/clock/sun50i-h6-ccu.h>
10 #include <dt-bindings/reset/sun50i-h6-ccu.h>
13 #define CLK_PLL_CPUX 1
14 #define CLK_PLL_DDR0 2
16 /* PLL_PERIPH0 exported for PRCM */
18 #define CLK_PLL_PERIPH0_2X 4
19 #define CLK_PLL_PERIPH0_4X 5
20 #define CLK_PLL_PERIPH1 6
21 #define CLK_PLL_PERIPH1_2X 7
22 #define CLK_PLL_PERIPH1_4X 8
24 #define CLK_PLL_VIDEO0 10
25 #define CLK_PLL_VIDEO0_4X 11
26 #define CLK_PLL_VIDEO1 12
27 #define CLK_PLL_VIDEO1_4X 13
30 #define CLK_PLL_HSIC 16
31 #define CLK_PLL_AUDIO_BASE 17
32 #define CLK_PLL_AUDIO 18
33 #define CLK_PLL_AUDIO_2X 19
34 #define CLK_PLL_AUDIO_4X 20
36 /* CPUX clock exported for DVFS */
39 #define CLK_CPUX_APB 23
40 #define CLK_PSI_AHB1_AHB2 24
43 /* APB1 clock exported for PIO */
48 /* All module clocks and bus gates are exported except DRAM */
52 #define CLK_BUS_DRAM 60
54 #define CLK_NUMBER (CLK_BUS_HDCP + 1)
56 #endif /* _CCU_SUN50I_H6_H_ */