Commit 83d41122 authored by Marek Vasut's avatar Marek Vasut Committed by Alexandre Torgue

ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02

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.

Fixes: fde180f0 ("ARM: dts: stm32: Add DHSOM based DRC02 board")
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
parent 10793e55
...@@ -35,7 +35,7 @@ &gpiob { ...@@ -35,7 +35,7 @@ &gpiob {
*/ */
rs485-rx-en-hog { rs485-rx-en-hog {
gpio-hog; gpio-hog;
gpios = <8 GPIO_ACTIVE_HIGH>; gpios = <8 0>;
output-low; output-low;
line-name = "rs485-rx-en"; line-name = "rs485-rx-en";
}; };
...@@ -63,7 +63,7 @@ &gpioi { ...@@ -63,7 +63,7 @@ &gpioi {
*/ */
usb-hub-hog { usb-hub-hog {
gpio-hog; gpio-hog;
gpios = <2 GPIO_ACTIVE_HIGH>; gpios = <2 0>;
output-high; output-high;
line-name = "usb-hub-reset"; line-name = "usb-hub-reset";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment