5ff1d0acdc
Add support for a100 in the sunxi-ng CCU framework. Signed-off-by: Yangtao Li <frank@allwinnertech.com> Acked-by: Rob Herring <robh@kernel.org> Bug: 157278975 Change-Id: I2eb73fd43a25296a611834f2feb767aa89ad0256 Link: https://lore.kernel.org/lkml/1eb41bf6c966a0e54820200650d27a5d4f2ac160.1595572867.git.frank@allwinnertech.com/ Signed-off-by: Frank Lee <frank@allwinnertech.com>
22 lines
447 B
C
22 lines
447 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com>
|
|
*/
|
|
|
|
#ifndef _CCU_SUN50I_A100_R_H
|
|
#define _CCU_SUN50I_A100_R_H
|
|
|
|
#include <dt-bindings/clock/sun50i-a100-r-ccu.h>
|
|
#include <dt-bindings/reset/sun50i-a100-r-ccu.h>
|
|
|
|
#define CLK_R_CPUS 0
|
|
#define CLK_R_AHB 1
|
|
|
|
/* exported except APB1 for R_PIO */
|
|
|
|
#define CLK_R_APB2 3
|
|
|
|
#define CLK_NUMBER (CLK_R_AHB_BUS_RTC + 1)
|
|
|
|
#endif /* _CCU_SUN50I_A100_R_H */
|