006-v5.8-ARM-dts-imx6qdl-gw552x-add-USB-OTG-support.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From 957743b79b1ebb710f5498b61a212cebc302e685 Mon Sep 17 00:00:00 2001
  2. From: Tim Harvey <[email protected]>
  3. Date: Wed, 29 Apr 2020 08:22:35 -0700
  4. Subject: [PATCH 01/20] ARM: dts: imx6qdl-gw552x: add USB OTG support
  5. The GW552x-B board revision adds USB OTG support.
  6. Enable the device-tree node and configure the OTG_ID pin.
  7. Signed-off-by: Tim Harvey <[email protected]>
  8. Signed-off-by: Shawn Guo <[email protected]>
  9. ---
  10. arch/arm/boot/dts/imx6qdl-gw552x.dtsi | 14 ++++++++++++++
  11. 1 file changed, 14 insertions(+)
  12. --- a/arch/arm/boot/dts/imx6qdl-gw552x.dtsi
  13. +++ b/arch/arm/boot/dts/imx6qdl-gw552x.dtsi
  14. @@ -258,6 +258,14 @@
  15. status = "okay";
  16. };
  17. +&usbotg {
  18. + vbus-supply = <&reg_5p0v>;
  19. + pinctrl-names = "default";
  20. + pinctrl-0 = <&pinctrl_usbotg>;
  21. + disable-over-current;
  22. + status = "okay";
  23. +};
  24. +
  25. &wdog1 {
  26. pinctrl-names = "default";
  27. pinctrl-0 = <&pinctrl_wdog>;
  28. @@ -359,6 +367,12 @@
  29. >;
  30. };
  31. + pinctrl_usbotg: usbotggrp {
  32. + fsl,pins = <
  33. + MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x13059
  34. + >;
  35. + };
  36. +
  37. pinctrl_wdog: wdoggrp {
  38. fsl,pins = <
  39. MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0