[PATCH v5 0/3] Improve modeling of the Atlantis UART

Portia Stephens posted 3 patches 1 week, 2 days ago
docs/system/riscv/tt_atlantis.rst |  7 ++--
hw/riscv/Kconfig                  |  2 +-
hw/riscv/tt_atlantis.c            | 68 ++++++++++++++++---------------
include/hw/riscv/tt_atlantis.h    | 13 +++++-
4 files changed, 50 insertions(+), 40 deletions(-)
[PATCH v5 0/3] Improve modeling of the Atlantis UART
Posted by Portia Stephens 1 week, 2 days ago
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.

The Ascalon console, uart1, remains on the first command line serial interface. The
other 4 uarts are not added to the command line interface yet. They will be added
as modeling is added that produces output on them.

Changes from v4:
- Rebased to include PRCM changes.
- Dropped uart2 through 4 from device tree, this should of been done in v3 when they
were removed from the command line -serial.

Changes from v3:
- Drop machine property which changes the ordering of the serial devices on the
command line and update documentation with the change.

Changes from v2:
- Fix typo in documentation
- Fix white spacing issue in machine help text

Changes from v1:
- Drop DW8250 fix, to be squashed into original patch which is not applied yet.
- Use qemu_fdt_setprop_string_array for creating compatible string
- Change machine property,console, from string to uint32 and set default value.
- Documentation fixes

Portia Stephens (3):
  hw/riscv/atlantis: Use dw8250 UART model
  hw/riscv/atlantis: Add all UARTs for Atlantis SoC
  docs/atlantis: Update Atlantis UART documentation

 docs/system/riscv/tt_atlantis.rst |  7 ++--
 hw/riscv/Kconfig                  |  2 +-
 hw/riscv/tt_atlantis.c            | 68 ++++++++++++++++---------------
 include/hw/riscv/tt_atlantis.h    | 13 +++++-
 4 files changed, 50 insertions(+), 40 deletions(-)

-- 
2.43.0
Re: [PATCH v5 0/3] Improve modeling of the Atlantis UART
Posted by Alistair Francis 4 days, 23 hours ago
On Thu, 2026-10-15 at 10:28 +1000, Portia Stephens wrote:
> 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.
> 
> The Ascalon console, uart1, remains on the first command line serial
> interface. The
> other 4 uarts are not added to the command line interface yet. They
> will be added
> as modeling is added that produces output on them.
> 
> Changes from v4:
> - Rebased to include PRCM changes.
> - Dropped uart2 through 4 from device tree, this should of been done
> in v3 when they
> were removed from the command line -serial.
> 
> Changes from v3:
> - Drop machine property which changes the ordering of the serial
> devices on the
> command line and update documentation with the change.
> 
> Changes from v2:
> - Fix typo in documentation
> - Fix white spacing issue in machine help text
> 
> Changes from v1:
> - Drop DW8250 fix, to be squashed into original patch which is not
> applied yet.
> - Use qemu_fdt_setprop_string_array for creating compatible string
> - Change machine property,console, from string to uint32 and set
> default value.
> - Documentation fixes
> 
> Portia Stephens (3):
>   hw/riscv/atlantis: Use dw8250 UART model
>   hw/riscv/atlantis: Add all UARTs for Atlantis SoC
>   docs/atlantis: Update Atlantis UART documentation

Thanks!

Applied to riscv-to-apply.next

Alistair

> 
>  docs/system/riscv/tt_atlantis.rst |  7 ++--
>  hw/riscv/Kconfig                  |  2 +-
>  hw/riscv/tt_atlantis.c            | 68 ++++++++++++++++-------------
> --
>  include/hw/riscv/tt_atlantis.h    | 13 +++++-
>  4 files changed, 50 insertions(+), 40 deletions(-)