Thread (1 message) 1 message, 1 author, 2015-11-24

[PATCH] ARM: DTS: LS1021A: add SATA node to DTS

From: shawnguo@kernel.org (Shawn Guo)
Date: 2015-11-24 08:38:40
Also in: linux-devicetree

On Tue, Nov 10, 2015 at 11:06:38AM +0800, Yuantian.Tang at freescale.com wrote:
quoted hunk
From: Tang Yuantian <redacted>

Added SATA node to LS1021A DTS to support SATA function.

Signed-off-by: Tang Yuantian <redacted>
---
 arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 973a496..89e2af3 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -142,6 +142,16 @@
 			status = "disabled";
 		};
 
+		sata: sata at 3200000 {
+			compatible = "fsl,ls1021a-ahci";
+			reg = <0x0 0x3200000 0x0 0x10000>,
+			      <0x0 0x20220520 0x0 0x4>;
+			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&platform_clk 1>;
+			reg-names = "ahci", "sata-ecc";
Please put 'reg-names' right after 'reg'.

Shawn
+			dma-coherent;
+		};
+
 		scfg: scfg at 1570000 {
 			compatible = "fsl,ls1021a-scfg", "syscon";
 			reg = <0x0 0x1570000 0x0 0x10000>;
-- 
2.1.0.27.g96db324


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help