Most of the basic SoC drivers are copied from the official SERV source code and have only been adapted. This commit also adds device tree files and other definitions to support the Trashernet hardware. A preliminary driver (polling-based) for the Trashernet Ethernet module is also included.
17 lines
334 B
C
17 lines
334 B
C
/*
|
|
* Copyright (c) 2020 Olof Kindgren <olof.kindgren@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __RISCV32_SERVANT_SOC_H_
|
|
#define __RISCV32_SERVANT_SOC_H_
|
|
|
|
#include <soc_common.h>
|
|
|
|
/* Timer configuration */
|
|
#define SERV_TIMER_BASE 0x80000000
|
|
#define SERV_TIMER_IRQ 7
|
|
|
|
#endif /* __RISCV32_SERVANT_SOC_H_ */
|