ARM64: dts: marvell: armada-cp110: Add registers clock for the PCIe nodes
authorGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 14 Mar 2018 16:19:28 +0000 (17:19 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 19 Mar 2018 16:13:53 +0000 (17:13 +0100)
This extra clock is needed to access the registers of the PCIe host
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): "PCI: armada8k: 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 9ffb86b..48cad79 100644 (file)
                interrupt-map = <0 0 0 0 &CP110_LABEL(icu) ICU_GRP_NSR 22 IRQ_TYPE_LEVEL_HIGH>;
                interrupts = <ICU_GRP_NSR 22 IRQ_TYPE_LEVEL_HIGH>;
                num-lanes = <1>;
-               clocks = <&CP110_LABEL(clk) 1 13>;
+               clock-names = "core", "reg";
+               clocks = <&CP110_LABEL(clk) 1 13>, <&CP110_LABEL(clk) 1 14>;
                status = "disabled";
        };
 
                interrupts = <ICU_GRP_NSR 24 IRQ_TYPE_LEVEL_HIGH>;
 
                num-lanes = <1>;
-               clocks = <&CP110_LABEL(clk) 1 11>;
+               clock-names = "core", "reg";
+               clocks = <&CP110_LABEL(clk) 1 11>, <&CP110_LABEL(clk) 1 14>;
                status = "disabled";
        };
 
                interrupts = <ICU_GRP_NSR 23 IRQ_TYPE_LEVEL_HIGH>;
 
                num-lanes = <1>;
-               clocks = <&CP110_LABEL(clk) 1 12>;
+               clock-names = "core", "reg";
+               clocks = <&CP110_LABEL(clk) 1 12>, <&CP110_LABEL(clk) 1 14>;
                status = "disabled";
        };
 };