diff options
author | Yinbo Zhu <yinbo.zhu@nxp.com> | 2019-10-08 05:56:42 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-10-14 16:18:01 +0300 |
commit | 4bfc53038e1607a661607bd13a2a2ee7c43507fa (patch) | |
tree | 937fcacfa63f91f46f1d37f67c21e12a5e5dfccb /arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | |
parent | c871335217e7c2cf30776ec5a4734ed84582d600 (diff) | |
download | linux-4bfc53038e1607a661607bd13a2a2ee7c43507fa.tar.xz |
arm64: dts: 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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index 1a69221d9a1b..9720a190049f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -184,3 +184,7 @@ &sata { status = "okay"; }; + +&usb1 { + dr_mode = "otg"; +}; |