Hi,

I'm new here and relatively new to working with Yocto (creating my own layers 
anyways). I'm working on developing a SOM platform based on Renesas RZ series 
of MPUs.

I've followed the guide on Digikey by Shawn Hymel to learn about device tree 
patching ( 
https://www.digikey.ca/en/maker/projects/intro-to-embedded-linux-part-5-how-to-enable-i2c-in-the-yocto-project/6843bbf9a83c4c96888fccada1e7aedf
 ). I assume many of you know about it as well.
It does a good job in describing how to add changes in a dts file. In the 
example, a i2c5 node is added in the dts, overwriting what had been defined in 
the original dtsi file and I'm doubting the cleanliness of it.
Would it not be better, to patch the node in the dtsi file and add the required 
changes there instead of adding them to the dts file essentially overwriting 
what was set previously? I imagine this will essentially lead to two nodes 
being defined with the same name, the latter just overwriting the former, is 
that so?
How would one go about patching the dtsi and making sure that the patch is 
applied before ther file is included?

Thank you all,
Mistyron
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58421): https://lists.yoctoproject.org/g/yocto/message/58421
Mute This Topic: https://lists.yoctoproject.org/mt/94595311/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to