summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlexander Kurz <akurz@blala.de>2018-05-29 09:20:21 +0300
committerShawn Guo <shawnguo@kernel.org>2018-06-17 10:30:44 +0300
commitdcae11de22c9da83755d03f2631d7ddf4db00293 (patch)
tree46895505de1f92fbbd32caa1d0c0990151ad962a /arch
parente732f6d26eeab94a4988a556951bbc015b0c3d16 (diff)
downloadlinux-dcae11de22c9da83755d03f2631d7ddf4db00293.tar.xz
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.dts3
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>;
};
};