1 /*
2  * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  */
14 
15 #ifndef _CCU_SUN8I_DE2_H_
16 #define _CCU_SUN8I_DE2_H_
17 
18 #include <dt-bindings/clock/sun8i-de2.h>
19 #include <dt-bindings/reset/sun8i-de2.h>
20 
21 /* Intermediary clock dividers are not exported */
22 #define CLK_MIXER0_DIV	3
23 #define CLK_MIXER1_DIV	4
24 #define CLK_WB_DIV	5
25 #define CLK_ROT_DIV	11
26 
27 #define CLK_NUMBER_WITH_ROT	(CLK_ROT_DIV + 1)
28 #define CLK_NUMBER_WITHOUT_ROT	(CLK_WB + 1)
29 
30 #endif /* _CCU_SUN8I_DE2_H_ */
31