Skip to contentSkip to conversation

arm64: dts: marvell: Fully re-order nodes in Marvell CP110 dtsi files

PATCH New Gregory CLEMENT 1 participant 2 messages Jul 18, 2017 – Aug 3, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: marvell: Fully re-order nodes in Marvell CP110 dtsi files

Since the introduction of the CP110 dt files, the sata node was misplaced. Move it at the right place. Thanks to this, the files are completely ordered.

---
 arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 18 +++++++++---------
 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi  | 18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +9 -9
index 394e54d37fff..1acd6a92d1a7 100644
@@ -162,15 +162,6 @@
 				};
 			};
 
-			cpm_sata0: sata at 540000 {
-				compatible = "marvell,armada-8k-ahci",
-					     "generic-ahci";
-				reg = <0x540000 0x30000>;
-				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&cpm_clk 1 15>;
-				status = "disabled";
-			};
-
 			cpm_usb3_0: usb3 at 500000 {
 				compatible = "marvell,armada-8k-xhci",
 					     "generic-xhci";
@@ -191,6 +182,15 @@
 				status = "disabled";
 			};
 
+			cpm_sata0: sata at 540000 {
+				compatible = "marvell,armada-8k-ahci",
+					     "generic-ahci";
+				reg = <0x540000 0x30000>;
+				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&cpm_clk 1 15>;
+				status = "disabled";
+			};
+
 			cpm_xor0: xor at 6a0000 {
 				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
 				reg = <0x6a0000 0x1000>,
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +9 -9
index 2e6422a66d76..a21814855799 100644
@@ -163,15 +163,6 @@
 
 			};
 
-			cps_sata0: sata at 540000 {
-				compatible = "marvell,armada-8k-ahci",
-					     "generic-ahci";
-				reg = <0x540000 0x30000>;
-				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&cps_clk 1 15>;
-				status = "disabled";
-			};
-
 			cps_usb3_0: usb3 at 500000 {
 				compatible = "marvell,armada-8k-xhci",
 					     "generic-xhci";
@@ -192,6 +183,15 @@
 				status = "disabled";
 			};
 
+			cps_sata0: sata at 540000 {
+				compatible = "marvell,armada-8k-ahci",
+					     "generic-ahci";
+				reg = <0x540000 0x30000>;
+				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&cps_clk 1 15>;
+				status = "disabled";
+			};
+
 			cps_xor0: xor at 6a0000 {
 				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
 				reg = <0x6a0000 0x1000>,
Signature · 1 line
2.13.2
#1 lore raw

PATCH 1/1 arm64: dts: marvell: Fully re-order nodes in Marvell CP110 dtsi files

Hi,

Quoted 5 lines · Gregory CLEMENT

Since the introduction of the CP110 dt files, the sata node was misplaced. Move it at the right place. Thanks to this, the files are completely ordered.

Applied on mvebu/dt64

Gregory

Quoted 85 lines
---
 arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 18 +++++++++---------
 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi  | 18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +9 -9
index 394e54d37fff..1acd6a92d1a7 100644
@@ -162,15 +162,6 @@
 				};
 			};
 
-			cpm_sata0: sata at 540000 {
-				compatible = "marvell,armada-8k-ahci",
-					     "generic-ahci";
-				reg = <0x540000 0x30000>;
-				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&cpm_clk 1 15>;
-				status = "disabled";
-			};
-
 			cpm_usb3_0: usb3 at 500000 {
 				compatible = "marvell,armada-8k-xhci",
 					     "generic-xhci";
@@ -191,6 +182,15 @@
 				status = "disabled";
 			};
 
+			cpm_sata0: sata at 540000 {
+				compatible = "marvell,armada-8k-ahci",
+					     "generic-ahci";
+				reg = <0x540000 0x30000>;
+				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&cpm_clk 1 15>;
+				status = "disabled";
+			};
+
 			cpm_xor0: xor at 6a0000 {
 				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
 				reg = <0x6a0000 0x1000>,
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +9 -9
index 2e6422a66d76..a21814855799 100644
@@ -163,15 +163,6 @@
 
 			};
 
-			cps_sata0: sata at 540000 {
-				compatible = "marvell,armada-8k-ahci",
-					     "generic-ahci";
-				reg = <0x540000 0x30000>;
-				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
-				clocks = <&cps_clk 1 15>;
-				status = "disabled";
-			};
-
 			cps_usb3_0: usb3 at 500000 {
 				compatible = "marvell,armada-8k-xhci",
 					     "generic-xhci";
@@ -192,6 +183,15 @@
 				status = "disabled";
 			};
 
+			cps_sata0: sata at 540000 {
+				compatible = "marvell,armada-8k-ahci",
+					     "generic-ahci";
+				reg = <0x540000 0x30000>;
+				interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&cps_clk 1 15>;
+				status = "disabled";
+			};
+
 			cps_xor0: xor at 6a0000 {
 				compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
 				reg = <0x6a0000 0x1000>,
Signature · 7 lines
2.13.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com