[U-Boot] [PATCH 2/2] ARM: dts: imx6qdl: Add U-Boot specific device tree files for Cubox-i

Walter Lozano walter.lozano at collabora.com
Mon Oct 28 14:00:01 UTC 2019


To make it easier to sync dts files with Linux add specific tweaks
for U-Boot in separate files, specifically allowing SPL to make use
of MMC.

Signed-off-by: Walter Lozano <walter.lozano at collabora.com>
---
 arch/arm/dts/Makefile                  |  2 ++
 arch/arm/dts/imx6dl-cubox-i-u-boot.dts | 20 ++++++++++++++++++++
 arch/arm/dts/imx6q-cubox-i-u-boot.dts  | 20 ++++++++++++++++++++
 3 files changed, 42 insertions(+)
 create mode 100644 arch/arm/dts/imx6dl-cubox-i-u-boot.dts
 create mode 100644 arch/arm/dts/imx6q-cubox-i-u-boot.dts

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index b37673d6aa..dd2ddf6687 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -561,6 +561,7 @@ dtb-$(CONFIG_MX6Q) += \
 
 dtb-$(CONFIG_MX6QDL) += \
 	imx6dl-cubox-i.dtb \
+	imx6dl-cubox-i-u-boot.dtb \
 	imx6dl-dhcom-pdk2.dtb \
 	imx6dl-icore.dtb \
 	imx6dl-icore-mipi.dtb \
@@ -571,6 +572,7 @@ dtb-$(CONFIG_MX6QDL) += \
 	imx6dl-wandboard-revb1.dtb \
 	imx6q-cm-fx6.dtb \
 	imx6q-cubox-i.dtb \
+	imx6q-cubox-i-u-boot.dtb \
 	imx6q-dhcom-pdk2.dtb \
 	imx6q-icore.dtb \
 	imx6q-icore-mipi.dtb \
diff --git a/arch/arm/dts/imx6dl-cubox-i-u-boot.dts b/arch/arm/dts/imx6dl-cubox-i-u-boot.dts
new file mode 100644
index 0000000000..070ac82bc3
--- /dev/null
+++ b/arch/arm/dts/imx6dl-cubox-i-u-boot.dts
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Copyright (C) 2019 Collabora Ltd.
+
+/dts-v1/;
+
+#include "imx6dl-cubox-i.dts"
+#include "imx6qdl-u-boot.dtsi"
+
+&usdhc1 {
+	u-boot,dm-spl;
+};
+
+&usdhc2 {
+	u-boot,dm-spl;
+};
+
+&usdhc3 {
+	u-boot,dm-spl;
+};
diff --git a/arch/arm/dts/imx6q-cubox-i-u-boot.dts b/arch/arm/dts/imx6q-cubox-i-u-boot.dts
new file mode 100644
index 0000000000..45412c6d48
--- /dev/null
+++ b/arch/arm/dts/imx6q-cubox-i-u-boot.dts
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Copyright (C) 2019 Collabora Ltd.
+
+/dts-v1/;
+
+#include "imx6q-cubox-i.dts"
+#include "imx6qdl-u-boot.dtsi"
+
+&usdhc1 {
+	u-boot,dm-spl;
+};
+
+&usdhc2 {
+	u-boot,dm-spl;
+};
+
+&usdhc3 {
+	u-boot,dm-spl;
+};
-- 
2.20.1



More information about the U-Boot mailing list