guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00

24 lines
565 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 frank@allwinnertech.com
*/
#ifndef _CCU_SUN8IW20_R_H
#define _CCU_SUN8IW20_R_H
#define SUNXI_R_CCU_BASE 0x07010000
#define CLK_R_AHB 0
#define CLK_R_APB0 1
#define CLK_R_APB0_TIMER 2
#define CLK_R_APB0_TWD 3
#define CLK_R_PPU 4
#define CLK_R_APB0_IRRX 5
#define CLK_R_APB0_BUS_IRRX 6
#define CLK_R_AHB_BUS_RTC 7
#define CLK_R_APB0_CPUCFG 8
#define CLK_R_MAX_NO CLK_R_APB0_CPUCFG
#define CLK_R_NUMBER (CLK_R_MAX_NO + 1)
#endif /* _CCU_SUN8IW20_R_H */