]> Pileus Git - ~andy/linux/commitdiff
arm: mvebu: add 'clocks' property to Ethernet nodes for Armada 370/XP SoCs
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 19 Nov 2012 13:18:09 +0000 (14:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 22:15:47 +0000 (23:15 +0100)
The mvneta driver now understands a standard 'clocks' clock pointer
property in the Device Tree nodes for the Ethernet devices, so we add
the right clock reference for the different Ethernet ports of the
Armada 370/XP SoCs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-xp.dtsi

index 4c248e30fcb37150aa4cf85c16541282bd479fce..4ff10815127862f8492a5e6112ff369e4a9844a6 100644 (file)
@@ -90,6 +90,7 @@
                                compatible = "marvell,armada-370-neta";
                                reg = <0xd0070000 0x2500>;
                                interrupts = <8>;
+                               clocks = <&gateclk 4>;
                                status = "disabled";
                };
 
@@ -97,6 +98,7 @@
                                compatible = "marvell,armada-370-neta";
                                reg = <0xd0074000 0x2500>;
                                interrupts = <10>;
+                               clocks = <&gateclk 3>;
                                status = "disabled";
                };
        };
index fbe30f5e98a8aa37c2fd68c0d17f66130f6d018a..3744ea18be7273267de1ee05184b83c680ff008d 100644 (file)
@@ -76,6 +76,7 @@
                                compatible = "marvell,armada-370-neta";
                                reg = <0xd0030000 0x2500>;
                                interrupts = <12>;
+                               clocks = <&gateclk 2>;
                                status = "disabled";
                };
 
@@ -83,6 +84,7 @@
                                compatible = "marvell,armada-370-neta";
                                reg = <0xd0034000 0x2500>;
                                interrupts = <14>;
+                               clocks = <&gateclk 1>;
                                status = "disabled";
                };
        };