mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
35b97bb941
The D1 SoC contains a CCU and a R_CCU (PRCM CCU). Add support for them. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20211119043545.4010-7-samuel@sholland.org
18 lines
401 B
C
18 lines
401 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2020 frank@allwinnertech.com
|
|
* Copyright (C) 2021 Samuel Holland <samuel@sholland.org>
|
|
*/
|
|
|
|
#ifndef _CCU_SUN20I_D1_R_H
|
|
#define _CCU_SUN20I_D1_R_H
|
|
|
|
#include <dt-bindings/clock/sun20i-d1-r-ccu.h>
|
|
#include <dt-bindings/reset/sun20i-d1-r-ccu.h>
|
|
|
|
#define CLK_R_APB0 1
|
|
|
|
#define CLK_NUMBER (CLK_BUS_R_CPUCFG + 1)
|
|
|
|
#endif /* _CCU_SUN20I_D1_R_H */
|