Skip to contentSkip to conversation

arm: dts: imx8mp-venice-gw7*xx: fix TPM reset

PATCH In review Tim Harvey 2 participants 2 messages Dec 18, 2024 – Dec 23, 2024

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH v2 1/1 arm: dts: imx8mp-venice-gw7*xx: fix TPM reset

With an IMX8MP based SOM the SPI RST is gpio4_9 instead of gpio1_11. Fix this.

---
v2: include additional boards affected by this

---
 arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi | 16 +++++++---------
 arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi | 16 +++++++---------
 arch/arm/dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi | 16 +++++++---------
 3 files changed, 21 insertions(+), 27 deletions(-)
arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi +7 -9
index 216a7a0d8d7c..a291b7abab62 100644
@@ -4,15 +4,6 @@
  */
 #include "imx8mp-venice-gw702x-u-boot.dtsi"
 
-&gpio1 {
-	tpm_rst {
-		gpio-hog;
-		output-high;
-		gpios = <11 GPIO_ACTIVE_HIGH>;
-		line-name = "tpm_rst#";
-	};
-};
-
 &gpio4 {
 	dio_1 {
 		gpio-hog;
@@ -21,6 +12,13 @@
 		line-name = "dio1";
 	};
 
+	tpm_rst {
+		gpio-hog;
+		output-high;
+		gpios = <9 GPIO_ACTIVE_HIGH>;
+		line-name = "tpm_rst#";
+	};
+
 	dio_0 {
 		gpio-hog;
 		input;
arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi +7 -9
index 525316d11892..bdf5370fcdf6 100644
@@ -4,15 +4,6 @@
  */
 #include "imx8mp-venice-gw702x-u-boot.dtsi"
 
-&gpio1 {
-	tpm_rst {
-		gpio-hog;
-		output-high;
-		gpios = <11 GPIO_ACTIVE_HIGH>;
-		line-name = "tpm_rst#";
-	};
-};
-
 &gpio4 {
 	dio_1 {
 		gpio-hog;
@@ -21,6 +12,13 @@
 		line-name = "dio1";
 	};
 
+	tpm_rst {
+		gpio-hog;
+		output-high;
+		gpios = <9 GPIO_ACTIVE_HIGH>;
+		line-name = "tpm_rst#";
+	};
+
 	dio_0 {
 		gpio-hog;
 		input;
arch/arm/dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi +7 -9
index 4d0e9a1e67c5..7e6f66bd9dd9 100644
@@ -10,15 +10,6 @@
 	reset-post-delay-us = <300000>;
 };
 
-&gpio1 {
-	tpm_rst {
-		gpio-hog;
-		output-high;
-		gpios = <11 GPIO_ACTIVE_HIGH>;
-		line-name = "tpm_rst#";
-	};
-};
-
 &gpio4 {
 	dio_1 {
 		gpio-hog;
@@ -27,6 +18,13 @@
 		line-name = "dio1";
 	};
 
+	tpm_rst {
+		gpio-hog;
+		output-high;
+		gpios = <9 GPIO_ACTIVE_HIGH>;
+		line-name = "tpm_rst#";
+	};
+
 	dio_0 {
 		gpio-hog;
 		input;
Signature · 1 line
2.25.1