Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Add support for Lichee Pi Zero



On Wed, May 05, 2021 at 07:31:35AM -0300, Jared McNeill wrote:
> On Mon, 3 May 2021, Rui-Xiang Guo wrote:
> 
> > I also added the diff file on the site.
> 
> Thank you! I just committed this to HEAD, minus the patch for the dts.
> 
> We try not to directly patch upstream dts files because they are difficult
> to merge. What we've been doing now is overriding on a per-board basis using
> a dts with the same name in sys/arch/arm/dts (not ideal but that's where we
> are today).
> 
> You can take sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts as an example. It does
> a few things:
> 
> 1) include the original upstream dts file as a starting point
> 2) include a soc specific dtsi that defines devices found on the SoC
> 3) finally, it enables any optional components and configures board specific
> parameters

Thanks fot the explanation.
I have uploaded the override dts file.

-rxg


Home | Main Index | Thread Index | Old Index