From: Jan Kiszka <[email protected]>

Signed-off-by: Jan Kiszka <[email protected]>
---
 configs/arm/orangepi0.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/configs/arm/orangepi0.c b/configs/arm/orangepi0.c
index 90b19b7c..c24344e0 100644
--- a/configs/arm/orangepi0.c
+++ b/configs/arm/orangepi0.c
@@ -18,7 +18,7 @@
 struct {
        struct jailhouse_system header;
        __u64 cpus[1];
-       struct jailhouse_memory mem_regions[17];
+       struct jailhouse_memory mem_regions[18];
        struct jailhouse_irqchip irqchips[1];
        struct jailhouse_pci_device pci_devices[2];
 } __attribute__((packed)) config = {
@@ -142,6 +142,13 @@ struct {
                        .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
                                JAILHOUSE_MEM_IO,
                },
+               /* RTC */ {
+                       .phys_start = 0x01f00000,
+                       .virt_start = 0x01f00000,
+                       .size =            0x400,
+                       .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
+                               JAILHOUSE_MEM_IO | JAILHOUSE_MEM_IO_32,
+               },
                /* MMIO 3 (permissive) */ {
                        .phys_start = 0x01f01000,
                        .virt_start = 0x01f01000,
--
2.31.1

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/34bedc55-d7e8-df50-0198-f9458fcf218e%40web.de.

Reply via email to