ARM: dts: sam9x60: Add USB gadget DT node
authorZixun LI <admin@hifiphile.com>
Mon, 31 Mar 2025 16:26:08 +0000 (18:26 +0200)
committerEugen Hristev <eugen.hristev@linaro.org>
Fri, 18 Apr 2025 10:41:19 +0000 (13:41 +0300)
Add the USB gadget DT node for the sam9x60 SoC's.

Signed-off-by: Zixun LI <admin@hifiphile.com>
Reviewed-by: Eugen Hristev <eugen.hristev@linaro.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
arch/arm/dts/sam9x60.dtsi

index 60de914..7631dfa 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               usb0: gadget@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@600000 {
                        compatible = "atmel,at91rm9200-ohci", "usb-ohci";
                        reg = <0x00600000 0x100000>;