]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx8m*-venice-gw72xx: add TPM device
authorTim Harvey <tharvey@gateworks.com>
Mon, 25 Mar 2024 16:27:22 +0000 (09:27 -0700)
committerFabio Estevam <festevam@gmail.com>
Sat, 30 Mar 2024 16:56:59 +0000 (13:56 -0300)
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.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
arch/arm/dts/imx8mm-venice-gw71xx-0x-u-boot.dtsi
arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi

index b3592331c72b006d21d3f8118a1be996e4161aa1..07789c8d8835c6ec317c61e2f44eb6e49c474ab4 100644 (file)
                gpios = <9 GPIO_ACTIVE_HIGH>;
                line-name = "dio1";
        };
+
+       tpm_rst {
+               gpio-hog;
+               output-high;
+               gpios = <11 GPIO_ACTIVE_HIGH>;
+               line-name = "tpm_rst#";
+       };
 };
 
 &gpio4 {
index 5c33f8c9cdcf295166b0045bf4597f356b3a596e..216a7a0d8d7ccad7b95e1f0512790b9e28d577ac 100644 (file)
@@ -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;