u-boot.dtsi also possible for dtso?

Quentin Schulz quentin.schulz at cherry.de
Tue Jan 13 17:41:43 CET 2026


Hi Frank,

On 1/3/26 11:55 AM, Frank Wunderlich wrote:
> Hi,
> 
> i make new attempt to change mediatek boards to OF_UPSTREAM because i found out, that dtbo merging is now possible.
> 
> but i faced a problem:
> 
> e.g. BPI-R3 has 2 SPI-devices (nand,nor) on same spi switchable via hw. i need both in dts to probe the right
> device for linux and to allow install from sdmmc to both of these devices based on hw switch.
> 
> currently in uboot the nor is device 0 (unit-address and reg) and nand is 1. this does not work in linux, so i need a
> way to overwrite the dtso from linux with the new values in uboot.
> 
> for dts there is a way using -u-boot.dtsi files...do they also work for dtso? where do they need to be placed?
> 

I don't understand the issue. Is there code we can look at?

Are you planning on using the exact same DT binary in U-Boot and Linux 
kernel? Why does it matter to Linux that the NOR in U-Boot is device 0?

Cheers,
Quentin


More information about the U-Boot mailing list