Skip to contentSkip to conversation

arm64: dts: imx8m: Pass a label to the soc node

PATCH Applied Fabio Estevam 2 participants 3 messages Jun 14, 2022 – Jun 20, 2022

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

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

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.

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


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author reviewer
#1 lore raw

PATCH 2/2 arm64: dts: imx8mq: Pass a label to the AIPS nodes

From: Fabio Estevam <[email protected]>

Pass a label to the AIPS nodes to make it easier to reference it from other devicetree files.

The other i.MX8M dtsi files already describe labels for the AIPS nodes.

Make it available for imx8mq for consistency.

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

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +4 -4
index d6b101bcfe9f..4912f16aebf7 100644
@@ -329,7 +329,7 @@ soc: soc@0 {
 		nvmem-cells = <&imx8mq_uid>;
 		nvmem-cell-names = "soc_unique_id";
 
-		bus@30000000 { /* AIPS1 */
+		aips1: bus@30000000 { /* AIPS1 */
 			compatible = "fsl,aips-bus", "simple-bus";
 			reg = <0x30000000 0x400000>;
 			#address-cells = <1>;
@@ -784,7 +784,7 @@ pgc_pcie2: power-domain@a {
 			};
 		};
 
-		bus@30400000 { /* AIPS2 */
+		aips2: bus@30400000 { /* AIPS2 */
 			compatible = "fsl,aips-bus", "simple-bus";
 			reg = <0x30400000 0x400000>;
 			#address-cells = <1>;
@@ -844,7 +844,7 @@ system_counter: timer@306a0000 {
 			};
 		};
 
-		bus@30800000 { /* AIPS3 */
+		aips3: bus@30800000 { /* AIPS3 */
 			compatible = "fsl,aips-bus", "simple-bus";
 			reg = <0x30800000 0x400000>;
 			#address-cells = <1>;
@@ -1369,7 +1369,7 @@ opp-800M {
 			};
 		};
 
-		bus@32c00000 { /* AIPS4 */
+		aips4: bus@32c00000 { /* AIPS4 */
 			compatible = "fsl,aips-bus", "simple-bus";
 			reg = <0x32c00000 0x400000>;
 			#address-cells = <1>;
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 7 lines · Fabio Estevam

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.

Applied both, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel