Message ID | 20230814065042.4973-1-eugen.hristev@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: mediatek: mt7622: fix memory node warning check | expand |
Il 14/08/23 08:50, Eugen Hristev ha scritto: > 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 <eugen.hristev@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > 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>; > }; >
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,
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>; };
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 <eugen.hristev@collabora.com> --- 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(-)