Re: [PATCH 2/2] ARM: dts: qcom: ipq4019: migrate USB to the qcom,snps-dwc3 glue

From: Konrad Dybcio

Date: Wed Sep 02 2026 - 12:21:28 EST


On 8/29/26 9:31 PM, Matt Eaton via B4 Relay wrote:
> From: Matt Eaton <linux@xxxxxxxxxxxxxx>
>
> The legacy qcom,dwc3 glue describes the DWC3 core as a child node and
> populates it with of_platform_populate(). qcom,snps-dwc3 embeds the core
> in the glue device instead, so the two nodes collapse into one and the
> unit address moves to the core base.
>
> The QSCRATCH register block sits at a fixed 0xf8800 from the core base on
> this SoC, which is what dwc3-qcom.c already assumes, so no driver change
> is needed:
>
> usb3: 0x8a00000 + 0xf8800 = 0x8af8800
> usb2: 0x6000000 + 0xf8800 = 0x60f8800
>
> Both match the addresses the wrapper nodes used before.
>
> The usb3_dwc label goes away with the child node, so the ap120c-ac
> override of the SS phy moves up to the parent.
>
> Signed-off-by: Matt Eaton <linux@xxxxxxxxxxxxxx>
> ---

I can also see:

usb2 | usb3
pwr_event | 135 | 131

Konrad