summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-12-18 17:18:48 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-01-27 11:24:55 +0100
commitc1120542b99a67a620cd8a298975d76dca5a13f0 (patch)
tree942aaf1e8d3d0c08a3cdbee5316f14dd4a901083 /arch/microblaze/include/asm
parent21ecc1f1d2e01ddbd75c3db208236628474a43e1 (diff)
downloadblackbird-op-linux-c1120542b99a67a620cd8a298975d76dca5a13f0.tar.gz
blackbird-op-linux-c1120542b99a67a620cd8a298975d76dca5a13f0.zip
microblaze: Add support for CCF
Add support for CCF for Microblaze. Old binding: system_timer: system-timer@41c00000 { clock-frequency = <75000000>; ... } New binding: system_timer: system-timer@41c00000 { clocks = <&clk_bus>; ... } Both should be supported for a while Microblaze clock binding: clocks { #address-cells = <1>; #size-cells = <0>; clk_bus: bus { #clock-cells = <0>; clock-frequency = <75000000>; clock-output-names = "bus"; compatible = "fixed-clock"; reg = <1>; } ; clk_cpu: cpu { #clock-cells = <0>; clock-frequency = <75000000>; clock-output-names = "cpu"; compatible = "fixed-clock"; reg = <0>; } ; } ; Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r--arch/microblaze/include/asm/cpuinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/cpuinfo.h b/arch/microblaze/include/asm/cpuinfo.h
index 7161fb575861..3337417fcdca 100644
--- a/arch/microblaze/include/asm/cpuinfo.h
+++ b/arch/microblaze/include/asm/cpuinfo.h
@@ -91,6 +91,7 @@ extern struct cpuinfo cpuinfo;
/* fwd declarations of the various CPUinfo populators */
void setup_cpuinfo(void);
+void setup_cpuinfo_clk(void);
void set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu);
void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu);
OpenPOWER on IntegriCloud