]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: tqma6: change U-Boot device tree fragments
authorMarkus Niebel <Markus.Niebel@ew.tq-group.com>
Mon, 13 Jul 2026 13:01:01 +0000 (15:01 +0200)
committerFabio Estevam <festevam@gmail.com>
Mon, 27 Jul 2026 16:05:07 +0000 (13:05 -0300)
We will need GPIO to distinguish between SOM variants with / without
workaround for ENET errata. This is necessary to implement the
appropriate solution and remove code intended for the non-DM use case.
To support reuse, split them in SOM and baseboard specific parts.

Prepare fragments for use with SPL.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Max Merchel <Max.Merchel@ew.tq-group.com>
arch/arm/dts/imx6dl-mba6a-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/imx6dl-mba6b-u-boot.dtsi
arch/arm/dts/imx6q-mba6a-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/imx6q-mba6b-u-boot.dtsi
arch/arm/dts/imx6qdl-mba6-u-boot.dtsi
arch/arm/dts/imx6qdl-tqma6-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/imx6qdl-tqma6a-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/imx6qdl-tqma6b-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/imx6dl-mba6a-u-boot.dtsi b/arch/arm/dts/imx6dl-mba6a-u-boot.dtsi
new file mode 100644 (file)
index 0000000..d484a5d
--- /dev/null
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+#include "imx6qdl-mba6-u-boot.dtsi"
index bb17ba9b4249dd1cb0d0c2c15174292d0138a6b9..d484a5dda00585b6900dfa5b8cc00129ef8cde94 100644 (file)
@@ -1,3 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
 
 #include "imx6qdl-mba6-u-boot.dtsi"
diff --git a/arch/arm/dts/imx6q-mba6a-u-boot.dtsi b/arch/arm/dts/imx6q-mba6a-u-boot.dtsi
new file mode 100644 (file)
index 0000000..d484a5d
--- /dev/null
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+#include "imx6qdl-mba6-u-boot.dtsi"
index bb17ba9b4249dd1cb0d0c2c15174292d0138a6b9..d484a5dda00585b6900dfa5b8cc00129ef8cde94 100644 (file)
@@ -1,3 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
 
 #include "imx6qdl-mba6-u-boot.dtsi"
index c8c0fc1fba790cba8772056c778146e43f8eb63c..535fd0c5e484653b6ebcd5790371f2ec27a0bddb 100644 (file)
@@ -1,31 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
-
-#include "imx6qdl-u-boot.dtsi"
-
-/ {
-       wdt-reboot {
-               compatible = "wdt-reboot";
-               wdt = <&wdog1>;
-               bootph-pre-ram;
-       };
-};
-
-&aips2 {
-       bootph-all;
-};
-
-&pinctrl_uart2 {
-       bootph-all;
-};
-
-&soc {
-       bootph-all;
-};
-
-&uart2 {
-       bootph-all;
-};
-
-&wdog1 {
-       bootph-pre-ram;
-};
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+#include "imx6qdl-tqma6-u-boot.dtsi"
diff --git a/arch/arm/dts/imx6qdl-tqma6-u-boot.dtsi b/arch/arm/dts/imx6qdl-tqma6-u-boot.dtsi
new file mode 100644 (file)
index 0000000..5b1a655
--- /dev/null
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+/* SOC specific U-Boot DT adjustments */
+
+#include "imx6qdl-u-boot.dtsi"
+
+/ {
+       wdt-reboot {
+               compatible = "wdt-reboot";
+               wdt = <&wdog1>;
+               bootph-pre-ram;
+       };
+};
diff --git a/arch/arm/dts/imx6qdl-tqma6a-u-boot.dtsi b/arch/arm/dts/imx6qdl-tqma6a-u-boot.dtsi
new file mode 100644 (file)
index 0000000..cb3f68e
--- /dev/null
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+/* SOC specific U-Boot DT adjustments */
+
+#include "imx6qdl-tqma6-u-boot.dtsi"
diff --git a/arch/arm/dts/imx6qdl-tqma6b-u-boot.dtsi b/arch/arm/dts/imx6qdl-tqma6b-u-boot.dtsi
new file mode 100644 (file)
index 0000000..cb3f68e
--- /dev/null
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+/* SOC specific U-Boot DT adjustments */
+
+#include "imx6qdl-tqma6-u-boot.dtsi"