1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
6 #ifndef _CCU_SUN8I_DE2_H_
7 #define _CCU_SUN8I_DE2_H_
9 #include <dt-bindings/clock/sun8i-de2.h>
10 #include <dt-bindings/reset/sun8i-de2.h>
12 /* Intermediary clock dividers are not exported */
13 #define CLK_MIXER0_DIV 3
14 #define CLK_MIXER1_DIV 4
16 #define CLK_ROT_DIV 11
18 #define CLK_NUMBER_WITH_ROT (CLK_ROT_DIV + 1)
19 #define CLK_NUMBER_WITHOUT_ROT (CLK_WB + 1)
21 #endif /* _CCU_SUN8I_DE2_H_ */