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 <thar...@gateworks.com>
---
 arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi 
b/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
index a90794d8108a..95f5f15e742a 100644
--- a/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
@@ -98,6 +98,13 @@
                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 {
@@ -110,11 +117,11 @@
                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 {
-- 
2.25.1

Reply via email to