Skip to content

Commit

Permalink
arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2
Browse files Browse the repository at this point in the history
The regulator reg_rst_eth2 should keep the reset signal of the USB ethernet
adapter deasserted anytime. Fix the polarity and mark it as always-on.

Anyway, using the regulator is only a workaround for the missing support of
specifying a reset GPIO for USB devices in a generic way. As we don't
have a solution for this at the moment, at least fix the current
workaround.

Fixes: 8668d8b ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards")
Cc: stable@vger.kernel.org
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
fschrempf authored and Shawn Guo committed Oct 16, 2021
1 parent 256a24e commit 6562d6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
regulator-name = "rst-usb-eth2";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb_eth2>;
gpio = <&gpio3 2 GPIO_ACTIVE_LOW>;
gpio = <&gpio3 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};

reg_vdd_5v: regulator-5v {
Expand Down

0 comments on commit 6562d6e

Please sign in to comment.