mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![Samuel Holland](/assets/img/avatar_default.png)
The D1 has a CCU and a R_CCU (PRCM CCU) like most other sunxi SoCs, with 3 and 4 clock inputs, respectively. Add the compatibles and bindings. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20211119043545.4010-2-samuel@sholland.org
19 lines
456 B
C
19 lines
456 B
C
/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
|
|
/*
|
|
* Copyright (C) 2021 Samuel Holland <samuel@sholland.org>
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_CLK_SUN20I_D1_R_CCU_H_
|
|
#define _DT_BINDINGS_CLK_SUN20I_D1_R_CCU_H_
|
|
|
|
#define CLK_R_AHB 0
|
|
|
|
#define CLK_BUS_R_TIMER 2
|
|
#define CLK_BUS_R_TWD 3
|
|
#define CLK_BUS_R_PPU 4
|
|
#define CLK_R_IR_RX 5
|
|
#define CLK_BUS_R_IR_RX 6
|
|
#define CLK_BUS_R_RTC 7
|
|
#define CLK_BUS_R_CPUCFG 8
|
|
|
|
#endif /* _DT_BINDINGS_CLK_SUN20I_D1_R_CCU_H_ */
|