aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-19 08:18:09 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 17:15:47 -0500
commit4aa935a2cfd164362680eb4a7919c89a4b8ddb48 (patch)
tree916f01d007b8b059790f43b5ffbb18b1ad840ae3
parent70eeaf98453191e5aede957c0c2ece05cf1a0f23 (diff)
arm: mvebu: add 'clocks' property to Ethernet nodes for Armada 370/XP SoCs
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>
-rw-r--r--arch/arm/boot/dts/armada-370-xp.dtsi2
-rw-r--r--arch/arm/boot/dts/armada-xp.dtsi2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index 4c248e30fcb3..4ff108151278 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -90,6 +90,7 @@
90 compatible = "marvell,armada-370-neta"; 90 compatible = "marvell,armada-370-neta";
91 reg = <0xd0070000 0x2500>; 91 reg = <0xd0070000 0x2500>;
92 interrupts = <8>; 92 interrupts = <8>;
93 clocks = <&gateclk 4>;
93 status = "disabled"; 94 status = "disabled";
94 }; 95 };
95 96
@@ -97,6 +98,7 @@
97 compatible = "marvell,armada-370-neta"; 98 compatible = "marvell,armada-370-neta";
98 reg = <0xd0074000 0x2500>; 99 reg = <0xd0074000 0x2500>;
99 interrupts = <10>; 100 interrupts = <10>;
101 clocks = <&gateclk 3>;
100 status = "disabled"; 102 status = "disabled";
101 }; 103 };
102 }; 104 };
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index fbe30f5e98a8..3744ea18be72 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -76,6 +76,7 @@
76 compatible = "marvell,armada-370-neta"; 76 compatible = "marvell,armada-370-neta";
77 reg = <0xd0030000 0x2500>; 77 reg = <0xd0030000 0x2500>;
78 interrupts = <12>; 78 interrupts = <12>;
79 clocks = <&gateclk 2>;
79 status = "disabled"; 80 status = "disabled";
80 }; 81 };
81 82
@@ -83,6 +84,7 @@
83 compatible = "marvell,armada-370-neta"; 84 compatible = "marvell,armada-370-neta";
84 reg = <0xd0034000 0x2500>; 85 reg = <0xd0034000 0x2500>;
85 interrupts = <14>; 86 interrupts = <14>;
87 clocks = <&gateclk 1>;
86 status = "disabled"; 88 status = "disabled";
87 }; 89 };
88 }; 90 };