]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mvebu: Add missing MDIO clock in Armada 375
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 21 Jul 2014 16:48:16 +0000 (13:48 -0300)
committerJason Cooper <jason@lakedaemon.net>
Wed, 23 Jul 2014 12:04:40 +0000 (12:04 +0000)
In Armada 375 SoCs, the MDIO is handled by a separate orion-mdio driver,
despite the register is contained within the "LMS" block of the network
controller.

Therefore we need to add the clock to the MDIO devicetree to prevent the
controller from being accesed with its clock gated. This is needed, for
instance, to be able to load the MDIO driver before the network driver.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1405961296-5846-7-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-375.dtsi

index bfcbe5891f2cee3a59d2bd71c15c95d6cab796a1..c1e49e7bf0fa6505515cc0e5bf571263943285d3 100644 (file)
                                #size-cells = <0>;
                                compatible = "marvell,orion-mdio";
                                reg = <0xc0054 0x4>;
+                               clocks = <&gateclk 19>;
                        };
 
                        /* Network controller */