diff options
author | Yinbo Zhu <yinbo.zhu@nxp.com> | 2019-09-09 15:57:52 +0800 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-11-27 14:29:48 -0600 |
commit | 284718e6217f423cfbdd95fdf623581bf9011641 (patch) | |
tree | 30450d77a2b1a3edab87df62aeb6bdda931585fa /arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | |
parent | 841edb98671cfc4d6f010393ac429c78082ec4bd (diff) |
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 <yinbo.zhu@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 4 |
1 files changed, 4 insertions, 0 deletions
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"; |