-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[Backport v4.0-branch] dts: atmel: sam0: Clean up devicetree #83135
Conversation
Keep a consistent order on the nodes definitions to make it easy to read between all the SoC series. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com> (cherry picked from commit 6f1f598)
When running tests on sam0 platform was detected that pinctrl for ADC were not defined for some boards. To force an error at build time nodes should be explicity disabled. This explicity disable nodes on devicetree that require some user configuration. In addition, the adc feature were excluded in some boards and samr21-xpro was correct updated. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com> (cherry picked from commit 162f728)
Reorder and add missing aliases and chosen nodes. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com> (cherry picked from commit 748bbd0)
The DMA is already defined on the base header. This exclude the duplicated node. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com> (cherry picked from commit 2e7599e)
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 <nandojve@gmail.com> (cherry picked from commit 34fc01e)
The samr21 is a samd21 with a builtin at86rf233 radio. Use the samd21 as base for these SoC and drop all duplicated nodes. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com> (cherry picked from commit 01fc0a7)
#83148 is an enhancement. We usually only backport bug fixes. What's the rationale for backporting this? |
Due to heavily changes on dts I'm not sure if future fixes/backports will be easy/possible to backport without these changes. I just want to make sure future enhancements are easy to developers to backport. At end, this is a clean-up, I can create an issue to it too. |
Backport 01fc0a7~6..01fc0a7 from #82991.
Fixes #83148