arm64: dts: marvell: cp110: add required clocks for mdio interface
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 6 Jun 2017 09:57:15 +0000 (11:57 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 17 Jun 2017 06:19:04 +0000 (08:19 +0200)
Add the three required clocks for the MDIO interface to be functional
on Armada 8k platforms.  Without this, the CPU hangs, causing RCU
stalls or the system to become unresponsive.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
[Thomas:
 - remove mg_core_clock, since it's a parent of mg_clock
 - also add clock references to the slave CP mdio instance]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Marc Zyngier <marc.zyngier@arm.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 ac8df52..576e825 100644 (file)
@@ -94,6 +94,7 @@
                                #size-cells = <0>;
                                compatible = "marvell,orion-mdio";
                                reg = <0x12a200 0x10>;
+                               clocks = <&cpm_syscon0 1 9>, <&cpm_syscon0 1 5>;
                        };
 
                        cpm_syscon0: system-controller@440000 {
index 7740a75..797208a 100644 (file)
                                #size-cells = <0>;
                                compatible = "marvell,orion-mdio";
                                reg = <0x12a200 0x10>;
+                               clocks = <&cps_syscon0 1 9>, <&cps_syscon0 1 5>;
                        };
 
                        cps_syscon0: system-controller@440000 {