]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arch: arm: dts: tqma7x: add boot phase properties
authorAlexander Feilke <alexander.feilke@ew.tq-group.com>
Tue, 7 Apr 2026 13:06:48 +0000 (15:06 +0200)
committerFabio Estevam <festevam@gmail.com>
Tue, 21 Apr 2026 23:49:39 +0000 (20:49 -0300)
Revert this commit once the upstream linux device trees are
synchronized.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Alexander Feilke <alexander.feilke@ew.tq-group.com>
arch/arm/dts/imx7s-mba7-u-boot.dtsi
arch/arm/dts/imx7s-tqma7-u-boot.dtsi [new file with mode: 0644]

index 2ed3f9c47692adba930b60418d0d61c869f55d81..bb560f4d85b2e7f0faa1cf7627219844e5881033 100644 (file)
@@ -7,7 +7,7 @@
  * Author: Steffen Doster
  */
 
-#include "imx7s-u-boot.dtsi"
+#include "imx7s-tqma7-u-boot.dtsi"
 
 / {
        config {
        };
 };
 
+&gpio4 {
+       /* Deassert BOOT_EN after boot to separate BOOT_CFG circuits from LCD signals */
+       boot-en-hog {
+               gpio-hog;
+               gpios = <3 GPIO_ACTIVE_LOW>;
+               output-low;
+       };
+};
+
 &wdog1 {
        u-boot,noautostart;
        timeout-sec = <60>;
 };
+
+&iomuxc {
+       bootph-pre-ram;
+};
+
+&pinctrl_uart6 {
+       bootph-pre-ram;
+};
+
+&uart6 {
+       bootph-pre-ram;
+};
diff --git a/arch/arm/dts/imx7s-tqma7-u-boot.dtsi b/arch/arm/dts/imx7s-tqma7-u-boot.dtsi
new file mode 100644 (file)
index 0000000..2d1d614
--- /dev/null
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Device Tree Source for TQ-Systems TQMa7S module.
+ *
+ * Copyright (C) 2024-2026 TQ-Systems GmbH <u-boot@ew.tq-group.com>,
+ * D-82229 Seefeld, Germany
+ * Author: Steffen Doster
+ */
+
+#include "imx7s-u-boot.dtsi"
+
+&soc {
+       bootph-pre-ram;
+};
+
+&aips1 {
+       bootph-pre-ram;
+};
+
+&aips3 {
+       bootph-pre-ram;
+};