From bcce411bafb2d368ec8bdce712f926e0e6d821bc Mon Sep 17 00:00:00 2001 From: Ian Ray Date: Thu, 31 Jan 2019 16:21:15 +0200 Subject: [PATCH] board: ge: ppd: Enable CONFIG_DM Add simplified, generalised, ppd device tree and enable CONFIG_DM. Signed-off-by: Ian Ray --- 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 93559a3338..acab1d3450 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -700,6 +700,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 0000000000..98e7dad0ba --- /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 28540719df..04537c591a 100644 --- a/configs/mx53ppd_defconfig +++ b/configs/mx53ppd_defconfig @@ -42,3 +42,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"