On Tue, Mar 12, 2024 at 3:41 PM Geert Uytterhoeven geert@linux-m68k.org wrote:
On Wed, Feb 21, 2024 at 3:06 PM Rob Herring robh+dt@kernel.org wrote:
On Fri, Feb 16, 2024 at 11:08 PM Saurabh Singh Sengar ssengar@linux.microsoft.com wrote:
This adds the strict check for compatible which makes compatible to be mandatory for root nodes. So far, DeviceTree without compatible property in root nodes can work. Do we want to make this documented somewhere ?
It already is in the DT spec and schemas.
How many systems in the wild violate this?
Apparently the DTS generated by LiteX does not have a root compatible (and model) property, hence of_have_populated_dt() returns false. While my gateware and DTS is quite old, a quick look at recent litex_json2dts_linux.py history shows this is still true for current LiteX.
https://github.com/enjoy-digital/litex/issues/1905
Gr{oetje,eeting}s,
Geert