From 284718e6217f423cfbdd95fdf623581bf9011641 Mon Sep 17 00:00:00 2001 From: Yinbo Zhu Date: Mon, 9 Sep 2019 15:57:52 +0800 Subject: usb: dwc3: enable otg mode for dwc3 usb ip on layerscape layerscape otg function should be supported HNP SRP and ADP protocol accroing to rm doc, but dwc3 code not realize it and use id pin to detect who is host or device(0 is host 1 is device) this patch is to enable OTG mode on ls1028ardb ls1088ardb and ls1046ardb in dts Signed-off-by: Yinbo Zhu --- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts') diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index 944ea2398778..93d407376f0f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -44,6 +44,10 @@ sd-uhs-sdr12; }; +&usb1 { + dr_mode = "otg"; +}; + &i2c0 { status = "okay"; -- cgit v1.2.3