ARM64: dts: marvell: armada-cp110: Add registers clock for XOR engine nodes
authorGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 14 Mar 2018 16:19:24 +0000 (17:19 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 19 Mar 2018 16:13:41 +0000 (17:13 +0100)
This extra clock is needed to access the registers of the XOR engine
controller used on CP110 component of the Armada 7K/8K SoCs.

This follow the changes already made in the binding documentation (as
well as in the driver): "dmaengine: mv_xor_v2: Fix clock resource by
adding a register clock"

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

index c35368d..a51c553 100644 (file)
                        reg = <0x6a0000 0x1000>, <0x6b0000 0x1000>;
                        dma-coherent;
                        msi-parent = <&gic_v2m0>;
-                       clocks = <&CP110_LABEL(clk) 1 8>;
+                       clock-names = "core", "reg";
+                       clocks = <&CP110_LABEL(clk) 1 8>,
+                                <&CP110_LABEL(clk) 1 14>;
                };
 
                CP110_LABEL(xor1): xor@6c0000 {
                        reg = <0x6c0000 0x1000>, <0x6d0000 0x1000>;
                        dma-coherent;
                        msi-parent = <&gic_v2m0>;
-                       clocks = <&CP110_LABEL(clk) 1 7>;
+                       clock-names = "core", "reg";
+                       clocks = <&CP110_LABEL(clk) 1 7>,
+                                <&CP110_LABEL(clk) 1 14>;
                };
 
                CP110_LABEL(spi0): spi@700600 {