ARM64: dts: marvell: armada-cp110: Add registers clock for sata node
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 15 Feb 2018 13:44:23 +0000 (14:44 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Tue, 27 Feb 2018 16:47:48 +0000 (17:47 +0100)
This extra clock is needed to access the registers of the AHCI SATA
controller used on the Armada 7K/8K SoCs.

The ahci drivers was already designed to support up to 5 clocks so there
is only need to update the device tree to use it. It was not noticed
until now because of wrong assumption in the clock drivers, but as this
IP really needs 2 clocks, we had to declare both of them.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-cp110.dtsi

index 0709b19eb3280b99e0167189822e3e2569f22195..215cdc65447cd96ec39e7b0923d6faec12f0dc9a 100644 (file)
                        "generic-ahci";
                        reg = <0x540000 0x30000>;
                        interrupts = <ICU_GRP_NSR 107 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&CP110_LABEL(clk) 1 15>;
+                       clocks = <&CP110_LABEL(clk) 1 15>,
+                                <&CP110_LABEL(clk) 1 16>;
                        status = "disabled";
                };