aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2024-03-25 09:27:02 -0700
committerFabio Estevam <festevam@gmail.com>2024-03-30 13:55:28 -0300
commite11fad3e186e66db46276346c50fa5b640e196bf (patch)
treedd1ab1d76d004832cb8247cb1cac96705b50acbd
parentb53005cafc775ba95f88913569219924482ebddd (diff)
downloadu-boot-e11fad3e186e66db46276346c50fa5b640e196bf.zip
u-boot-e11fad3e186e66db46276346c50fa5b640e196bf.tar.gz
u-boot-e11fad3e186e66db46276346c50fa5b640e196bf.tar.bz2
arm: dts: imx8mm-venice-gw7901: add digital I/O direction control GPIO's
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>
-rw-r--r--arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi b/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi
index e68030e..9fa2194 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;