2023-08-14 07:28:37

by Eugen Hristev

[permalink] [raw]
Subject: [PATCH] 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")
Signed-off-by: Eugen Hristev <[email protected]>
---
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(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
index e4605d23fdc8..8220a4fd6319 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
@@ -73,7 +73,7 @@ led-1 {
};
};

- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x40000000>;
};

diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
index dad8e683aac5..c435984ca767 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
@@ -55,7 +55,7 @@ key-wps {
};
};

- memory {
+ memory@40000000 {
reg = <0 0x40000000 0 0x20000000>;
};

--
2.34.1



Subject: Re: [PATCH] arm64: dts: mediatek: mt7622: fix memory node warning check


On Mon, 14 Aug 2023 09:50:42 +0300, Eugen Hristev wrote:
> 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,
--
AngeloGioacchino Del Regno <[email protected]>