diff mbox series

[U-Boot,1/3] armv8: dts: fsl-ls1043a: add sata node support

Message ID 20180709104035.36469-1-peng.ma@nxp.com
State Superseded
Delegated to: York Sun
Headers show
Series [U-Boot,1/3] armv8: dts: fsl-ls1043a: add sata node support | expand

Commit Message

Peng Ma July 9, 2018, 10:40 a.m. UTC
From: Peng Ma <peng.ma@nxp.com>

Add sata node to support ls1043a.

Signed-off-by: Peng Ma <peng.ma@nxp.com>
---
 arch/arm/dts/fsl-ls1043a-qds.dtsi |    4 ++++
 arch/arm/dts/fsl-ls1043a.dtsi     |    8 ++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi b/arch/arm/dts/fsl-ls1043a-qds.dtsi
index addb9ab..3841aee 100644
--- a/arch/arm/dts/fsl-ls1043a-qds.dtsi
+++ b/arch/arm/dts/fsl-ls1043a-qds.dtsi
@@ -174,3 +174,7 @@ 
 &lpuart0 {
 	status = "okay";
 };
+
+&sata {
+	status = "okay";
+};
diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi
index a804f51..bb70992 100644
--- a/arch/arm/dts/fsl-ls1043a.dtsi
+++ b/arch/arm/dts/fsl-ls1043a.dtsi
@@ -287,5 +287,13 @@ 
 			ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000   /* downstream I/O */
 				  0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
 		};
+
+		sata: sata@3200000 {
+			compatible = "fsl,ls1043a-ahci";
+			reg = <0x0 0x3200000 0x0 0x10000>;
+			interrupts = <0 69 4>;
+			clocks = <&clockgen 4 0>;
+			status = "disabled";
+		};
 	};
 };