xref: /linux/drivers/clk/sunxi-ng/ccu-sun8i-de2.h (revision b77e0ce62d63a761ffb7f7245a215a49f5921c2f)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
4  */
5 
6 #ifndef _CCU_SUN8I_DE2_H_
7 #define _CCU_SUN8I_DE2_H_
8 
9 #include <dt-bindings/clock/sun8i-de2.h>
10 #include <dt-bindings/reset/sun8i-de2.h>
11 
12 /* Intermediary clock dividers are not exported */
13 #define CLK_MIXER0_DIV	3
14 #define CLK_MIXER1_DIV	4
15 #define CLK_WB_DIV	5
16 #define CLK_ROT_DIV	11
17 
18 #define CLK_NUMBER_WITH_ROT	(CLK_ROT_DIV + 1)
19 #define CLK_NUMBER_WITHOUT_ROT	(CLK_WB + 1)
20 
21 #endif /* _CCU_SUN8I_DE2_H_ */
22