18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright 2016 Chen-Yu Tsai
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Chen-Yu Tsai <wens@csie.org>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _CCU_SUN9I_A80_DE_H_
98c2ecf20Sopenharmony_ci#define _CCU_SUN9I_A80_DE_H_
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#include <dt-bindings/clock/sun9i-a80-de.h>
128c2ecf20Sopenharmony_ci#include <dt-bindings/reset/sun9i-a80-de.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/* Intermediary clock dividers are not exported */
158c2ecf20Sopenharmony_ci#define CLK_FE0_DIV	31
168c2ecf20Sopenharmony_ci#define CLK_FE1_DIV	32
178c2ecf20Sopenharmony_ci#define CLK_FE2_DIV	33
188c2ecf20Sopenharmony_ci#define CLK_BE0_DIV	34
198c2ecf20Sopenharmony_ci#define CLK_BE1_DIV	35
208c2ecf20Sopenharmony_ci#define CLK_BE2_DIV	36
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci#define CLK_NUMBER	(CLK_BE2_DIV + 1)
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif /* _CCU_SUN9I_A80_DE_H_ */
25