Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5042

Advanced users • How to select a device tree on the basis of GPIOs?

$
0
0
I am not talking about a GPIO but GPIOs, meaning how can I select a device tree in RPI on the basis of multiple GPIOs.
I know conditional does not work so what can be the solution?
I know that we can achieve this using U-BOOT, but the DTB is already loaded using first stage bootloader and even if U-BOOT tries to load the FDT file, it cannot change the FDT file.

What I want to achieve is to select a device tree from multiple device tree on the basis of conditions of multiple GPIOs.

Statistics: Posted by funkpunkt — Mon Jun 24, 2024 10:31 am



Viewing all articles
Browse latest Browse all 5042

Trending Articles