diff options
| author | Bin Meng | 2019-09-06 18:20:12 +0200 |
|---|---|---|
| committer | Palmer Dabbelt | 2019-09-17 17:42:48 +0200 |
| commit | 4b55bc2b5f7ff065da5d2b813ee5153c598d3764 (patch) | |
| tree | 8ed72442f9af80bb4b86e3add122d84f811f3bd3 /include | |
| parent | riscv: sifive_u: Reference PRCI clocks in UART and ethernet nodes (diff) | |
| download | qemu-4b55bc2b5f7ff065da5d2b813ee5153c598d3764.tar.gz qemu-4b55bc2b5f7ff065da5d2b813ee5153c598d3764.tar.xz qemu-4b55bc2b5f7ff065da5d2b813ee5153c598d3764.zip | |
riscv: sifive_u: Update UART base addresses and IRQs
This updates the UART base address and IRQs to match the hardware.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Jonathan Behrens <fintelia@gmail.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Chih-Min Chao <chihmin.chao@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/riscv/sifive_u.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/riscv/sifive_u.h b/include/hw/riscv/sifive_u.h index bb46745356..7dfd1cb22e 100644 --- a/include/hw/riscv/sifive_u.h +++ b/include/hw/riscv/sifive_u.h @@ -65,8 +65,8 @@ enum { }; enum { - SIFIVE_U_UART0_IRQ = 3, - SIFIVE_U_UART1_IRQ = 4, + SIFIVE_U_UART0_IRQ = 4, + SIFIVE_U_UART1_IRQ = 5, SIFIVE_U_GEM_IRQ = 0x35 }; |
