2018-11-03 02:28:20 +08:00
|
|
|
|
2018-12-01 07:16:00 +08:00
|
|
|
/* PLIC */
|
|
|
|
#define DT_PLIC_MAX_PRIORITY \
|
|
|
|
DT_RISCV_PLIC0_40000000_RISCV_MAX_PRIORITY
|
|
|
|
#define DT_PLIC_PRIO_BASE_ADDR \
|
|
|
|
DT_RISCV_PLIC0_40000000_PRIO_BASE_ADDRESS
|
|
|
|
#define DT_PLIC_IRQ_EN_BASE_ADDR \
|
|
|
|
DT_RISCV_PLIC0_40000000_IRQ_EN_BASE_ADDRESS
|
|
|
|
#define DT_PLIC_REG_BASE_ADDR \
|
|
|
|
DT_RISCV_PLIC0_40000000_REG_BASE_ADDRESS
|
|
|
|
|
2018-11-03 02:28:20 +08:00
|
|
|
/* UART 0 */
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_MIV_UART_0_BASE_ADDR DT_MICROSEMI_COREUART_70001000_BASE_ADDRESS
|
|
|
|
#define DT_MIV_UART_0_CLOCK_FREQUENCY DT_MICROSEMI_COREUART_70001000_CLOCK_FREQUENCY
|
|
|
|
#define DT_MIV_UART_0_BAUD_RATE DT_MICROSEMI_COREUART_70001000_CURRENT_SPEED
|
|
|
|
#define DT_MIV_UART_0_NAME DT_MICROSEMI_COREUART_70001000_LABEL
|
2018-11-03 02:28:20 +08:00
|
|
|
|