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

Marek Behún marek.behun at nic.cz
Tue Feb 9 03:43:03 CET 2021


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>
---
 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