Re: [PATCH 06/12] riscv: dts: allwinner: Add the D1 SoC base devicetree

From: Jernej Škrabec
Date: Tue Aug 16 2022 - 05:31:20 EST


Dne torek, 16. avgust 2022 ob 09:41:45 CEST je Krzysztof Kozlowski napisal(a):
> On 15/08/2022 08:08, Samuel Holland wrote:
> > +
> > + de: display-engine {
> > + compatible = "allwinner,sun20i-d1-display-engine";
> > + allwinner,pipelines = <&mixer0>, <&mixer1>;
> > + status = "disabled";
> > + };
> > +
> > + osc24M: osc24M-clk {
>
> lowercase
>
> > + compatible = "fixed-clock";
> > + clock-frequency = <24000000>;
>
> This is a property of the board, not SoC.

SoC needs 24 MHz oscillator for correct operation, so each and every board has
it. Having it here simplifies board DT files.

Best regards,
Jernej

>
> > + clock-output-names = "osc24M";
> > + #clock-cells = <0>;
> > + };
> > +
>
> Best regards,
> Krzysztof