arm64: dts: marvell: add a reference to the sysctrl syscon in the ppv2 node
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Thu, 24 Aug 2017 08:46:38 +0000 (10:46 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 30 Aug 2017 09:37:01 +0000 (11:37 +0200)
The network driver on Marvell SoC (7k/8k) needs to access some registers
in the system controller to configure its ports at runtime. This patch
adds a phandle reference to the syscon system controller node in the
ppv2 node.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Tested-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi

index 0bfd4f8cf34e92a4cb211f82d125c6c9395bc643..8263a8a504a8fd11896da6aebc99eabdd4be928a 100644 (file)
@@ -65,6 +65,7 @@
                                reg = <0x0 0x100000>, <0x129000 0xb000>;
                                clocks = <&cpm_clk 1 3>, <&cpm_clk 1 9>, <&cpm_clk 1 5>;
                                clock-names = "pp_clk", "gop_clk", "mg_clk";
+                               marvell,system-controller = <&cpm_syscon0>;
                                status = "disabled";
                                dma-coherent;
 
index a020e1001806dee134349a46347daea6d562fd6c..b71ee6c83668e8900a4a889614ed83e97e718f85 100644 (file)
@@ -65,6 +65,7 @@
                                reg = <0x0 0x100000>, <0x129000 0xb000>;
                                clocks = <&cps_clk 1 3>, <&cps_clk 1 9>, <&cps_clk 1 5>;
                                clock-names = "pp_clk", "gop_clk", "mg_clk";
+                               marvell,system-controller = <&cps_syscon0>;
                                status = "disabled";
                                dma-coherent;