]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
Xilinx: ARM: BSP: Updated timer to use device tree
authorJohn Linn <john.linn@xilinx.com>
Thu, 17 Nov 2011 16:46:04 +0000 (08:46 -0800)
committerJohn Linn <john.linn@xilinx.com>
Thu, 17 Nov 2011 16:46:04 +0000 (08:46 -0800)
commitc693719f29694b6c3a72e659caf4d6e0bb93e090
tree5d5bf2f03e2af640562fba73a812f9fe5631f37c
parent5d397b7701692fde9dd8e572bc4820ffba093fa4
Xilinx: ARM: BSP: Updated timer to use device tree

The timer was using hard coded input frequencies and this won't
work on the real chip. It now pulls it's configuration information
from the device tree including the input clock frequency.

This change also allows some backward compatability when the
timer information is not present in the device tree and this should
be removed in the future.

The early vm settings for the timer were also removed as the driver
now uses ioremap. The device tree source and binary were updated to
match.
arch/arm/boot/dts/zynq-ep107.dts
arch/arm/mach-zynq/common.c
arch/arm/mach-zynq/timer.c
zynq-ep107.dtb