arm64: dts: marvell: add generic-ahci compatibles for CP110 ahci
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 13 Jan 2017 18:57:39 +0000 (18:57 +0000)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 27 Jan 2017 10:13:01 +0000 (11:13 +0100)
Testing with an Armada 8040 board shows that adding the generic-ahci
compatible to the CP110 AHCI nodes gets us working AHCI on the board.
A previous patch series posted by Thomas Petazzoni was retracted when
it was realised that the IP was supposed to be, and is, compatible
with the standard register layout.

Add this compatible.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi

index 05222f7..a5fc201 100644 (file)
@@ -80,7 +80,8 @@
                        };
 
                        cpm_sata0: sata@540000 {
-                               compatible = "marvell,armada-8k-ahci";
+                               compatible = "marvell,armada-8k-ahci",
+                                            "generic-ahci";
                                reg = <0x540000 0x30000>;
                                interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&cpm_syscon0 1 15>;
index 638820c..f524074 100644 (file)
@@ -80,7 +80,8 @@
                        };
 
                        cps_sata0: sata@540000 {
-                               compatible = "marvell,armada-8k-ahci";
+                               compatible = "marvell,armada-8k-ahci",
+                                            "generic-ahci";
                                reg = <0x540000 0x30000>;
                                interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&cps_syscon0 1 15>;