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