forked from Minki/linux
98d4db263e
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>
31 lines
728 B
Plaintext
31 lines
728 B
Plaintext
/*
|
|
* Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#include "orion5x.dtsi"
|
|
|
|
/ {
|
|
compatible = "marvell,orion5x-88f5182", "marvell,orion5x";
|
|
|
|
soc {
|
|
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>;
|
|
};
|
|
};
|
|
};
|
|
};
|