aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuantian Tang2017-03-13 21:29:34 -0500
committerShawn Guo2017-03-14 03:11:49 -0500
commit427700a7ca54a2d7f83456d4299778ccf97a4722 (patch)
tree2f34c7a77f1284a3da3e58703653032852b66859
parentc8cc48acb25cc951401b48f3ba778ea960a6ecfc (diff)
downloadkernel-427700a7ca54a2d7f83456d4299778ccf97a4722.tar.gz
kernel-427700a7ca54a2d7f83456d4299778ccf97a4722.tar.xz
kernel-427700a7ca54a2d7f83456d4299778ccf97a4722.zip
arm64: dts: updated sata node on ls1012a platform
Updated sata node to add ecc register address and dma coherence property. Enable sata on ls1012a platforms as well. Signed-off-by: Tang Yuantian <andy.tang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts4
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts4
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts4
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi5
4 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
index a619f6496a4c..17fae8112e4d 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
@@ -113,3 +113,7 @@
113&sai2 { 113&sai2 {
114 status = "okay"; 114 status = "okay";
115}; 115};
116
117&sata {
118 status = "okay";
119};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
index 14a67f1709e7..e2a93d53d3d8 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
@@ -126,3 +126,7 @@
126&sai2 { 126&sai2 {
127 status = "okay"; 127 status = "okay";
128}; 128};
129
130&sata {
131 status = "okay";
132};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
index 62c5c7123a15..ed77f6b0937b 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
@@ -57,3 +57,7 @@
57&i2c0 { 57&i2c0 {
58 status = "okay"; 58 status = "okay";
59}; 59};
60
61&sata {
62 status = "okay";
63};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
index cffebb4b3df1..a1c5112f1582 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
@@ -238,9 +238,12 @@
238 238
239 sata: sata@3200000 { 239 sata: sata@3200000 {
240 compatible = "fsl,ls1012a-ahci", "fsl,ls1043a-ahci"; 240 compatible = "fsl,ls1012a-ahci", "fsl,ls1043a-ahci";
241 reg = <0x0 0x3200000 0x0 0x10000>; 241 reg = <0x0 0x3200000 0x0 0x10000>,
242 <0x0 0x20140520 0x0 0x4>;
243 reg-names = "ahci", "sata-ecc";
242 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; 244 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
243 clocks = <&clockgen 4 0>; 245 clocks = <&clockgen 4 0>;
246 dma-coherent;
244 status = "disabled"; 247 status = "disabled";
245 }; 248 };
246 }; 249 };