diff options
author | Alexander Kurz <akurz@blala.de> | 2018-05-29 08:20:21 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-06-17 09:30:44 +0200 |
commit | dcae11de22c9da83755d03f2631d7ddf4db00293 (patch) | |
tree | 46895505de1f92fbbd32caa1d0c0990151ad962a /arch | |
parent | ARM: dts: imx6qdl-wandboard: enable USB OTG (diff) | |
download | linux-dcae11de22c9da83755d03f2631d7ddf4db00293.tar.xz linux-dcae11de22c9da83755d03f2631d7ddf4db00293.zip |
ARM: dts: imx6dl-riotboard: fix OTG regulator polarity
USB OTG power is switched on when the GPIO is pulled low.
Signed-off-by: Alexander Kurz <akurz@blala.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx6dl-riotboard.dts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts index a6851bfebbdb..89b06e20480d 100644 --- a/arch/arm/boot/dts/imx6dl-riotboard.dts +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts @@ -70,8 +70,7 @@ regulator-name = "usb_otg_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; - enable-active-high; + gpio = <&gpio3 22 GPIO_ACTIVE_LOW>; }; }; |