zephyr/soc/andestech/ae350/soc_v5.h

41 lines
1.4 KiB
C

/*
* Copyright (c) 2021 Andes Technology Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __RISCV_ANDES_V5_SOC_V5_H_
#define __RISCV_ANDES_V5_SOC_V5_H_
/* Control and Status Registers (CSRs) available for Andes V5 SoCs */
#define NDS_MMISC_CTL 0x7D0
#define NDS_MCACHE_CTL 0x7CA
#define NDS_MMSC_CFG 0xFC2
#define NDS_MXSTATUS 0x7C4
#define NDS_UITB 0x800
#define NDS_UCODE 0x801
/* Control and Status Registers (CSRs) available for Andes V5 PMA */
#define NDS_PMACFG0 0xBC0
#define NDS_PMACFG1 0xBC1
#define NDS_PMACFG2 0xBC2
#define NDS_PMACFG3 0xBC3
#define NDS_PMAADDR0 0xBD0
#define NDS_PMAADDR1 0xBD1
#define NDS_PMAADDR2 0xBD2
#define NDS_PMAADDR3 0xBD3
#define NDS_PMAADDR4 0xBD4
#define NDS_PMAADDR5 0xBD5
#define NDS_PMAADDR6 0xBD6
#define NDS_PMAADDR7 0xBD7
#define NDS_PMAADDR8 0xBD8
#define NDS_PMAADDR9 0xBD9
#define NDS_PMAADDR10 0xBDA
#define NDS_PMAADDR11 0xBDB
#define NDS_PMAADDR12 0xBDC
#define NDS_PMAADDR13 0xBDD
#define NDS_PMAADDR14 0xBDE
#define NDS_PMAADDR15 0xBDF
#endif /* __RISCV_ANDES_V5_SOC_V5_H_ */