arm64: dts: mediatek: mt7622: fix memory node warning check
authorEugen Hristev <eugen.hristev@collabora.com>
Mon, 14 Aug 2023 06:50:42 +0000 (09:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:45:26 +0000 (18:45 +0100)
commit 8e6ecbfd44b5542a7598c1c5fc9c6dcb5d367f2a upstream.

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.

Cc: stable@vger.kernel.org
Fixes: 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board")
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230814065042.4973-1-eugen.hristev@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts

index 86cedb0..94e1cc9 100644 (file)
@@ -73,7 +73,7 @@
                };
        };
 
-       memory {
+       memory@40000000 {
                reg = <0 0x40000000 0 0x40000000>;
        };
 
index dad8e68..c435984 100644 (file)
@@ -55,7 +55,7 @@
                };
        };
 
-       memory {
+       memory@40000000 {
                reg = <0 0x40000000 0 0x20000000>;
        };