Skip to contentSkip to conversation

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

PATCH New Marek Behún 3 participants 4 messages Feb 9, 2021 – Feb 26, 2021 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: armada-385-turris-omnia: rename node in -u-boot.dtsi file

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.

---
 arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi +1 -4
index 1b46797583..af0655daaa 100644
@@ -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;
 	};
 };
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 ARM: dts: armada-385-turris-omnia: rename node in -u-boot.dtsi file

Quoted 9 lines · Marek Beh?n

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.

Thanks,
Stefan

Quoted 11 lines
---
  arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 5 +----
  1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi +0 -0
index 1b46797583..af0655daaa 100644
@@ -41,10 +41,7 @@
  &spi0 {

arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi line 47

Quoted 10 lines
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi +1 -4
  	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

Signature · 3 lines
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
#2 lore raw

PATCH 1/1 ARM: dts: armada-385-turris-omnia: rename node in -u-boot.dtsi file

In reply to Marek Behún
Quoted 9 lines · 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.

Quoted 23 lines
---
 arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi +1 -4
index 1b46797583..af0655daaa 100644
@@ -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;
 	};
 };
Signature · 1 line
2.26.2
#3 lore raw

PATCH 1/1 ARM: dts: armada-385-turris-omnia: rename node in -u-boot.dtsi file

In reply to Marek Behún
Quoted 20 lines · Marek Beh?n

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.

---
  arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 5 +----
  1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi +0 -0
index 1b46797583..af0655daaa 100644
@@ -41,10 +41,7 @@
  &spi0 {

arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi line 47

Quoted 10 lines
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi +1 -4
  	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;
  	};
  };

Applied to u-boot-marvell/master

Thanks,
Stefan