]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx8mp-venice-gw74xx: add w_disable2 gpio configuration
authorTim Harvey <tharvey@gateworks.com>
Fri, 23 May 2025 17:20:18 +0000 (10:20 -0700)
committerFabio Estevam <festevam@gmail.com>
Fri, 30 May 2025 22:10:56 +0000 (19:10 -0300)
The GW74xx D revision has added a M2SKT_WDIS2# GPIO which routes to the
W_DISABLE2# pin of the M.2 socket.

Add the iomux and a line name for this and rename the existing
m2_wdis# signal to m2_wdis1#.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi

index a90794d8108a3b6a81842cd0226aaed5a01c736a..95f5f15e742a448f392311900f8a0c90d16b96e8 100644 (file)
                gpios = <6 GPIO_ACTIVE_HIGH>;
                line-name = "m2_rst";
        };
+
+       m2_wdis2 {
+               gpio-hog;
+               output-high;
+               gpios = <14 GPIO_ACTIVE_HIGH>;
+               line-name = "m2_wdis2#";
+       };
 };
 
 &gpio4 {
                line-name = "m2_off#";
        };
 
-       m2_wdis {
+       m2_wdis1 {
                gpio-hog;
                output-high;
                gpios = <18 GPIO_ACTIVE_HIGH>;
-               line-name = "m2_wdis#";
+               line-name = "m2_wdis1#";
        };
 
        rs485_en {