[PATCH 1/3] sunxi: dts: OrangePi Zero: Add SPI aliases to make bus usable with u-boot.

Chen-Yu Tsai wens at kernel.org
Tue Sep 29 04:36:44 CEST 2020


(Resend from @kernel.org address)

On Tue, Sep 29, 2020 at 5:02 AM Michal Suchanek <msuchanek at suse.de> wrote:
>
> The u-boot code relies on aliases to assign bus number.
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
>  arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 2 ++

Anything U-boot specific should be done in the *-u-boot.dts file.
And any changes you do to the U-boot copy of dts files will potentially
be lost when a dts sync happens.

ChenYu

>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> index f19ed981da..090570148e 100644
> --- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
> @@ -59,6 +59,8 @@
>                 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
>                 ethernet0 = &emac;
>                 ethernet1 = &xr819;
> +               spi0 = &spi0;
> +               spi1 = &spi1;
>         };
>
>         chosen {
> --
> 2.28.0
>


More information about the U-Boot mailing list