ARM64: dts: marvell: armada-cp110: Add registers clock for sata node
Subsystems (2)
Gregory CLEMENT
maintainerPATCH 1/1 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.
--- arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-cp110.dtsi +2 -1
@@ -236,7 +236,8 @@ "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"; };
Signature · 1 line
2.15.1
Gregory CLEMENT
maintainerPATCH 1/1 ARM64: dts: marvell: armada-cp110: Add registers clock for sata node
Hi,
Quoted 8 lines · Gregory CLEMENT
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.
Applied on mvebu/dt64
Gregory
Quoted 22 lines
Signed-off-by Gregory CLEMENT <[email protected]>--- arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm64/boot/dts/marvell/armada-cp110.dtsi +2
-1@@ -236,7 +236,8 @@ "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"; };Signature · 1 line
2.15.1
Signature · 3 lines
Gregory Clement, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com