[PATCH v2 2/3] ARM: dts: sam9x60: Add USB gadget DT node.

Mattijs Korpershoek mkorpershoek at kernel.org
Tue Apr 1 12:10:51 CEST 2025


Hi Zixun,

Thank you for the patch.

On lun., mars 31, 2025 at 18:26, Zixun LI <admin at hifiphile.com> wrote:

> Add the USB gadget DT node for the sam9x60 SoC's.
>
> Signed-off-by: Zixun LI <admin at hifiphile.com>

Nitpick: title (subject) should not finish with a period (.)

This can be fixed up by the maintainer that will apply the patches.

Eugen, This is assigned to me on patchwork:
https://patchwork.ozlabs.org/project/uboot/list/?series=450655

Can I pick up all 3 patches or do you prefer to pick up [2/3] and [3/3] ?

Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>

> ---
>  arch/arm/dts/sam9x60.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
> index 3b684fc63d5..ea2647e5fc9 100644
> --- a/arch/arm/dts/sam9x60.dtsi
> +++ b/arch/arm/dts/sam9x60.dtsi
> @@ -69,6 +69,19 @@
>  		#size-cells = <1>;
>  		ranges;
>  
> +		usb0: gadget at 500000 {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			compatible = "microchip,sam9x60-udc";
> +			reg = <0x500000 0x100000>,
> +				<0xf803c000 0x400>;
> +			clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_CORE 8>;
> +			clock-names = "pclk", "hclk";
> +			assigned-clocks = <&pmc PMC_TYPE_CORE 8>;
> +			assigned-clock-rates = <480000000>;
> +			status = "disabled";
> +		};
> +
>  		usb1: usb at 600000 {
>  			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
>  			reg = <0x00600000 0x100000>;
> -- 
> 2.49.0


More information about the U-Boot mailing list