-
Notifications
You must be signed in to change notification settings - Fork 8.4k
dts: arm: silabs: Restructure Series 2 DTS content #89946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dts: arm: silabs: Restructure Series 2 DTS content #89946
Conversation
|
Don't you think we should introduce |
Introduce subdirectory for xg21 socs. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Introduce subdirectory for xg22 socs. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Introduce subdirectory for xg23 socs. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Introduce subdirectory for xg24 socs. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Introduce subdirectory for xg27 socs. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
0f5261a to
50ee4e0
Compare
Works for me. |
Align xg29 directory with other Series 2 families, introducing separate .dtsi files per device family inheriting the common xg29.dtsi file. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
50ee4e0 to
ebc7416
Compare
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| #include <silabs/xg24/efr32xg24.dtsi> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curiosity, what efr32bg24.dtsi will looks like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical for now. Once 802.15.4 support is implemented, it will be a child node of the radio in efr32mg24.dtsi and not in efr32bg24.dtsi.
|
Big like |
|
Should we place somewhere in the tree the explanations you provide in the PR description? Maybe in the same vein than |
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably needs a mention in migration guide since out-of-tree boards will be impacted
Describe changes users need to do in their out of tree board definitions after the SoC DTS files have been moved into subdirectories. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
1e74294
|



.dtsi files for Silicon Labs SoCs are mixed together in a single directory covering 5 generations of SoCs with 3 completely different lineages. Within Series 2, naming is also inconsistent, and .dtsi files are not separated in a way that makes them reusable or composable.
This PR cleans up the Series 2 .dtsi files by structuring them as follows:
xg22/= series 2 config 2)xg22.dtsi-- shareable across pg22 MCUs and bg22/fg22/mg22 RF MCUs)efr32xg22.dtsi-- shareable between bg22/fg22/mg22 RF MCUs)ef32bg22.dtsi)Boards continue to include the SoC-specific .dtsi file.
While each generic family modified in this PR currently only contains a single series, there are pending PRs for adding