Skip to content

Commit

Permalink
dts: atmel: saml2x: Define USB node
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 34fc01e)
  • Loading branch information
nandojve authored and github-actions[bot] committed Dec 18, 2024
1 parent bd4d6b0 commit f59cd01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dts/arm/atmel/saml21.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
10 changes: 10 additions & 0 deletions dts/arm/atmel/saml2x.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2021 Argentum Systems Ltd.
* Copyright (c) 2024 Gerson Fernando Budke <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -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>;
};
};
};

Expand Down

0 comments on commit f59cd01

Please sign in to comment.