arm64: dts: mediatek: mt7622: fix memory node warning check
Subsystems (2)
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.
--- 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
@@ -73,7 +73,7 @@ led-1 { }; }; - memory { + memory@40000000 { reg = <0 0x40000000 0 0x40000000>; };
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +1 -1
@@ -55,7 +55,7 @@ key-wps { }; }; - memory { + memory@40000000 { reg = <0 0x40000000 0 0x20000000>; };
Signature · 1 line
2.34.1
Il 14/08/23 08:50, Eugen Hristev ha scritto:
Quoted 7 lines
dtbs_checkthrows a warning at the memory node:
Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit namefix 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]>
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@@ -73,7 +73,7 @@ led-1 { }; }; - memory { + memory@40000000 { reg = <0 0x40000000 0 0x40000000>; };arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +1
-1@@ -55,7 +55,7 @@ key-wps { }; }; - memory { + memory@40000000 { reg = <0 0x40000000 0 0x20000000>; };
Quoted 6 lines · Eugen Hristev
dtbs_checkthrows a warning at the memory node:
Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit namefix 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]>