From: Fabio Estevam festevam@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@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 Signed-off-by: Sasha Levin sashal@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@0 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;