MLK-17142 arm64: dts: 8qxp: introduce dom0 dts
authorPeng Fan <peng.fan@nxp.com>
Sat, 9 Dec 2017 10:44:37 +0000 (18:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:51:09 +0000 (14:51 -0500)
Introudce dom0 dts.
disable rtc, we do not have sip handler in xen, also need to modify the
driver to use hvc call.
remove gpu ss reg property to avoid overriding dom0 mapping.
Modify lpuart0 interrupt-parent to use gic, because xen could only
handle gic.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek-dom0.dts [new file with mode: 0644]

index 656e20e..3d87497 100644 (file)
@@ -30,6 +30,7 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb \
                                 fsl-imx8qm-lpddr4-arm2-it6263-rm67191.dtb
 dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \
                                  fsl-imx8qxp-mek.dtb \
+                                 fsl-imx8qxp-mek-dom0.dtb \
                                  fsl-imx8qxp-mek-enet2.dtb \
                                  fsl-imx8qxp-mek-lvds0-it6263.dtb \
                                  fsl-imx8qxp-mek-lvds1-it6263.dtb \
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek-dom0.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek-dom0.dts
new file mode 100644 (file)
index 0000000..88942ca
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#include "fsl-imx8qxp-mek.dts"
+
+
+/ {
+       chosen {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               /delete-property/ bootargs;
+               /delete-property/ stdout-path;
+               module@0 {
+                       bootargs = "earlycon=xen console=hvc0 clk_ignore_unused loglevel=8 root=/dev/mmcblk1p2 rootwait rw video=imxdpufb5:off video=imxdpufb6:off video=imxdpufb7:off";
+                       compatible = "xen,linux-zimage", "xen,multiboot-module";
+                      /* The size will be override by uboot command */
+                       reg = <0x00000000 0x80a00000 0x00000000 0xf93a00>;
+               };
+       };
+};
+
+&lpuart0 {
+       interrupt-parent = <&gic>;
+};
+
+&imx8_gpu_ss {
+       /delete-property/ reg;
+       /delete-property/ reg-names;
+};
+
+&rtc {
+       status = "disabled";
+};