On 2/24/25 08:20, manikanda...@microchip.com wrote:
> Hi Sumit Grag,
> 
> On 21/02/25 3:42 pm, Sumit Garg wrote:
>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the 
>> content is safe
>>
>> Hi Manikandan,
>>
>> On Fri, 21 Feb 2025 at 15:34, Manikandan Muralidharan
>> <manikanda...@microchip.com> wrote:
>>>
>>> From: Varshini Rajendran <varshini.rajend...@microchip.com>
>>>
>>> Add initial device tree for sam9x7 SoC family.
>>>
>>> Signed-off-by: Varshini Rajendran <varshini.rajend...@microchip.com>
>>> [manikanda...@microchip.com: Align with Linux DT]
>>> Signed-off-by: Manikandan Muralidharan <manikanda...@microchip.com>
>>> ---
>>>   arch/arm/dts/sam9x7.dtsi | 1273 ++++++++++++++++++++++++++++++++++++++
>>
>> This SoC DT is already present here [1], so try to enable OF_UPSTREAM
>> as described here [2].
> There are differences in SoC DTSI and DT wrt to clock, memory and other 
> frameworks in u-boot hence it cannot directly use the DT from the 
> upstream path.
> We are working internally to reduce the difference starting from PIO3 
> pinctrl DT and Driver which got merged recently

You need to create a special arch/arm/dts/<soc>-u-boot.dtsi file in
which you need to add special nodes/differences from upstream DTS .
This may include disabling some nodes from upstream and rewriting them.
This way the differences are easier to spot, and, it might motivate
people to work on removing them

Eugen

>>
>> [1] ./dts/upstream/src/arm/microchip/sam9x7.dtsi
>> [2] 
>> https://docs.u-boot.org/en/latest/develop/devicetree/control.html#where-do-i-get-a-devicetree-file-for-my-board
>>
>> -Sumit
>>

Reply via email to