xref: /openbmc/linux/drivers/clk/sunxi-ng/ccu-sun50i-h6-r.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1b7c7b050SIcenowy Zheng /* SPDX-License-Identifier: GPL-2.0 */
2b7c7b050SIcenowy Zheng /*
3b7c7b050SIcenowy Zheng  * Copyright 2017 Icenowy Zheng <icenowy@aosc.xyz>
4b7c7b050SIcenowy Zheng  */
5b7c7b050SIcenowy Zheng 
6b7c7b050SIcenowy Zheng #ifndef _CCU_SUN50I_H6_R_H
7b7c7b050SIcenowy Zheng #define _CCU_SUN50I_H6_R_H
8b7c7b050SIcenowy Zheng 
9b7c7b050SIcenowy Zheng #include <dt-bindings/clock/sun50i-h6-r-ccu.h>
10b7c7b050SIcenowy Zheng #include <dt-bindings/reset/sun50i-h6-r-ccu.h>
11b7c7b050SIcenowy Zheng 
12b7c7b050SIcenowy Zheng /* AHB/APB bus clocks are not exported except APB1 for R_PIO */
13b7c7b050SIcenowy Zheng #define CLK_R_AHB	1
14b7c7b050SIcenowy Zheng 
15b7c7b050SIcenowy Zheng #define CLK_R_APB2	3
16b7c7b050SIcenowy Zheng 
17*38d321b6SAndre Przywara #define CLK_NUMBER	(CLK_R_APB1_RTC + 1)
18b7c7b050SIcenowy Zheng 
19b7c7b050SIcenowy Zheng #endif /* _CCU_SUN50I_H6_R_H */
20