diff mbox series

[1/2] arm64: dts: mediatek: update mt7986a memory node

Message ID 20220119123537.9968-2-sam.shih@mediatek.com (mailing list archive)
State New, archived
Headers show
Series Update mt7986 memory node in DT | expand

Commit Message

Sam Shih (史碩三) Jan. 19, 2022, 12:35 p.m. UTC
This patch updates the format of memory node in DT based on
maintainer comments in the following thread:
https://lore.kernel.org/all/bc0a9df0-8ba0-76ed-4522-43a3082f42b4@gmail.com/

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Matthias Brugger March 1, 2022, 8:50 a.m. UTC | #1
On 19/01/2022 13:35, Sam Shih wrote:
> This patch updates the format of memory node in DT based on
> maintainer comments in the following thread:
> https://lore.kernel.org/all/bc0a9df0-8ba0-76ed-4522-43a3082f42b4@gmail.com/
> 
> Signed-off-by: Sam Shih <sam.shih@mediatek.com>

Applied both with slightly better commit message. Please help the maintainer by 
providing verbose commit message.

Regards,
Matthias

> ---
>   arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> index 5cd760abff51..21e420829572 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> @@ -19,7 +19,8 @@ chosen {
>   		stdout-path = "serial0:115200n8";
>   	};
>   
> -	memory {
> +	memory@40000000 {
> +		device_type = "memory";
>   		reg = <0 0x40000000 0 0x40000000>;
>   	};
>   };
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
index 5cd760abff51..21e420829572 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
@@ -19,7 +19,8 @@  chosen {
 		stdout-path = "serial0:115200n8";
 	};
 
-	memory {
+	memory@40000000 {
+		device_type = "memory";
 		reg = <0 0x40000000 0 0x40000000>;
 	};
 };