summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-06-12 16:18:00 +0800
committerPeng Fan <peng.fan@nxp.com>2020-05-27 15:37:53 +0800
commitde4f81cd40b6516f14f46d97d38681b290538c93 (patch)
tree434a56982088de6ddb8b3f50a6a0570231efc4b7 /arch
parentcc4ca483085c36f8316261053b385a1febde6d34 (diff)
MLK-18577-7 imx8qm: mek: support uboot in vm
We are targeting let uboot loading images from emmc to boot android. Currently only emmc1 is enabled, so other devices are disabled. Also change memory layout according to VM layout. The memory layout needs to be samesize as what you configured in as "memory = "3584"". Add a new dts dedicated for this kind uboot, add a new defconfig to select CONFIG_XEN/CONFIG_XEN_DEBUG_SERIAL, deselect CONFIG_DM_SERIAL, select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices compared with imx8qm_mek_androidauto_defconfig. Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit a4e932cae433b9d2e1cff6a94b12e4abcac45543) (cherry picked from commit a26de6e05563d3e3e6734e0d99e464437aa89db5) (cherry picked from commit 74ac579ee195c4a2f6651ccc0f86efb0eebd889e) (cherry picked from commit 7efc2eca10c9d48da6e01ba6a5df63b6f619d7ab)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/Makefile1
-rw-r--r--arch/arm/dts/fsl-imx8qm-mek-xen.dts76
2 files changed, 77 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 87332b62ea..cd506c2e7a 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -762,6 +762,7 @@ dtb-$(CONFIG_ARCH_IMX8) += \
fsl-imx8qm-mek.dtb \
fsl-imx8qm-ddr4-val.dtb \
fsl-imx8qm-lpddr4-val.dtb \
+ fsl-imx8qm-mek-xen.dtb \
fsl-imx8qm-mek-auto.dtb \
fsl-imx8qm-mek-auto2.dtb \
imx8qm-rom7720-a1.dtb \
diff --git a/arch/arm/dts/fsl-imx8qm-mek-xen.dts b/arch/arm/dts/fsl-imx8qm-mek-xen.dts
new file mode 100644
index 0000000000..7c9703b92f
--- /dev/null
+++ b/arch/arm/dts/fsl-imx8qm-mek-xen.dts
@@ -0,0 +1,76 @@
+/*
+ * Copyright 2018 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.
+ */
+
+/dts-v1/;
+
+#include "fsl-imx8qm-mek.dts"
+
+&usdhc1 {
+ /* Need to be same as iomem for sdhc1 in domu.cfg */
+ reg = <0x1 0x5b010000 0x0 0x10000>;
+};
+
+&usdhc2 {
+ /* Need to be same as iomem for sdhc2 in domu.cfg */
+ reg = <0x1 0x5b020000 0x0 0x10000>;
+ status = "disabled";
+};
+
+&gpio2 {
+ status = "disabled";
+};
+
+&gpio4 {
+ status = "disabled";
+};
+
+&gpio5 {
+ status = "disabled";
+};
+
+&usbotg3 {
+ status = "disabled";
+};
+
+&fec1 {
+ status = "disabled";
+};
+
+&fec2 {
+ status = "disabled";
+};
+
+&flexspi0 {
+ status = "disabled";
+};
+
+&i2c0 {
+ status = "disabled";
+};
+
+&i2c1_lvds0 {
+ status = "disabled";
+};
+
+&i2c1_lvds1 {
+ status = "disabled";
+};
+
+&lpspi0 {
+ status = "disabled";
+};
+
+&lpuart0 {
+ status = "disabled";
+};