From c137ba9b41c739ae7992921182ba94b0b7d52e82 Mon Sep 17 00:00:00 2001 From: Gregory CLEMENT Date: Thu, 15 Feb 2018 14:44:23 +0100 Subject: [PATCH] ARM64: dts: marvell: armada-cp110: Add registers clock for sata node 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 --- arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi index 0709b19eb328..215cdc65447c 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi @@ -230,7 +230,8 @@ CP110_LABEL(sata0): sata@540000 { "generic-ahci"; reg = <0x540000 0x30000>; interrupts = ; - clocks = <&CP110_LABEL(clk) 1 15>; + clocks = <&CP110_LABEL(clk) 1 15>, + <&CP110_LABEL(clk) 1 16>; status = "disabled"; }; -- 2.45.2