[U-Boot] [PATCH 05/13] board: ge: ppd: Enable CONFIG_DM
Ian Ray
ian.ray at ge.com
Thu Jan 31 14:21:15 UTC 2019
Add simplified, generalised, ppd device tree and enable CONFIG_DM.
Signed-off-by: Ian Ray <ian.ray at ge.com>
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx53-ppd.dts | 14 ++++++++++++++
configs/mx53ppd_defconfig | 4 ++++
3 files changed, 19 insertions(+)
create mode 100644 arch/arm/dts/imx53-ppd.dts
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index a902775..1fd778b 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -583,6 +583,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
mt7629-rfb.dtb
dtb-$(CONFIG_TARGET_GE_BX50V3) += imx6q-bx50v3.dtb
+dtb-$(CONFIG_TARGET_MX53PPD) += imx53-ppd.dtb
targets += $(dtb-y)
diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts
new file mode 100644
index 0000000..98e7dad
--- /dev/null
+++ b/arch/arm/dts/imx53-ppd.dts
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ OR X11 */
+/*
+ * Copyright 2018 General Electric Company
+ * Based on imx53-ppd.dts from kernel 4.20.5.
+ */
+
+/dts-v1/;
+
+#include "imx53.dtsi"
+
+/ {
+ model = "General Electric CS ONE";
+ compatible = "ge,imx53-cpuvo", "fsl,imx53";
+};
diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig
index 77af2ae..7556c0c 100644
--- a/configs/mx53ppd_defconfig
+++ b/configs/mx53ppd_defconfig
@@ -45,3 +45,7 @@ CONFIG_VIDEO=y
# CONFIG_VIDEO_SW_CURSOR is not set
CONFIG_IMX_WATCHDOG=y
CONFIG_OF_LIBFDT=y
+CONFIG_DM=y
+CONFIG_CMD_DM=y
+CONFIG_OF_CONTROL=y
+CONFIG_DEFAULT_DEVICE_TREE="imx53-ppd"
--
2.10.1
More information about the U-Boot
mailing list