18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright 2017 Icenowy Zheng <icenowy@aosc.xyz>
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _CCU_SUN50I_H6_R_H
78c2ecf20Sopenharmony_ci#define _CCU_SUN50I_H6_R_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <dt-bindings/clock/sun50i-h6-r-ccu.h>
108c2ecf20Sopenharmony_ci#include <dt-bindings/reset/sun50i-h6-r-ccu.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci/* AHB/APB bus clocks are not exported except APB1 for R_PIO */
138c2ecf20Sopenharmony_ci#define CLK_R_AHB	1
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#define CLK_R_APB2	3
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#define CLK_NUMBER	(CLK_W1 + 1)
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#endif /* _CCU_SUN50I_H6_R_H */
20