[PATCH u-boot-marvell] ARM: dts: armada-385-turris-omnia: rename node in -u-boot.dtsi file
Pali Rohár
pali at kernel.org
Wed Feb 10 10:59:45 CET 2021
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 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: Pali Rohár <pali at 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 at 0 {
> - compatible = "jedec,spi-nor";
> - reg = <0>;
> - spi-max-frequency = <40000000>;
> + spi-nor at 0 {
> u-boot,dm-pre-reloc;
> };
> };
> --
> 2.26.2
>
More information about the U-Boot
mailing list