Re: [PATCH 2/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: add USB controller and USB phy support
From: Sandie Cao
Date: Wed Sep 23 2026 - 00:07:37 EST
Hi, Troy:
> From: "Troy Mitchell"<troy.mitchell@xxxxxxxxxxxxxxxxxx>
> Date: Wed, Sep 23, 2026, 10:18
> On Tue, Sep 22, 2026 at 07:04:34PM +0800, Sandie Cao wrote:
> > diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi
> > [...]
> > @@ -441,6 +441,72 @@ soc: soc {
> > [...]
> > + usb3b_u2phy: phy@81500000 {
> > + compatible = "spacemit,k3-usb2-phy";
> > + reg = <0x0 0x81500000 0x0 0x200>;
> > + clocks = <&syscon_apmu CLK_APMU_USB2_BUS>;
> > + #phy-cells = <0>;
> > + status = "disabled";
> > + };
> > [...]
> > + usb3c_u2phy: phy@81800000 {
> > + compatible = "spacemit,k3-usb2-phy";
> > + reg = <0x0 0x81800000 0x0 0x200>;
> > + clocks = <&syscon_apmu CLK_APMU_USB2_BUS>;
> > + #phy-cells = <0>;
> > + status = "disabled";
> > + };
> Should these use CLK_APMU_USB3_PORTB_BUS and CLK_APMU_USB3_PORTC_BUS,
> respectively?
Here is clock for usb2phy. CLK_APMU_USB3_PORTB_BUS is clock for USB3 PORTB. CLK_APMU_USB3_PORTC_BUS is clock for USB3 PORTC.
Please note: usb3d_u2phy also use CLK_APMU_USB2_BUS.
usb3d_u2phy: phy@81b00000 {
compatible = "spacemit,k3-usb2-phy";
reg = <0x0 0x81b00000 0x0 0x200>;
clocks = <&syscon_apmu CLK_APMU_USB2_BUS>;
#phy-cells = <0>;
status = "disabled";
};
Best regards
Sandie
>
> --
> Troy Mitchell
>