Skip to contentSkip to conversation

arm64: dts: added ecc register address to sata node on ls1043a

PATCH New yuantian.tang at nxp.com 2 participants 3 messages Feb 9, 2017 – Mar 8, 2017

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

PATCH 1/2 arm64: dts: added ecc register address to sata node on ls1043a

From: Tang Yuantian <[email protected]>

For ls1043 sata, ecc should be disabled due to a erratum. Provide the ecc register address for driver to use.

---
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +3 -1
index ec13a6e..45cface 100644
@@ -582,7 +582,9 @@
 
 		sata: sata at 3200000 {
 			compatible = "fsl,ls1043a-ahci";
-			reg = <0x0 0x3200000 0x0 0x10000>;
+			reg = <0x0 0x3200000 0x0 0x10000>,
+				<0x0 0x20140520 0x0 0x4>;
+			reg-names = "ahci", "sata-ecc";
 			interrupts = <0 69 0x4>;
 			clocks = <&clockgen 4 0>;
 			dma-coherent;
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 2/2 arm64: dts: added ecc register address to sata node on ls1046a

From: Tang Yuantian <[email protected]>

For ls1046 sata, ecc should be disabled due to a erratum. Provide the ecc register address for driver to use.

---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +3 -1
index 38806ca..ee19d74 100644
@@ -507,7 +507,9 @@
 
 		sata: sata at 3200000 {
 			compatible = "fsl,ls1046a-ahci";
-			reg = <0x0 0x3200000 0x0 0x10000>;
+			reg = <0x0 0x3200000 0x0 0x10000>,
+				<0x0 0x20140520 0x0 0x4>;
+			reg-names = "ahci", "sata-ecc";
 			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen 4 1>;
 		};
Signature · 1 line
2.1.0.27.g96db324