Skip to content

Commit ca7eba2

Browse files
nandojvedkalowsk
authored andcommitted
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 <[email protected]> (cherry picked from commit 34fc01e)
1 parent 3acaf7a commit ca7eba2

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

dts/arm/atmel/saml21.dtsi

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@
1515
};
1616

1717
soc {
18-
usb0: usb@41000000 {
19-
compatible = "atmel,sam0-usb";
20-
reg = <0x41000000 0x1000>;
21-
interrupts = <6 0>;
22-
status = "disabled";
23-
24-
num-bidir-endpoints = <8>;
25-
};
26-
2718
tcc0: tcc@42001400 {
2819
compatible = "atmel,sam0-tcc";
2920
reg = <0x42001400 0x80>;

dts/arm/atmel/saml2x.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2021 Argentum Systems Ltd.
3+
* Copyright (c) 2024 Gerson Fernando Budke <[email protected]>
34
*
45
* SPDX-License-Identifier: Apache-2.0
56
*/
@@ -229,6 +230,15 @@
229230
reg = <0x42003800 0x24>;
230231
interrupts = <27 0>;
231232
};
233+
234+
usb0: usb@41000000 {
235+
compatible = "atmel,sam0-usb";
236+
reg = <0x41000000 0x1000>;
237+
interrupts = <6 0>;
238+
status = "disabled";
239+
240+
num-bidir-endpoints = <8>;
241+
};
232242
};
233243
};
234244

0 commit comments

Comments
 (0)