ARM: mvebu: ensure the mdio node has a clock reference on Armada 370/XP
commita6e03dd451c724f785277d8ecca5d1a0b886d892
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Mar 2014 23:33:58 +0000 (26 00:33 +0100)
committerJason Cooper <jason@lakedaemon.net>
Mon, 7 Apr 2014 17:23:08 +0000 (7 17:23 +0000)
tree2de7355716e5e4f78060b44c7ce965c33a771674
parentdcdf9cfc4868878957d5c372f82b233143ec4320
ARM: mvebu: ensure the mdio node has a clock reference on Armada 370/XP

The mvmdio driver accesses some register of the Ethernet unit. It
therefore takes a reference and enables a clock. However, on Armada
370/XP, no clock specification was given in the Device Tree, which
leads the mvmdio driver to fail when being used as a module and loaded
before the mvneta driver: it tries to access a register from a
hardware unit that isn't clocked.

Cc: stable@vger.kernel.org
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1395790439-21332-2-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi