arm: dts: imx8mp-venice-gw7*xx: fix TPM reset
authorTim Harvey <tharvey@gateworks.com>
Wed, 18 Dec 2024 21:20:35 +0000 (13:20 -0800)
committerFabio Estevam <festevam@gmail.com>
Mon, 23 Dec 2024 11:09:30 +0000 (08:09 -0300)
With an IMX8MP based SOM the SPI RST is gpio4_9 instead of gpio1_11.
Fix this.

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

index 216a7a0..a291b7a 100644 (file)
@@ -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;
                line-name = "dio1";
        };
 
+       tpm_rst {
+               gpio-hog;
+               output-high;
+               gpios = <9 GPIO_ACTIVE_HIGH>;
+               line-name = "tpm_rst#";
+       };
+
        dio_0 {
                gpio-hog;
                input;
index 525316d..bdf5370 100644 (file)
@@ -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;
                line-name = "dio1";
        };
 
+       tpm_rst {
+               gpio-hog;
+               output-high;
+               gpios = <9 GPIO_ACTIVE_HIGH>;
+               line-name = "tpm_rst#";
+       };
+
        dio_0 {
                gpio-hog;
                input;
index 4d0e9a1..7e6f66b 100644 (file)
        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;
                line-name = "dio1";
        };
 
+       tpm_rst {
+               gpio-hog;
+               output-high;
+               gpios = <9 GPIO_ACTIVE_HIGH>;
+               line-name = "tpm_rst#";
+       };
+
        dio_0 {
                gpio-hog;
                input;