[PATCH 1/2] arm64: dts: imx8m: Pass a label to the soc node

Fabio Estevam festevam at gmail.com
Tue Jun 14 09:39:43 PDT 2022


Pass a label to the 'soc' node to make it easier to reference
it from other devicetree files.

U-Boot, for example usually needs to access the AIPS node to
pass U-Boot-specific properties.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/imx8mn.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/imx8mp.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/imx8mq.dtsi  | 2 +-
 arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index c81c313c34e2..c47e36b23333 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -287,7 +287,7 @@ usbphynop2: usbphynop2 {
 		clock-names = "main_clk";
 	};
 
-	soc at 0 {
+	soc: soc at 0 {
 		compatible = "fsl,imx8mm-soc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index b773660c34a7..ed06d476acda 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -269,7 +269,7 @@ timer {
 		arm,no-tick-in-suspend;
 	};
 
-	soc at 0 {
+	soc: soc at 0 {
 		compatible = "fsl,imx8mn-soc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index b2f4a5f1f73c..4ea4f755e293 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -293,7 +293,7 @@ timer {
 		arm,no-tick-in-suspend;
 	};
 
-	soc at 0 {
+	soc: soc at 0 {
 		compatible = "fsl,imx8mp-soc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 8a1c69699053..d6b101bcfe9f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -320,7 +320,7 @@ timer {
 		arm,no-tick-in-suspend;
 	};
 
-	soc at 0 {
+	soc: soc at 0 {
 		compatible = "fsl,imx8mq-soc", "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
index 7d98b822a340..60c1b018bf03 100644
--- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
@@ -137,7 +137,7 @@ scmi_sensor: protocol at 15 {
 		};
 	};
 
-	soc at 0 {
+	soc: soc at 0 {
 		compatible = "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.25.1




More information about the linux-arm-kernel mailing list