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>
This commit is contained in:
Yinbo Zhu 2019-10-08 10:56:42 +08:00 committed by Shawn Guo
parent c871335217
commit 4bfc53038e
3 changed files with 9 additions and 0 deletions

View File

@ -184,3 +184,7 @@ &sai4 {
&sata {
status = "okay";
};
&usb1 {
dr_mode = "otg";
};

View File

@ -122,6 +122,10 @@ qflash1: flash@1 {
};
};
&usb1 {
dr_mode = "otg";
};
#include "fsl-ls1046-post.dtsi"
&fman0 {

View File

@ -95,5 +95,6 @@ &usb0 {
};
&usb1 {
dr_mode = "otg";
status = "okay";
};