2 * Copyright 2016 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #ifndef _CCU_SUN8I_A83T_H_
18 #define _CCU_SUN8I_A83T_H_
20 #include <dt-bindings/clock/sun8i-a83t-ccu.h>
21 #include <dt-bindings/reset/sun8i-a83t-ccu.h>
23 #define CLK_PLL_C0CPUX 0
24 #define CLK_PLL_C1CPUX 1
25 #define CLK_PLL_AUDIO 2
26 #define CLK_PLL_VIDEO0 3
30 /* pll-periph is exported to the PRCM block */
33 #define CLK_PLL_HSIC 8
35 /* pll-de is exported for the display engine */
37 #define CLK_PLL_VIDEO1 10
39 /* The CPUX clocks are exported */
48 /* bus gates exported */
52 /* module and usb clocks exported */
56 /* dram gates and more module clocks exported */
60 /* more module clocks exported */
62 #define CLK_NUMBER (CLK_GPU_HYD + 1)
64 #endif /* _CCU_SUN8I_A83T_H_ */