]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: imx8mm-venice-gw7901: add digital I/O direction control GPIO's
authorTim Harvey <tharvey@gateworks.com>
Mon, 25 Mar 2024 16:27:02 +0000 (09:27 -0700)
committerFabio Estevam <festevam@gmail.com>
Sat, 30 Mar 2024 16:55:28 +0000 (13:55 -0300)
The GW7901 has GPIO's to configure the direction of its isolated
digital I/O signals. Add the GPIO pinmux, line names, and hog
configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi

index e68030e7b22cfad76c4b9d96ea088b9335f4b370..9fa21942c0c60945cc7cedae5fe84d291364a9e0 100644 (file)
 };
 
 &gpio4 {
+       dig1ctl {
+               gpio-hog;
+               output-low;
+               gpios = <4 GPIO_ACTIVE_HIGH>;
+               line-name = "dig1_ctl";
+       };
+
+       dig2ctl {
+               gpio-hog;
+               output-low;
+               gpios = <5 GPIO_ACTIVE_HIGH>;
+               line-name = "dig2_ctl";
+       };
+
        uart3_rs232 {
                gpio-hog;
                output-high;