summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-19 14:18:09 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 23:15:47 +0100
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 4c248e30fcb..4ff10815127 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -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";
};
};
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index fbe30f5e98a..3744ea18be7 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -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";
};
};