diff mbox series

arm: dts: imx8mm-venice-gw7901: add digital I/O direction control GPIO's

Message ID 20240325162702.1350537-1-tharvey@gateworks.com
State Accepted
Commit e11fad3e186e66db46276346c50fa5b640e196bf
Delegated to: Fabio Estevam
Headers show
Series arm: dts: imx8mm-venice-gw7901: add digital I/O direction control GPIO's | expand

Commit Message

Tim Harvey March 25, 2024, 4:27 p.m. UTC
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 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Fabio Estevam March 30, 2024, 7:45 p.m. UTC | #1
On Mon, Mar 25, 2024 at 1:27 PM Tim Harvey <tharvey@gateworks.com> wrote:
>
> 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>

Applied to u-boot-imx/next, thanks.
diff mbox series

Patch

diff --git a/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi b/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi
index e68030e7b22c..9fa21942c0c6 100644
--- a/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi
@@ -43,6 +43,20 @@ 
 };
 
 &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;