blob: 530c006e0ae9e26f3cc7abe6955b9ade3809220f [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/*
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
26#define CLK_NUMBER (CLK_WB + 1)
27
28#endif /* _CCU_SUN8I_DE2_H_ */