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
16 lines
366 B
C
16 lines
366 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_H_
|
|
#define _CCU_SUN20I_D1_H_
|
|
|
|
#include <dt-bindings/clock/sun20i-d1-ccu.h>
|
|
#include <dt-bindings/reset/sun20i-d1-ccu.h>
|
|
|
|
#define CLK_NUMBER (CLK_FANOUT2 + 1)
|
|
|
|
#endif /* _CCU_SUN20I_D1_H_ */
|