ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02
authorMarek Vasut <marex@denx.de>
Sat, 2 Jan 2021 16:44:47 +0000 (17:44 +0100)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 6 Jan 2021 10:01:31 +0000 (11:01 +0100)
The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0.
Since GPIO_ACTIVE_HIGH is defined as 0, this change only increases the
correctness of the DT.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp15xx-dhcom-drc02.dts

index e8508aa..4948ccd 100644 (file)
@@ -37,7 +37,7 @@
         */
        usb-hub {
                gpio-hog;
-               gpios = <8 GPIO_ACTIVE_HIGH>;
+               gpios = <8 0>;
                output-high;
                line-name = "rs485-rx-en";
        };
@@ -65,7 +65,7 @@
         */
        usb-hub {
                gpio-hog;
-               gpios = <2 GPIO_ACTIVE_HIGH>;
+               gpios = <2 0>;
                output-high;
                line-name = "usb-hub-reset";
        };