Message ID | 20250415043311.3385835-13-primoz.fiser@norik.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Update PHYTEC i.MX93 DTS | expand |
On Tue, Apr 15, 2025 at 06:33:08AM +0200, Primoz Fiser wrote: > Add support for both USB controllers. Set first controller in OTG mode > (USB micro-AB connector X8) and the second one in host mode (USB type A > connector X7) by default. > > Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> > --- Reviewed-by: Frank Li <Frank.Li@nxp.com> > Changes in v2: > - reword commit message > > .../boot/dts/freescale/imx93-phyboard-segin.dts | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts > index be9c0a436734..e4f959f665b2 100644 > --- a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts > +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts > @@ -80,6 +80,19 @@ &lpuart1 { > status = "okay"; > }; > > +/* USB */ > +&usbotg1 { > + disable-over-current; > + dr_mode = "otg"; > + status = "okay"; > +}; > + > +&usbotg2 { > + disable-over-current; > + dr_mode = "host"; > + status = "okay"; > +}; > + > /* SD-Card */ > &usdhc2 { > pinctrl-names = "default", "state_100mhz", "state_200mhz"; > -- > 2.34.1 >
diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts index be9c0a436734..e4f959f665b2 100644 --- a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts @@ -80,6 +80,19 @@ &lpuart1 { status = "okay"; }; +/* USB */ +&usbotg1 { + disable-over-current; + dr_mode = "otg"; + status = "okay"; +}; + +&usbotg2 { + disable-over-current; + dr_mode = "host"; + status = "okay"; +}; + /* SD-Card */ &usdhc2 { pinctrl-names = "default", "state_100mhz", "state_200mhz";
Add support for both USB controllers. Set first controller in OTG mode (USB micro-AB connector X8) and the second one in host mode (USB type A connector X7) by default. Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> --- Changes in v2: - reword commit message .../boot/dts/freescale/imx93-phyboard-segin.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)