Patchwork [6/6] ARM: berlin: add the AHCI node for the BG2CD

login
register
mail settings
Submitter Antoine Ténart
Date April 22, 2014, 3:38 p.m.
Message ID <1398181105-19714-7-git-send-email-antoine.tenart@free-electrons.com>
Download mbox | patch
Permalink /patch/341388/
State New
Headers show

Comments

Antoine Ténart - April 22, 2014, 3:38 p.m.
The BG2CD has an AHCI SATA controller. Add the corresponding node
in its device tree.

Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
---
 arch/arm/boot/dts/berlin2cd.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
Jisheng Zhang - April 23, 2014, 2:43 a.m.
Hi Antoine,

On Tue, 22 Apr 2014 08:38:25 -0700
Antoine Ténart <antoine.tenart@free-electrons.com> wrote:

> The BG2CD has an AHCI SATA controller. Add the corresponding node
> in its device tree.

BG2CD doesn't has AHCI controller. 

Thanks

Patch

diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi
index 094968c27533..3974a5cafccf 100644
--- a/arch/arm/boot/dts/berlin2cd.dtsi
+++ b/arch/arm/boot/dts/berlin2cd.dtsi
@@ -169,6 +169,13 @@ 
 			};
 		};
 
+		ahci: sata@e90000 {
+			compatible = "marvell,berlin-ahci";
+			reg = <0xe90000 0x10000>;
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disable";
+		};
+
 		apb@fc0000 {
 			compatible = "simple-bus";
 			#address-cells = <1>;