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 ac8df5201cd656d70073bc03cd13436435b79c66..576e825585c92f607cd3e8451d61d9e7be1dcf9a 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 7740a75a823084d027ffab1c02d221f3083dea87..797208a11f9d260e7fda262f618f46bdf67c8fb6 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 {