Skip to content

Commit

Permalink
[PATCH] m68knommu: add 5208 ColdFire pit timer support
Browse files Browse the repository at this point in the history
Add support for the PIT timer used in the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally modified by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Nov 2, 2005
1 parent 95dad9b commit c9b6871
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/asm-m68knommu/mcfpit.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@
#include <linux/config.h>

/*
* Get address specific defines for the 5270/5271 and 5280/5282.
* Get address specific defines for the 5270/5271, 5280/5282, and 5208.
*/
#if defined(CONFIG_M520x)
#define MCFPIT_BASE1 0x00080000 /* Base address of TIMER1 */
#define MCFPIT_BASE2 0x00084000 /* Base address of TIMER2 */
#else
#define MCFPIT_BASE1 0x00150000 /* Base address of TIMER1 */
#define MCFPIT_BASE2 0x00160000 /* Base address of TIMER2 */
#define MCFPIT_BASE3 0x00170000 /* Base address of TIMER3 */
#define MCFPIT_BASE4 0x00180000 /* Base address of TIMER4 */

#endif

/*
* Define the PIT timer register set addresses.
Expand Down

0 comments on commit c9b6871

Please sign in to comment.