[PATCH AUTOSEL 5.18 04/53] arm64: s32g2: Pass unit name to soc node

Sasha Levin sashal at kernel.org
Mon Jun 27 19:17:50 PDT 2022


From: Fabio Estevam <festevam at gmail.com>

[ Upstream commit 4266e2f70d4388b8c6a95056169954ff049ced94 ]

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 at denx.de>
Reviewed-by: Chester Lin <clin at suse.com>
Signed-off-by: Chester Lin <clin at suse.com>
Link: https://lore.kernel.org/r/20220514143505.1554813-1-festevam@gmail.com
Signed-off-by: Sasha Levin <sashal at kernel.org>
---
 arch/arm64/boot/dts/freescale/s32g2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi
index 59ea8a25aa4c..824d401e7a2c 100644
--- a/arch/arm64/boot/dts/freescale/s32g2.dtsi
+++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi
@@ -79,7 +79,7 @@ psci {
 		};
 	};
 
-	soc {
+	soc at 0 {
 		compatible = "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.35.1




More information about the linux-arm-kernel mailing list