Re: [GIT PULL] ~RISC-V~Starfive devicetrees fixes for v7.0-rc6
From: Conor Dooley
Date: Fri Mar 27 2026 - 08:20:18 EST
On Fri, Mar 27, 2026 at 11:50:39AM +0100, Krzysztof Kozlowski wrote:
> On 27/03/2026 10:49, Krzysztof Kozlowski wrote:
> > On 27/03/2026 10:45, Conor Dooley wrote:
> >>
> >>> The commit touches only DTS, not DTSO, so how can you claim that a DTS
> >>> file change breaks some completely other board (Raspberry)?
> >>>
> >>> This DTS file is nowhere included (and should not be).
> >>>
> >>> Of course maybe the true question would be why anyone described a hat as
> >>> DTS file...
> >>>
> >>>>
> >>>> E. we know that by chance you have found a base board that ignores the
> >>>> standard.
> >>>>
> >>>> Your patch 4cce8b2503ab5 made my standard compliant baseboard unusable.
> >>>
> >>> DTS of some board is a final product, so it cannot be applied to a
> >>> baseboard, that's pretty messed DTS tree...
> >>
> >> The cm-lite is a rpi compute module compatible device, the base boards
> >> don't have any devices on them in a lot of cases and just provide
> >> physical connectors, so there's no point having a distinct dts for every
> >> baseboard of that type.
> >> https://www.waveshare.com/product/cm4-io-base-a.htm
> >>
> > I saw the picture and it looked like it should never be a DTS, because
> > it is not usable on its own. You cannot run it.
>
>
> ... although what I found earlier was different. I typed the model name
> from DTS "Milk-V Mars CM Lite" and it gave me this:
>
> https://milkv.io/mars-cm
> which misses the "Lite" suffix.
Lite is the same thing without an emmc.
>
> What you pasted is called "Mini Base Board (A) Designed for Raspberry Pi
> Compute Module 4" and it also does not have "Lite" in the name and
> picture does not have the SoM.
>
> I am confused now and I do not know what the DTS "Milk-V Mars CM Lite"
> is. Answering to this is crucial, because it determines whether this
> particular deviec has broken-cd or not.
It's an Raspberry Pi compatible SoM, what you linked.
I was linking to the kind of base-board that Heinrich has, to show that
it pretty much is a connector to the SoM and the physical connectors for
ethernet etc and nothing else on the board.
The dts was done the way it was, IIRC, to permit using overlays on top
of the $som.dts file to describe the minor differences between the
pretty trivial I/O boards, such as the one I linked to or the standard
RPi one: https://www.raspberrypi.com/products/compute-module-4-io-board/
It's akin to having "jh7110-milkv-marscm-lite-generic-trivial-base-board.dts"
which I think isn't problematic. There's a jh7110-milkv-marscm.dtsi that
is what actually describes the bulk of the SoM.
> Arguments that something else has broken-cd, thus you add such property
> to "Milk-V Mars CM Lite" are obviously wrong.
The argument is that "broken-cd" is the standard for RPi compute module
baseboards, so the rare baseboard that doesn't do that is the one which
would have to use an overlay to function.
I think that that is the right approach to take, in a world where having
a dts for the SoM is permitted.
Attachment:
signature.asc
Description: PGP signature