[PATCH] ARM: dts: at91: sama7g5: fix compilation warning

Claudiu Beznea posted 1 patch 4 years, 6 months ago
arch/arm/boot/dts/sama7g5.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ARM: dts: at91: sama7g5: fix compilation warning
Posted by Claudiu Beznea 4 years, 6 months ago
Fix the following compilation warning:
"Warning (unit_address_vs_reg): /memory: node has a reg or ranges
property, but no unit name".

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/sama7g5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index 8961d2851df3..cc75d0593729 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -108,7 +108,7 @@ map1 {
 	};
 
 	/* 512 M */
-	memory {
+	memory@60000000 {
 		device_type = "memory";
 		reg = <0x60000000 0x20000000>;
 	};
-- 
2.32.0

Re: [PATCH] ARM: dts: at91: sama7g5: fix compilation warning
Posted by Claudiu.Beznea@microchip.com 4 years, 5 months ago
Hi Nicolas,

Please ignore this as it seems it is already integrated on at91-next.

Thank you,
Claudiu Beznea

On 20.12.2021 10:20, Claudiu Beznea wrote:
> Fix the following compilation warning:
> "Warning (unit_address_vs_reg): /memory: node has a reg or ranges
> property, but no unit name".
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
>  arch/arm/boot/dts/sama7g5.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
> index 8961d2851df3..cc75d0593729 100644
> --- a/arch/arm/boot/dts/sama7g5.dtsi
> +++ b/arch/arm/boot/dts/sama7g5.dtsi
> @@ -108,7 +108,7 @@ map1 {
>  	};
>  
>  	/* 512 M */
> -	memory {
> +	memory@60000000 {
>  		device_type = "memory";
>  		reg = <0x60000000 0x20000000>;
>  	};