summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Feilke <[email protected]>2026-04-07 15:06:48 +0200
committerFabio Estevam <[email protected]>2026-04-21 20:49:39 -0300
commit77375425023b141972091e8f2cd56c3b64c0c9df (patch)
tree9a461c9bd8fd90be5b0ece47149161dbc5f20fca
parentae0d13f59d283cc5a94a5f76ecd6127c81d22d4b (diff)
arch: arm: dts: tqma7x: add boot phase properties
Revert this commit once the upstream linux device trees are synchronized. Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
-rw-r--r--arch/arm/dts/imx7s-mba7-u-boot.dtsi23
-rw-r--r--arch/arm/dts/imx7s-tqma7-u-boot.dtsi22
2 files changed, 44 insertions, 1 deletions
diff --git a/arch/arm/dts/imx7s-mba7-u-boot.dtsi b/arch/arm/dts/imx7s-mba7-u-boot.dtsi
index 2ed3f9c4769..bb560f4d85b 100644
--- a/arch/arm/dts/imx7s-mba7-u-boot.dtsi
+++ b/arch/arm/dts/imx7s-mba7-u-boot.dtsi
@@ -7,7 +7,7 @@
* Author: Steffen Doster
*/
-#include "imx7s-u-boot.dtsi"
+#include "imx7s-tqma7-u-boot.dtsi"
/ {
config {
@@ -21,7 +21,28 @@
};
};
+&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
index 00000000000..2d1d614cd57
--- /dev/null
+++ b/arch/arm/dts/imx7s-tqma7-u-boot.dtsi
@@ -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 <[email protected]>,
+ * D-82229 Seefeld, Germany
+ * Author: Steffen Doster
+ */
+
+#include "imx7s-u-boot.dtsi"
+
+&soc {
+ bootph-pre-ram;
+};
+
+&aips1 {
+ bootph-pre-ram;
+};
+
+&aips3 {
+ bootph-pre-ram;
+};