Re: [PATCH] riscv: dts: starfive: add Milkv Mars board device tree

From: Conor Dooley
Date: Sun Nov 26 2023 - 06:36:34 EST


On Sun, Nov 26, 2023 at 11:27:20AM +0100, Krzysztof Kozlowski wrote:
> On 26/11/2023 11:00, Jisheng Zhang wrote:
> > + cpus {
>
> Board should not bring new CPU nodes. Override by label instead.
>
>
> > + timebase-frequency = <4000000>;
> > + };

This particular one is widespread, but I am not sure why it is being set
on the board level in any of the individual cases. On the platforms
where I do know where the frequency for this comes from it is set by the
SoC, not the board and so should really be fixed by moving this into
$soc.dtsi. I suspect the same is true for the jh7110 and
timebase-frequency is not a board-level setting and probably needs the
same treatment. Those with more insight into how the clocks on the
jh7110 are routed can hopefully advise us here.

Attachment: signature.asc
Description: PGP signature