[PATCH u-boot-marvell] ARM: dts: armada-385-turris-omnia: rename node in -u-boot.dtsi file

Stefan Roese sr at denx.de
Tue Feb 9 11:32:10 CET 2021


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

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   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 at 0 {
> -		compatible = "jedec,spi-nor";
> -		reg = <0>;
> -		spi-max-frequency = <40000000>;
> +	spi-nor at 0 {
>   		u-boot,dm-pre-reloc;
>   	};
>   };
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list