[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [RFC PATCH 3/6] hw/char/cadence_uart: add FDT aliases
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-arm] [RFC PATCH 3/6] hw/char/cadence_uart: add FDT aliases |
Date: |
Thu, 4 Jan 2018 11:40:43 -0300 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/char/cadence_uart.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hw/char/cadence_uart.c b/hw/char/cadence_uart.c
index 6143494060..6880827947 100644
--- a/hw/char/cadence_uart.c
+++ b/hw/char/cadence_uart.c
@@ -552,6 +552,13 @@ static void cadence_uart_class_init(ObjectClass *klass,
void *data)
static const TypeInfo cadence_uart_info = {
.name = TYPE_CADENCE_UART,
+ .aliases = (const char * []) {
+ "cdns,uart-r1p8",
+ "xlnx,xuartps", /* Zynq-7xxx SoC */
+ "cdns,uart-r1p12",
+ "xlnx,zynqmp-uart", /* Zynq Ultrascale+ MPSoC */
+ NULL
+ },
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(CadenceUARTState),
.instance_init = cadence_uart_init,
--
2.15.1