[top] Add retention ram
- connected to xbar_peri right now, but should be a different path
in the future
Signed-off-by: Timothy Chen <timothytim@google.com>
diff --git a/hw/top_earlgrey/data/top_earlgrey.hjson b/hw/top_earlgrey/data/top_earlgrey.hjson
index 86c69f1..02ac15f 100644
--- a/hw/top_earlgrey/data/top_earlgrey.hjson
+++ b/hw/top_earlgrey/data/top_earlgrey.hjson
@@ -267,6 +267,14 @@
type: "ram_1p",
base_addr: "0x10000000",
size: "0x10000" },
+
+ { name: "ram_ret",
+ clock_srcs: {clk_i: "io"},
+ clock_group: "infra",
+ reset_connections: {rst_ni: "sys_io"},
+ type: "ram_1p",
+ base_addr: "0x18000000",
+ size: "0x1000" },
{ name: "eflash",
clock_srcs: {clk_i: "main"},
clock_group: "infra",
diff --git a/hw/top_earlgrey/data/xbar_peri.hjson b/hw/top_earlgrey/data/xbar_peri.hjson
index 7294aeb..9ab6308 100644
--- a/hw/top_earlgrey/data/xbar_peri.hjson
+++ b/hw/top_earlgrey/data/xbar_peri.hjson
@@ -59,9 +59,16 @@
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: "false"
- }
+ },
+ { name: "ram_ret",
+ type: "device",
+ clock: "clk_peri_i",
+ reset: "rst_peri_ni",
+ pipeline: "false",
+ },
],
connections: {
- main: ["uart", "gpio", "spi_device", "rv_timer", "usbdev", "pwrmgr", "rstmgr", "clkmgr"],
+ main: ["uart", "gpio", "spi_device", "rv_timer", "usbdev", "pwrmgr", "rstmgr", "clkmgr",
+ "ram_ret"],
},
}