summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi
diff options
context:
space:
mode:
authorFrieder Schrempf <frieder.schrempf@kontron.de>2019-11-04 11:54:16 +0000
committerAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2021-01-11 17:42:25 +0000
commitad24781aecc365b1e56f07b817beb77528244642 (patch)
tree940f384dc743c3d200b6ff4009c34631ab860e24 /arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi
parentd56aa09ed0e00ba52dd49c10af8992903d83ad62 (diff)
ARM: dts: imx6ul-kontron-n6x1x-s: Add vbus-supply and overcurrent polarity to usb nodes
To silence the warnings shown by the driver at boot time, we add a fixed regulator for the 5V supply of usbotg2 and specify the polarity of the overcurrent signal for usbotg1. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org> (cherry picked from commit 43584861ce20fd95d31d665b84ac89dc76c4c8bd) Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi
index 93a0f0ca5b84..5725e5fc271b 100644
--- a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi
+++ b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi
@@ -45,6 +45,13 @@
regulator-max-microvolt = <3300000>;
};
+ reg_5v: regulator-5v {
+ compatible = "regulator-fixed";
+ regulator-name = "5v";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ };
+
reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
compatible = "regulator-fixed";
regulator-name = "usb_otg1_vbus";
@@ -187,6 +194,7 @@
srp-disable;
hnp-disable;
adp-disable;
+ over-current-active-low;
vbus-supply = <&reg_usb_otg1_vbus>;
status = "okay";
};
@@ -194,6 +202,7 @@
&usbotg2 {
dr_mode = "host";
disable-over-current;
+ vbus-supply = <&reg_5v>;
status = "okay";
};