From: Portia Stephens <[email protected]> The Atlantis SoC has a DesignWare UART compatible with DW8250. Previously the Atlantis machine had used the ns16550 UART with an unimplemented memory region backing the DesignWare specific register space. This updates the Atlantis model to use the now modeled DW8250.
It also adds the remaining 4 UARTs that were not originally included in the machine along with a machine property, console. console allows the user to which uart is being used at the console and will be mapped to the first serial interface. Portia Stephens (5): hw/char/dw8250: Fix leak when creating child device hw/riscv/atlantis: Use dw8250 UART model hw/riscv/atlantis: Add all UARTs for Atlantis SoC hw/riscv/atlantis: Add machine property to select default uart docs/atlantis: Update Atlantis UART documentation docs/system/riscv/tt_atlantis.rst | 17 +++- hw/char/dw8250.c | 11 ++- hw/riscv/Kconfig | 2 +- hw/riscv/tt_atlantis.c | 130 ++++++++++++++++++++++-------- include/hw/char/dw8250.h | 3 +- include/hw/riscv/tt_atlantis.h | 14 +++- 6 files changed, 132 insertions(+), 45 deletions(-) -- 2.43.0
