Linux 4.18.10
[linux/fpc-iii.git] / drivers / clk / sunxi-ng / ccu-sun8i-de2.h
blob530c006e0ae9e26f3cc7abe6955b9ade3809220f
1 /*
2 * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
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.
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.
15 #ifndef _CCU_SUN8I_DE2_H_
16 #define _CCU_SUN8I_DE2_H_
18 #include <dt-bindings/clock/sun8i-de2.h>
19 #include <dt-bindings/reset/sun8i-de2.h>
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
26 #define CLK_NUMBER (CLK_WB + 1)
28 #endif /* _CCU_SUN8I_DE2_H_ */