summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-06-13 18:06:40 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:32:20 +0800
commit32cfd38f7dc4f7eb1891fe32c94747754fe3e3c9 (patch)
treef43b5f8a81387acf6085742af5a5c91492048e52 /arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
parentb042bb0ec66e20614865bf2bb4f30834efb078b9 (diff)
MLK-18592-2 ARM64: dts: imx8qm: update dom node
Update dom node with name and reg, the two property will be parsed by xen to create the mapping between domain name and partition id. With the mapping, xen could power off the resources owned by the partition when destroy/reboot/shutdown the domain. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts17
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
index f089b564fd70..9dec28cedd56 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts
@@ -39,8 +39,23 @@
* SC_R_MU_4A
* The rsrcs and pads will be configured by uboot scu_rm cmd
*/
- dom2: dom@2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ doma {
compatible = "xen,domu";
+ /*
+ * The name entry in VM configuration file
+ * needs to be same as here.
+ */
+ domain_name = "DomU";
+ /*
+ * The reg property will be updated by U-Boot to
+ * reflect the partition id.
+ */
+ reg = <0>;
+ init_on_rsrcs = <
+ SC_R_MU_2A
+ >;
rsrcs = <
SC_R_GPU_1_PID0
SC_R_GPU_1_PID1