linux/drivers/clk/sunxi-ng/ccu-sun50i-h6-r.h
Samuel Holland 0482a4e6de clk: sunxi-ng: h6-r: Add R_APB2_RSB clock and reset
While no information about the H6 RSB controller is included in the
datasheet or manual, the vendor BSP and power management blob both
reference the RSB clock parent and register address. These values were
verified by experimentation.

Since this clock/reset are added late, the specifier is added at the end
to maintain the existing DT binding. The code is kept in register order.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2021-01-06 19:34:29 +08:00

20 lines
428 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright 2017 Icenowy Zheng <icenowy@aosc.xyz>
*/
#ifndef _CCU_SUN50I_H6_R_H
#define _CCU_SUN50I_H6_R_H
#include <dt-bindings/clock/sun50i-h6-r-ccu.h>
#include <dt-bindings/reset/sun50i-h6-r-ccu.h>
/* AHB/APB bus clocks are not exported except APB1 for R_PIO */
#define CLK_R_AHB 1
#define CLK_R_APB2 3
#define CLK_NUMBER (CLK_R_APB2_RSB + 1)
#endif /* _CCU_SUN50I_H6_R_H */