]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx: Switch to using upstream DT on DH i.MX6 DHCOM
authorMarek Vasut <marex@denx.de>
Tue, 5 Nov 2024 23:06:53 +0000 (00:06 +0100)
committerFabio Estevam <festevam@gmail.com>
Sat, 9 Nov 2024 11:54:35 +0000 (08:54 -0300)
Enable OF_UPSTREAM to use upstream DT and add nxp/imx/ prefix to the
DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/dts/Makefile
arch/arm/dts/imx6dl-dhcom-pdk2.dts [deleted file]
arch/arm/dts/imx6dl-dhcom-picoitx.dts [deleted file]
arch/arm/dts/imx6q-dhcom-pdk2.dts [deleted file]
arch/arm/dts/imx6s-dhcom-drc02.dts [deleted file]
configs/dh_imx6_defconfig

index aeccfa93fc53c6f05a7f5b5885b29353ebbe6728..6ecc7bbdf2565053e6efc8b1a882cf80dc96d5ae 100644 (file)
@@ -778,8 +778,6 @@ dtb-y += \
        imx6dl-cubox-i.dtb \
        imx6dl-cubox-i-emmc-som-v15.dtb \
        imx6dl-cubox-i-som-v15.dtb \
-       imx6dl-dhcom-pdk2.dtb \
-       imx6dl-dhcom-picoitx.dts \
        imx6dl-gw51xx.dtb \
        imx6dl-gw52xx.dtb \
        imx6dl-gw53xx.dtb \
@@ -811,8 +809,7 @@ dtb-y += \
        imx6dl-sabreauto.dtb \
        imx6dl-sabresd.dtb \
        imx6dl-sielaff.dtb \
-       imx6dl-wandboard-revd1.dtb \
-       imx6s-dhcom-drc02.dtb
+       imx6dl-wandboard-revd1.dtb
 
 endif
 
@@ -824,7 +821,6 @@ dtb-y += \
        imx6q-cubox-i.dtb \
        imx6q-cubox-i-emmc-som-v15.dtb \
        imx6q-cubox-i-som-v15.dtb \
-       imx6q-dhcom-pdk2.dtb \
        imx6q-display5.dtb \
        imx6q-gw51xx.dtb \
        imx6q-gw52xx.dtb \
diff --git a/arch/arm/dts/imx6dl-dhcom-pdk2.dts b/arch/arm/dts/imx6dl-dhcom-pdk2.dts
deleted file mode 100644 (file)
index d596874..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+)
-/*
- * Copyright (C) 2019 DH electronics GmbH
- */
-
-/dts-v1/;
-
-#include "imx6dl.dtsi"
-#include "imx6qdl-dhcom-som.dtsi"
-#include "imx6qdl-dhcom-pdk2.dtsi"
-
-/ {
-       model = "Freescale i.MX6 Duallite/Solo DHCOM Premium Developer Kit (2)";
-       compatible = "dh,imx6dl-dhcom-pdk2", "dh,imx6dl-dhcom", "fsl,imx6dl";
-};
diff --git a/arch/arm/dts/imx6dl-dhcom-picoitx.dts b/arch/arm/dts/imx6dl-dhcom-picoitx.dts
deleted file mode 100644 (file)
index 038bb00..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2021 DH electronics GmbH
- *
- * DHCOM iMX6 variant:
- * DHCM-iMX6DL-C0800-R102-F0819-E-SD-RTC-T-HS-I-01D2
- * DHCOM PCB number: 493-300 or newer
- * PicoITX PCB number: 487-600 or newer
- */
-/dts-v1/;
-
-#include "imx6dl.dtsi"
-#include "imx6qdl-dhcom-som.dtsi"
-#include "imx6qdl-dhcom-picoitx.dtsi"
-
-/ {
-       model = "DH electronics i.MX6DL DHCOM on PicoITX";
-       compatible = "dh,imx6dl-dhcom-picoitx", "dh,imx6dl-dhcom-som",
-                    "fsl,imx6dl";
-};
diff --git a/arch/arm/dts/imx6q-dhcom-pdk2.dts b/arch/arm/dts/imx6q-dhcom-pdk2.dts
deleted file mode 100644 (file)
index d4d5737..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2015-2021 DH electronics GmbH
- * Copyright (C) 2018 Marek Vasut <marex@denx.de>
- *
- * DHCOM iMX6 variant:
- * DHCM-iMX6Q-C0800-R102-F0819-E-SD-RTC-T-HS-I-01D2
- * DHCOM PCB number: 493-300 or newer
- * PDK2 PCB number: 516-400 or newer
- */
-/dts-v1/;
-
-#include "imx6q.dtsi"
-#include "imx6qdl-dhcom-som.dtsi"
-#include "imx6qdl-dhcom-pdk2.dtsi"
-
-/ {
-       model = "DH electronics i.MX6Q DHCOM on Premium Developer Kit (2)";
-       compatible = "dh,imx6q-dhcom-pdk2", "dh,imx6q-dhcom-som",
-                    "fsl,imx6q";
-};
-
-&sata {
-       status = "okay";
-};
diff --git a/arch/arm/dts/imx6s-dhcom-drc02.dts b/arch/arm/dts/imx6s-dhcom-drc02.dts
deleted file mode 100644 (file)
index 4077b60..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2021 DH electronics GmbH
- *
- * DHCOM iMX6 variant:
- * DHCM-iMX6S-C0800-R102-F0409-E-CAN2-RTC-I-01D2
- * DHCOM PCB number: 493-400 or newer
- * DRC02 PCB number: 568-100 or newer
- */
-/dts-v1/;
-
-/*
- * The kernel only distinguishes between i.MX6 Quad and DualLite,
- * but the Solo is actually a DualLite with only one CPU. So use
- * DualLite for the Solo and disable one CPU node.
- */
-
-#include "imx6dl.dtsi"
-#include "imx6qdl-dhcom-som.dtsi"
-#include "imx6qdl-dhcom-drc02.dtsi"
-
-/ {
-       model = "DH electronics i.MX6S DHCOM on DRC02";
-       compatible = "dh,imx6s-dhcom-drc02", "dh,imx6s-dhcom-som",
-                    "fsl,imx6dl";
-
-       cpus {
-               /delete-node/ cpu@1;
-       };
-};
index 468ec3805f60216ab8b4e75be8bc0ddb56381d5a..43ac5a567ba4896412c6930aa0f114b75e171818 100644 (file)
@@ -5,11 +5,12 @@ CONFIG_ARCH_MX6=y
 CONFIG_MX6QDL=y
 CONFIG_TARGET_DHCOMIMX6=y
 CONFIG_SPL_SYS_L2_PL310=y
-CONFIG_DEFAULT_DEVICE_TREE="imx6q-dhcom-pdk2"
+CONFIG_DEFAULT_DEVICE_TREE="nxp/imx/imx6q-dhcom-pdk2"
 CONFIG_MX6_DDRCAL=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_OF_LIBFDT_OVERLAY=y
-CONFIG_OF_LIST="imx6q-dhcom-pdk2 imx6dl-dhcom-pdk2 imx6s-dhcom-drc02 imx6dl-dhcom-picoitx"
+CONFIG_OF_LIST="nxp/imx/imx6q-dhcom-pdk2 nxp/imx/imx6dl-dhcom-pdk2 nxp/imx/imx6s-dhcom-drc02 nxp/imx/imx6dl-dhcom-picoitx"
+CONFIG_OF_UPSTREAM=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_MULTI_DTB_FIT=y
 CONFIG_LTO=y