summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZixun LI <admin@hifiphile.com>2025-03-31 18:26:08 +0200
committerEugen Hristev <eugen.hristev@linaro.org>2025-04-18 13:41:19 +0300
commit7128ba2bc8a59d4e2c7ae7dfdb85facd6c3c22c1 (patch)
tree854c2cc18d4e783eb0ddec14b2f72f00ef536c6f
parent8a2cf6307a2ccc09c39dde486b6d9375b78c82c2 (diff)
ARM: dts: sam9x60: Add USB gadget DT node
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>
-rw-r--r--arch/arm/dts/sam9x60.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index 60de9140226..7631dfaa07f 100644
--- a/arch/arm/dts/sam9x60.dtsi
+++ b/arch/arm/dts/sam9x60.dtsi
@@ -70,6 +70,19 @@
#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>;