summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLuo Ji <ji.luo@nxp.com>2018-09-11 16:59:46 +0800
committerLuo Ji <ji.luo@nxp.com>2018-09-12 14:55:20 +0800
commitabe6d873d1f540b4b1e598d8079d3426c1feabd0 (patch)
treed34e290975acf85e404ad54d8efd983337ec1458 /arch
parent13fccde4c694453a3a038c4fb5fdb38cb7327747 (diff)
MA-12664 Refine dts file for android auto
Remove some unnecessary nodes based on default dts file to reduce u-boot boot time, add node '/config/load-environment' and set its value as '0' to tell u-boot not to load environment variables from eMMC. This commit can save about 220ms on imx8qxp and about 270ms on imx8qm.. Test: Boots ok on both imx8qm/imx8qxp. Change-Id: If2010e0a537a6ae322f51c771d2eee723a089e50 Signed-off-by: Luo Ji <ji.luo@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/fsl-imx8qm-mek-auto.dts71
-rw-r--r--arch/arm/dts/fsl-imx8qxp-mek-auto.dts71
2 files changed, 142 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-imx8qm-mek-auto.dts b/arch/arm/dts/fsl-imx8qm-mek-auto.dts
new file mode 100644
index 0000000000..e2ee4a91d7
--- /dev/null
+++ b/arch/arm/dts/fsl-imx8qm-mek-auto.dts
@@ -0,0 +1,71 @@
+/*
+ * 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.
+ */
+
+/dts-v1/;
+
+#include "fsl-imx8qm-mek.dts"
+
+/ {
+ config {
+ load-environment = <0>;
+ };
+};
+
+&gpio2 {
+ status = "disabled";
+};
+
+&gpio4 {
+ status = "disabled";
+};
+
+&gpio5 {
+ status = "disabled";
+};
+
+&usdhc2 {
+ status = "disabled";
+};
+
+&usbotg1 {
+ status = "disabled";
+};
+
+&usb2 {
+ status = "disabled";
+};
+
+&fec1 {
+ status = "disabled";
+};
+
+&fec2 {
+ status = "disabled";
+};
+
+&flexspi0 {
+ status = "disabled";
+};
+
+&i2c1_lvds0 {
+ status = "disabled";
+};
+
+&i2c1_lvds1 {
+ status = "disabled";
+};
+
+&lpspi0 {
+ status = "disabled";
+};
diff --git a/arch/arm/dts/fsl-imx8qxp-mek-auto.dts b/arch/arm/dts/fsl-imx8qxp-mek-auto.dts
new file mode 100644
index 0000000000..ab90312e5a
--- /dev/null
+++ b/arch/arm/dts/fsl-imx8qxp-mek-auto.dts
@@ -0,0 +1,71 @@
+/*
+ * 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-imx8qxp-mek.dts"
+
+/ {
+ config {
+ load-environment = <0>;
+ };
+};
+
+&gpio0 {
+ status = "disabled";
+};
+
+&gpio1 {
+ status = "disabled";
+};
+
+&gpio3 {
+ status = "disabled";
+};
+
+&gpio4 {
+ status = "disabled";
+};
+
+&fec1 {
+ status = "disabled";
+};
+
+&fec2 {
+ status = "disabled";
+};
+
+&flexspi0 {
+ status = "disabled";
+};
+
+&i2c0_mipi_lvds0 {
+ status = "disabled";
+};
+
+&i2c0_mipi_lvds1 {
+ status = "disabled";
+};
+
+&usdhc2 {
+ status = "disabled";
+};
+
+&usbotg1 {
+ status = "disabled";
+};
+
+&usb2 {
+ status = "disabled";
+};