arm64: s32g2: Pass unit name to soc node
authorFabio Estevam <festevam@gmail.com>
Sat, 14 May 2022 14:35:05 +0000 (11:35 -0300)
committerChester Lin <clin@suse.com>
Tue, 7 Jun 2022 02:24:57 +0000 (10:24 +0800)
Pass unit name to soc node to fix the following W=1 build warning:

arch/arm64/boot/dts/freescale/s32g2.dtsi:82.6-123.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Chester Lin <clin@suse.com>
Signed-off-by: Chester Lin <clin@suse.com>
Link: https://lore.kernel.org/r/20220514143505.1554813-1-festevam@gmail.com
arch/arm64/boot/dts/freescale/s32g2.dtsi

index 59ea8a2..824d401 100644 (file)
@@ -79,7 +79,7 @@
                };
        };
 
-       soc {
+       soc@0 {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;