]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ge: bx50v3: Enable CONFIG_DM
authorIan Ray <ian.ray@ge.com>
Thu, 31 Jan 2019 14:21:11 +0000 (16:21 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
Add simplified, generalised, bx50v3 device tree and enable CONFIG_DM.

Signed-off-by: Ian Ray <ian.ray@ge.com>
arch/arm/dts/Makefile
arch/arm/dts/imx6q-bx50v3.dts [new file with mode: 0644]
configs/ge_bx50v3_defconfig

index 82f28b25e20e38276041b8968d49dfb733905ec8..93559a3338b691a40421ab6bc36fa2d85265365d 100644 (file)
@@ -699,6 +699,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
        mt7623n-bananapi-bpi-r2.dtb \
        mt7629-rfb.dtb
 
+dtb-$(CONFIG_TARGET_GE_BX50V3) += imx6q-bx50v3.dtb
+
 targets += $(dtb-y)
 
 # Add any required device tree compiler flags here
diff --git a/arch/arm/dts/imx6q-bx50v3.dts b/arch/arm/dts/imx6q-bx50v3.dts
new file mode 100644 (file)
index 0000000..10b1299
--- /dev/null
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+ OR X11 */
+/*
+ * Copyright 2015 Timesys Corporation.
+ * Copyright 2018 General Electric Company
+ * Based on imx6q-ba16.dtsi and imx6q-bx50v3.dtsi from kernel 4.20.5.
+ */
+
+/dts-v1/;
+
+#include "imx6q.dtsi"
+
+/ {
+       model = "General Electric Bx50v3";
+       compatible = "ge,imx6q-bx50v3", "advantech,imx6q-ba16", "fsl,imx6q";
+};
index 7319919998fd18ac9f159a4ebd4828668d5dc36a..a883f658b9dd39acb08d217436eff107734294f8 100644 (file)
@@ -50,3 +50,7 @@ CONFIG_MXC_SPI=y
 CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
 # CONFIG_EFI_LOADER is not set
+CONFIG_DM=y
+CONFIG_CMD_DM=y
+CONFIG_OF_CONTROL=y
+CONFIG_DEFAULT_DEVICE_TREE="imx6q-bx50v3"