diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-03-26 03:33:58 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-04-07 21:23:08 +0400 |
commit | a6e03dd451c724f785277d8ecca5d1a0b886d892 (patch) | |
tree | 2de7355716e5e4f78060b44c7ce965c33a771674 /arch/arm/boot/dts/armada-370-xp.dtsi | |
parent | dcdf9cfc4868878957d5c372f82b233143ec4320 (diff) | |
download | linux-a6e03dd451c724f785277d8ecca5d1a0b886d892.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-xp.dtsi')
-rw-r--r-- | arch/arm/boot/dts/armada-370-xp.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index bbb40f62037d..bb77970c0b12 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi @@ -230,6 +230,7 @@ #size-cells = <0>; compatible = "marvell,orion-mdio"; reg = <0x72004 0x4>; + clocks = <&gateclk 4>; }; eth1: ethernet@74000 { |