On Tuesday 09 February 2021 03:43:03 Marek Behún wrote:
> The SPI NOR flash node name in main device tree for Turris Omnia is
> called `spi-nor@0`.
> 
> Rename node spi-flash@0 in Turris Omnia's -u-boot.dtsi file to spi-nor@0
> so that U-Boot does not try to probe the same SPI NOR device multiple
> times.
> 
> Signed-off-by: Marek Behún <marek.be...@nic.cz>
> Cc: Stefan Roese <s...@denx.de>

Reviewed-by: Pali Rohár <p...@kernel.org>

> ---
>  arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi 
> b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
> index 1b46797583..af0655daaa 100644
> --- a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
> +++ b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
> @@ -41,10 +41,7 @@
>  &spi0 {
>       u-boot,dm-pre-reloc;
>  
> -     spi-flash@0 {
> -             compatible = "jedec,spi-nor";
> -             reg = <0>;
> -             spi-max-frequency = <40000000>;
> +     spi-nor@0 {
>               u-boot,dm-pre-reloc;
>       };
>  };
> -- 
> 2.26.2
> 

Reply via email to