2020-12-09 01:54:43 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Cobham Gaisler AB
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __RISCV_VIRT_SOC_H_
|
|
|
|
#define __RISCV_VIRT_SOC_H_
|
|
|
|
|
|
|
|
#include <soc_common.h>
|
|
|
|
#include <devicetree.h>
|
|
|
|
|
2021-02-03 19:09:17 +08:00
|
|
|
#define SIFIVE_SYSCON_TEST 0x00100000
|
2020-12-09 01:54:43 +08:00
|
|
|
#define RISCV_MTIME_BASE 0x0200BFF8
|
|
|
|
#define RISCV_MTIMECMP_BASE 0x02004000
|
|
|
|
|
|
|
|
#endif
|