It is necessary to allow a DomU to issue EEMI power management
operations on TCM nodes when running OpenAMP in a DomU. Introduce the
TCM nodes in xilinx-zynqmp-eemi.c, so that they are allowed to do so
when the TCM regions are assigned to the domU (they are subject to the
usual permissions checks.)
Signed-off-by: Stewart Hildebrand <Stewart.Hildebrand@dornerworks.com>
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
[NODE_PCIE] = { MM_PCIE_ATTRIB },
[NODE_RTC] = { MM_RTC },
+
+ [NODE_TCM_0_A] = { MM_TCM_0_A },
+ [NODE_TCM_0_B] = { MM_TCM_0_B },
+ [NODE_TCM_1_A] = { MM_TCM_1_A },
+ [NODE_TCM_1_B] = { MM_TCM_1_B },
};
/*
#define MM_PMU_GLOBAL 0xffd80000
#define MM_CSU 0xffca0000
+#define MM_TCM_0_A 0xffe00000
+#define MM_TCM_0_B 0xffe20000
+#define MM_TCM_1_A 0xffe90000
+#define MM_TCM_1_B 0xffeb0000
+
/* Selected set of register definitions: */
#define R_CRF_APLL_CTRL 0x20
#define R_CRF_ACPU_CTRL 0x60