From: Markus Niebel <[email protected]>

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 <[email protected]>
Signed-off-by: Max Merchel <[email protected]>
---
 arch/arm/dts/imx6dl-mba6a-u-boot.dtsi   |  8 +++++
 arch/arm/dts/imx6dl-mba6b-u-boot.dtsi   |  7 ++++-
 arch/arm/dts/imx6q-mba6a-u-boot.dtsi    |  8 +++++
 arch/arm/dts/imx6q-mba6b-u-boot.dtsi    |  7 ++++-
 arch/arm/dts/imx6qdl-mba6-u-boot.dtsi   | 39 +++++--------------------
 arch/arm/dts/imx6qdl-tqma6-u-boot.dtsi  | 18 ++++++++++++
 arch/arm/dts/imx6qdl-tqma6a-u-boot.dtsi | 10 +++++++
 arch/arm/dts/imx6qdl-tqma6b-u-boot.dtsi | 10 +++++++
 8 files changed, 74 insertions(+), 33 deletions(-)
 create mode 100644 arch/arm/dts/imx6dl-mba6a-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6q-mba6a-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-tqma6-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-tqma6a-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx6qdl-tqma6b-u-boot.dtsi

diff --git a/arch/arm/dts/imx6dl-mba6a-u-boot.dtsi 
b/arch/arm/dts/imx6dl-mba6a-u-boot.dtsi
new file mode 100644
index 00000000000..d484a5dda00
--- /dev/null
+++ b/arch/arm/dts/imx6dl-mba6a-u-boot.dtsi
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <[email protected]>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+#include "imx6qdl-mba6-u-boot.dtsi"
diff --git a/arch/arm/dts/imx6dl-mba6b-u-boot.dtsi 
b/arch/arm/dts/imx6dl-mba6b-u-boot.dtsi
index bb17ba9b424..d484a5dda00 100644
--- a/arch/arm/dts/imx6dl-mba6b-u-boot.dtsi
+++ b/arch/arm/dts/imx6dl-mba6b-u-boot.dtsi
@@ -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 <[email protected]>,
+ * 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
index 00000000000..d484a5dda00
--- /dev/null
+++ b/arch/arm/dts/imx6q-mba6a-u-boot.dtsi
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <[email protected]>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+#include "imx6qdl-mba6-u-boot.dtsi"
diff --git a/arch/arm/dts/imx6q-mba6b-u-boot.dtsi 
b/arch/arm/dts/imx6q-mba6b-u-boot.dtsi
index bb17ba9b424..d484a5dda00 100644
--- a/arch/arm/dts/imx6q-mba6b-u-boot.dtsi
+++ b/arch/arm/dts/imx6q-mba6b-u-boot.dtsi
@@ -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 <[email protected]>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
 
 #include "imx6qdl-mba6-u-boot.dtsi"
diff --git a/arch/arm/dts/imx6qdl-mba6-u-boot.dtsi 
b/arch/arm/dts/imx6qdl-mba6-u-boot.dtsi
index c8c0fc1fba7..535fd0c5e48 100644
--- a/arch/arm/dts/imx6qdl-mba6-u-boot.dtsi
+++ b/arch/arm/dts/imx6qdl-mba6-u-boot.dtsi
@@ -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 <[email protected]>,
+ * 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
index 00000000000..5b1a65583cf
--- /dev/null
+++ b/arch/arm/dts/imx6qdl-tqma6-u-boot.dtsi
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <[email protected]>,
+ * 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
index 00000000000..cb3f68e859b
--- /dev/null
+++ b/arch/arm/dts/imx6qdl-tqma6a-u-boot.dtsi
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <[email protected]>,
+ * 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
index 00000000000..cb3f68e859b
--- /dev/null
+++ b/arch/arm/dts/imx6qdl-tqma6b-u-boot.dtsi
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
+/*
+ * Copyright (c) 2023-2026 TQ-Systems GmbH <[email protected]>,
+ * D-82229 Seefeld, Germany.
+ * Author: Markus Niebel
+ */
+
+/* SOC specific U-Boot DT adjustments */
+
+#include "imx6qdl-tqma6-u-boot.dtsi"
-- 
2.43.0

Reply via email to