b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com> |
| 4 | */ |
| 5 | |
| 6 | #ifndef _CCU_SUN50I_A100_R_H |
| 7 | #define _CCU_SUN50I_A100_R_H |
| 8 | |
| 9 | #include <dt-bindings/clock/sun50i-a100-r-ccu.h> |
| 10 | #include <dt-bindings/reset/sun50i-a100-r-ccu.h> |
| 11 | |
| 12 | #define CLK_R_CPUS 0 |
| 13 | #define CLK_R_AHB 1 |
| 14 | |
| 15 | /* exported except APB1 for R_PIO */ |
| 16 | |
| 17 | #define CLK_R_APB2 3 |
| 18 | |
| 19 | #define CLK_NUMBER (CLK_R_AHB_BUS_RTC + 1) |
| 20 | |
| 21 | #endif /* _CCU_SUN50I_A100_R_H */ |