Skip to contentSkip to conversation

arm64: dts: mediatek: mt7622: fix memory node warning check

PATCH Applied Eugen Hristev 2 participants 3 messages Aug 14, 2023 – Nov 29, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: mediatek: mt7622: fix memory node warning check

dtbs_check throws a warning at the memory node:
Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

fix by adding the address into the node name.

Fixes 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board")
---
 arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 2 +-
 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +1 -1
index e4605d23fdc8..8220a4fd6319 100644
@@ -73,7 +73,7 @@ led-1 {
 		};
 	};
 
-	memory {
+	memory@40000000 {
 		reg = <0 0x40000000 0 0x40000000>;
 	};
 
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +1 -1
index dad8e683aac5..c435984ca767 100644
@@ -55,7 +55,7 @@ key-wps {
 		};
 	};
 
-	memory {
+	memory@40000000 {
 		reg = <0 0x40000000 0 0x20000000>;
 	};
 
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Il 14/08/23 08:50, Eugen Hristev ha scritto:

Quoted 7 lines

dtbs_check throws a warning at the memory node:
Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

fix by adding the address into the node name.

Fixes 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board")
Quoted 31 lines
---
  arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 2 +-
  arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts             | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +1 -1
index e4605d23fdc8..8220a4fd6319 100644
@@ -73,7 +73,7 @@ led-1 {
  		};
  	};
 
-	memory {
+	memory@40000000 {
  		reg = <0 0x40000000 0 0x40000000>;
  	};
 
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +1 -1
index dad8e683aac5..c435984ca767 100644
@@ -55,7 +55,7 @@ key-wps {
  		};
  	};
 
-	memory {
+	memory@40000000 {
  		reg = <0 0x40000000 0 0x20000000>;
  	};
 
maintainer Applied
#2 lore raw
In reply to Eugen Hristev
Quoted 6 lines · Eugen Hristev

dtbs_check throws a warning at the memory node:
Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

fix by adding the address into the node name.

Applied, thanks!

[1/1] arm64: dts: mediatek: mt7622: fix memory node warning check

      commit: 022597b6e520b5c21894b9693bde215a5d788a17

Best regards,

Signature · 1 line
AngeloGioacchino Del Regno <[email protected]>