Skip to contentSkip to conversation

arm: dts: imx8m*-venice-gw72xx: add TPM device

PATCH In review Tim Harvey 2 participants 2 messages Mar 25, 2024 – Mar 30, 2024

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 arm: dts: imx8m*-venice-gw72xx: add TPM device

The GW71xx baseboard has a TPM that defined in the upstream dt however we need to ensure the GPIO reset line is de-asserted which we do in boot firmware with a gpio hog.

---
 arch/arm/dts/imx8mm-venice-gw71xx-0x-u-boot.dtsi | 7 +++++++
 arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi | 9 +++++++++
 2 files changed, 16 insertions(+)
arch/arm/dts/imx8mm-venice-gw71xx-0x-u-boot.dtsi +7 -0
index b3592331c72b..07789c8d8835 100644
@@ -25,6 +25,13 @@
 		gpios = <9 GPIO_ACTIVE_HIGH>;
 		line-name = "dio1";
 	};
+
+	tpm_rst {
+		gpio-hog;
+		output-high;
+		gpios = <11 GPIO_ACTIVE_HIGH>;
+		line-name = "tpm_rst#";
+	};
 };
 
 &gpio4 {
arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi +9 -0
index 5c33f8c9cdcf..216a7a0d8d7c 100644
@@ -4,6 +4,15 @@
  */
 #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;
Signature · 1 line
2.25.1
reviewer
#1 lore raw
Quoted 6 lines · Tim Harvey

The GW71xx baseboard has a TPM that defined in the upstream dt however we need to ensure the GPIO reset line is de-asserted which we do in boot firmware with a gpio hog.

Applied to u-boot-imx/next, thanks.