Skip to contentSkip to conversation

ARM: dts: nuvoton,npcm7xx: remove bogus unit addresses from fixed-partition nodes

PATCH Superseded Jonathan Neuschäfer 2 participants 3 messages Jan 29, 2022 – Jan 31, 2022 Device tree bindings

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: nuvoton,npcm7xx: remove bogus unit addresses from fixed-partition nodes

The unit addresses do not correspond to the nodes' reg properties, because they don't have any.

---
 arch/arm/boot/dts/nuvoton-npcm730-gbs.dts            | 2 +-
 arch/arm/boot/dts/nuvoton-npcm730-gsj.dts            | 2 +-
 arch/arm/boot/dts/nuvoton-npcm730-kudo.dts           | 6 +++---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts            | 4 ++--
 arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts | 6 +++---
 5 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts +1 -1
index eb6eb21cb2a44..33c8d5b3d679a 100644
@@ -366,7 +366,7 @@ spi-nor@0 {
 		spi-max-frequency = <20000000>;
 		spi-rx-bus-width = <2>;
 		label = "bmc";
-		partitions@80000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm730-gsj.dts +1 -1
index d4ff49939a3d9..bbe18618f5c56 100644
@@ -142,7 +142,7 @@ spi-nor@0 {
 		reg = <0>;
 		spi-rx-bus-width = <2>;
 
-		partitions@80000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm730-kudo.dts +3 -3
index 82a104b2a65f1..8e3425cb8e8b9 100644
@@ -388,7 +388,7 @@ spi-nor@0 {
 		spi-max-frequency = <5000000>;
 		spi-rx-bus-width = <2>;
 		label = "bmc";
-		partitions@80000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -422,7 +422,7 @@ spi-nor@1 {
 		reg = <1>;
 		spi-max-frequency = <5000000>;
 		spi-rx-bus-width = <2>;
-		partitions@88000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -447,7 +447,7 @@ spi-nor@0 {
 		reg = <0>;
 		spi-max-frequency = <5000000>;
 		spi-rx-bus-width = <2>;
-		partitions@A0000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +2 -2
index 0334641f88292..cf274c926711a 100644
@@ -74,7 +74,7 @@ spi-nor@0 {
 		spi-rx-bus-width = <2>;
 		reg = <0>;
 		spi-max-frequency = <5000000>;
-		partitions@80000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -135,7 +135,7 @@ spi-nor@0 {
 		spi-rx-bus-width = <2>;
 		reg = <0>;
 		spi-max-frequency = <5000000>;
-		partitions@A0000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts +3 -3
index 767e0ac0df7c5..7fe7efee28acb 100644
@@ -107,7 +107,7 @@ spi-nor@0 {
 		reg = <0>;
 		spi-rx-bus-width = <2>;
 
-		partitions@80000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -146,7 +146,7 @@ spi-nor@1 {
 		reg = <1>;
 		npcm,fiu-rx-bus-width = <2>;
 
-		partitions@88000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -173,7 +173,7 @@ spi-nor@0 {
 		reg = <0>;
 		spi-rx-bus-width = <2>;
 
-		partitions@A0000000 {
+		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;

--
2.34.1

Reviewed-by on v1 1/1
#1 lore raw

Re: [PATCH] ARM: dts: nuvoton, npcm7xx: remove bogus unit addresses from fixed-partition nodes

Quoted 5 lines · Jonathan Neuschäfer

The unit addresses do not correspond to the nodes' reg properties, because they don't have any.

Do you want to add a Fixes: line?

Quoted 121 lines
---
 arch/arm/boot/dts/nuvoton-npcm730-gbs.dts            | 2 +-
 arch/arm/boot/dts/nuvoton-npcm730-gsj.dts            | 2 +-
 arch/arm/boot/dts/nuvoton-npcm730-kudo.dts           | 6 +++---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts            | 4 ++--
 arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts | 6 +++---
 5 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts +1 -1
index eb6eb21cb2a44..33c8d5b3d679a 100644
@@ -366,7 +366,7 @@ spi-nor@0 {
                spi-max-frequency = <20000000>;
                spi-rx-bus-width = <2>;
                label = "bmc";
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm730-gsj.dts +1 -1
index d4ff49939a3d9..bbe18618f5c56 100644
@@ -142,7 +142,7 @@ spi-nor@0 {
                reg = <0>;
                spi-rx-bus-width = <2>;
 
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm730-kudo.dts +3 -3
index 82a104b2a65f1..8e3425cb8e8b9 100644
@@ -388,7 +388,7 @@ spi-nor@0 {
                spi-max-frequency = <5000000>;
                spi-rx-bus-width = <2>;
                label = "bmc";
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -422,7 +422,7 @@ spi-nor@1 {
                reg = <1>;
                spi-max-frequency = <5000000>;
                spi-rx-bus-width = <2>;
-               partitions@88000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -447,7 +447,7 @@ spi-nor@0 {
                reg = <0>;
                spi-max-frequency = <5000000>;
                spi-rx-bus-width = <2>;
-               partitions@A0000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +2 -2
index 0334641f88292..cf274c926711a 100644
@@ -74,7 +74,7 @@ spi-nor@0 {
                spi-rx-bus-width = <2>;
                reg = <0>;
                spi-max-frequency = <5000000>;
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -135,7 +135,7 @@ spi-nor@0 {
                spi-rx-bus-width = <2>;
                reg = <0>;
                spi-max-frequency = <5000000>;
-               partitions@A0000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts +3 -4
index 767e0ac0df7c5..7fe7efee28acb 100644
@@ -107,7 +107,7 @@ spi-nor@0 {
                reg = <0>;
                spi-rx-bus-width = <2>;
 
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -146,7 +146,7 @@ spi-nor@1 {
                reg = <1>;
                npcm,fiu-rx-bus-width = <2>;
 
-               partitions@88000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -173,7 +173,7 @@ spi-nor@0 {
                reg = <0>;
                spi-rx-bus-width = <2>;
 
-               partitions@A0000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
--

2.34.1

#2 lore raw

Re: [PATCH] ARM: dts: nuvoton, npcm7xx: remove bogus unit addresses from fixed-partition nodes

Quoted 10 lines · Joel Stanley
Quoted 5 lines · Jonathan Neuschäfer

The unit addresses do not correspond to the nodes' reg properties, because they don't have any.

Do you want to add a Fixes: line?

Sounds reasonable, I'll add it.

Jonathan

Quoted 122 lines
Quoted 122 lines
---
 arch/arm/boot/dts/nuvoton-npcm730-gbs.dts            | 2 +-
 arch/arm/boot/dts/nuvoton-npcm730-gsj.dts            | 2 +-
 arch/arm/boot/dts/nuvoton-npcm730-kudo.dts           | 6 +++---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts            | 4 ++--
 arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts | 6 +++---
 5 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts +1 -1
index eb6eb21cb2a44..33c8d5b3d679a 100644
@@ -366,7 +366,7 @@ spi-nor@0 {
                spi-max-frequency = <20000000>;
                spi-rx-bus-width = <2>;
                label = "bmc";
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm730-gsj.dts +1 -1
index d4ff49939a3d9..bbe18618f5c56 100644
@@ -142,7 +142,7 @@ spi-nor@0 {
                reg = <0>;
                spi-rx-bus-width = <2>;
 
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm730-kudo.dts +3 -3
index 82a104b2a65f1..8e3425cb8e8b9 100644
@@ -388,7 +388,7 @@ spi-nor@0 {
                spi-max-frequency = <5000000>;
                spi-rx-bus-width = <2>;
                label = "bmc";
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -422,7 +422,7 @@ spi-nor@1 {
                reg = <1>;
                spi-max-frequency = <5000000>;
                spi-rx-bus-width = <2>;
-               partitions@88000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -447,7 +447,7 @@ spi-nor@0 {
                reg = <0>;
                spi-max-frequency = <5000000>;
                spi-rx-bus-width = <2>;
-               partitions@A0000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +2 -2
index 0334641f88292..cf274c926711a 100644
@@ -74,7 +74,7 @@ spi-nor@0 {
                spi-rx-bus-width = <2>;
                reg = <0>;
                spi-max-frequency = <5000000>;
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -135,7 +135,7 @@ spi-nor@0 {
                spi-rx-bus-width = <2>;
                reg = <0>;
                spi-max-frequency = <5000000>;
-               partitions@A0000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
arch/arm/boot/dts/nuvoton-npcm750-runbmc-olympus.dts +3 -4
index 767e0ac0df7c5..7fe7efee28acb 100644
@@ -107,7 +107,7 @@ spi-nor@0 {
                reg = <0>;
                spi-rx-bus-width = <2>;
 
-               partitions@80000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -146,7 +146,7 @@ spi-nor@1 {
                reg = <1>;
                npcm,fiu-rx-bus-width = <2>;
 
-               partitions@88000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -173,7 +173,7 @@ spi-nor@0 {
                reg = <0>;
                spi-rx-bus-width = <2>;
 
-               partitions@A0000000 {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
--

2.34.1