[U-Boot] MinnowMax GPIO for USB3
Bin Meng
bmeng.cn at gmail.com
Sun Jun 12 10:43:23 CEST 2016
Hi,
My testing shows that only pin_usb_host_en1 is needed to turn on the
power on the USB3 port. The USB2 port power is turned on by default.
Removing the pin_usb_host_en0 from device tree will make both USB2 and
USB3 port work.
diff --git a/arch/x86/dts/minnowmax.dts b/arch/x86/dts/minnowmax.dts
index 1a8a8cc..63f751f 100644
--- a/arch/x86/dts/minnowmax.dts
+++ b/arch/x86/dts/minnowmax.dts
@@ -58,14 +58,6 @@
direction = <PIN_OUTPUT>;
};
- pin_usb_host_en0 at 0 {
- gpio-offset = <0x80 8>;
- pad-offset = <0x260>;
- mode-gpio;
- output-value = <1>;
- direction = <PIN_OUTPUT>;
- };
-
pin_usb_host_en1 at 0 {
gpio-offset = <0x80 9>;
pad-offset = <0x250>;
If we want to keep the pin_usb_host_en0 configuration in the device
tree, then the bug mentioned in [1] will cause the USB3 port does not
work. Only the USB2 port works.
[1] http://lists.denx.de/pipermail/u-boot/2015-October/229469.html
Regards,
Bin
More information about the U-Boot
mailing list