From f59cd0170e7c89d80134548f3a5fd1c67cb7158c Mon Sep 17 00:00:00 2001 From: Gerson Fernando Budke Date: Sat, 14 Dec 2024 14:45:06 +0100 Subject: [PATCH] dts: atmel: saml2x: Define USB node The saml2x series provide USB to all SoC series. This moves the USB node from saml21.dtsi to the base file saml2x.dtsi. Signed-off-by: Gerson Fernando Budke (cherry picked from commit 34fc01e0089620e340a1bc9cc9f76795f87acd01) --- dts/arm/atmel/saml21.dtsi | 9 --------- dts/arm/atmel/saml2x.dtsi | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/dts/arm/atmel/saml21.dtsi b/dts/arm/atmel/saml21.dtsi index e6e11dc75d6..6e015b5772c 100644 --- a/dts/arm/atmel/saml21.dtsi +++ b/dts/arm/atmel/saml21.dtsi @@ -15,15 +15,6 @@ }; soc { - usb0: usb@41000000 { - compatible = "atmel,sam0-usb"; - reg = <0x41000000 0x1000>; - interrupts = <6 0>; - status = "disabled"; - - num-bidir-endpoints = <8>; - }; - tcc0: tcc@42001400 { compatible = "atmel,sam0-tcc"; reg = <0x42001400 0x80>; diff --git a/dts/arm/atmel/saml2x.dtsi b/dts/arm/atmel/saml2x.dtsi index 43fe94dd82a..d9191c03a13 100644 --- a/dts/arm/atmel/saml2x.dtsi +++ b/dts/arm/atmel/saml2x.dtsi @@ -1,5 +1,6 @@ /* * Copyright (c) 2021 Argentum Systems Ltd. + * Copyright (c) 2024 Gerson Fernando Budke * * SPDX-License-Identifier: Apache-2.0 */ @@ -229,6 +230,15 @@ reg = <0x42003800 0x24>; interrupts = <27 0>; }; + + usb0: usb@41000000 { + compatible = "atmel,sam0-usb"; + reg = <0x41000000 0x1000>; + interrupts = <6 0>; + status = "disabled"; + + num-bidir-endpoints = <8>; + }; }; };