summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-22 23:26:24 +0200
committerJason Cooper <jason@lakedaemon.net>2014-04-26 14:40:42 +0000
commit98d4db263ebcd32af128ed69acd713113ac16e9b (patch)
tree3c06d20db68d73f2280e7f3a0563d51c7f26cbef /arch/arm/boot/dts/orion5x-mv88f5182.dtsi
parent2864ed64ec884cfdd61430c9f1b975f9d410c1df (diff)
ARM: orion5x: switch to use the clock driver for DT platforms
This commit moves the Orion5x platforms using the Device Tree to use the recently introduced clock driver for Orion5x. To achieve that, it: * Adds the necessary DT description of the clock. * Selects ORION_CLK to enable the compilation of the clock driver. * Call of_clk_init() instead of the Orion5x-specific clock initialization function. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1398202002-28530-21-git-send-email-thomas.petazzoni@free-electrons.com Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/orion5x-mv88f5182.dtsi')
-rw-r--r--arch/arm/boot/dts/orion5x-mv88f5182.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/orion5x-mv88f5182.dtsi b/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
index ddfb4d17ff4c..a56f9c88efd0 100644
--- a/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
+++ b/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
@@ -15,6 +15,12 @@
compatible = "marvell,orion5x-88f5182-mbus", "simple-bus";
internal-regs {
+ core_clk: core-clocks@10030 {
+ compatible = "marvell,mv88f5182-core-clock";
+ reg = <0x10010 0x4>;
+ #clock-cells = <1>;
+ };
+
mbusc: mbus-controller@20000 {
compatible = "marvell,mbus-controller";
reg = <0x20000 0x100>, <0x1500 0x20>;