[PATCH v9 2/3] arm64: dts: imx95: add usb3 related nodes
Xu Yang
xu.yang_2 at nxp.com
Thu Nov 14 03:03:25 PST 2024
On Thu, Nov 14, 2024 at 11:59:23AM +0100, Alexander Stein wrote:
> Hi,
>
> Am Mittwoch, 13. November 2024, 09:07:44 CET schrieb Xu Yang:
> > Add usb3 phy and controller nodes for imx95.
> >
> > Signed-off-by: Xu Yang <xu.yang_2 at nxp.com>
> >
> > ---
> > Changes in v2:
> > - no changes
> > Changes in v3:
> > - no changes
> > Changes in v4:
> > - reorder nodes
> > Changes in v5:
> > - no changes
> > Changes in v6:
> > - rebase to latest
> > Changes in v7:
> > - no changes
> > Changes in v8:
> > - no changes
> > Changes in v9:
> > - no changes
> > ---
> > arch/arm64/boot/dts/freescale/imx95.dtsi | 43 ++++++++++++++++++++++++
> > 1 file changed, 43 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi
> > index 03661e76550f..e3faa8462759 100644
> > --- a/arch/arm64/boot/dts/freescale/imx95.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi
> > @@ -1473,6 +1473,49 @@ smmu: iommu at 490d0000 {
> > };
> > };
> >
> > + usb3: usb at 4c010010 {
> > + compatible = "fsl,imx95-dwc3", "fsl,imx8mp-dwc3";
> > + reg = <0x0 0x4c010010 0x0 0x04>,
> > + <0x0 0x4c1f0000 0x0 0x20>;
> > + clocks = <&scmi_clk IMX95_CLK_HSIO>,
> > + <&scmi_clk IMX95_CLK_32K>;
> > + clock-names = "hsio", "suspend";
> > + interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
> > + #address-cells = <2>;
> > + #size-cells = <2>;
> > + ranges;
> > + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>;
> > + dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>;
> > + status = "disabled";
> > +
> > + usb3_dwc3: usb at 4c100000 {
> > + compatible = "snps,dwc3";
> > + reg = <0x0 0x4c100000 0x0 0x10000>;
> > + clocks = <&scmi_clk IMX95_CLK_HSIO>,
> > + <&scmi_clk IMX95_CLK_24M>,
> > + <&scmi_clk IMX95_CLK_32K>;
> > + clock-names = "bus_early", "ref", "suspend";
> > + interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
> > + phys = <&usb3_phy>, <&usb3_phy>;
> > + phy-names = "usb2-phy", "usb3-phy";
> > + snps,gfladj-refclk-lpm-sel-quirk;
> > + snps,parkmode-disable-ss-quirk;
> > + iommus = <&smmu 0xe>;
> > + };
> > + };
> > +
> > + usb3_phy: phy at 4c1f0040 {
> > + compatible = "fsl,imx95-usb-phy", "fsl,imx8mp-usb-phy";
> > + reg = <0x0 0x4c1f0040 0x0 0x40>,
> > + <0x0 0x4c1fc000 0x0 0x100>;
> > + clocks = <&scmi_clk IMX95_CLK_HSIO>;
> > + clock-names = "phy";
> > + #phy-cells = <0>;
> > + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>;
> > + orientation-switch;
>
> This adds the orientation-switch to all imx95 based boards, which in turn
> requires a port subnode.
> This is incorrect if this USB interface is not connected to a USB Type-C
> connector but an on-board USB hub.
Okay. I'll move it to imx95-19x19-evk.dts file in next version.
BTW, I just send a patch to fix your previous issue. You can test it.
https://lore.kernel.org/imx/20241114102203.4065533-1-xu.yang_2@nxp.com/T/#u
Thanks,
Xu Yang
>
> Best regards,
> Alexander
>
> > + status = "disabled";
> > + };
> > +
> > pcie0: pcie at 4c300000 {
> > compatible = "fsl,imx95-pcie";
> > reg = <0 0x4c300000 0 0x10000>,
> >
>
>
> --
> TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
> Amtsgericht München, HRB 105018
> Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
> http://www.tq-group.com/
>
>
More information about the linux-phy
mailing list