mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:26:48 +07:00
9d0412680e
Now that Linux includes support for the Atmel AT91SAM9260 and AT91SAM9261 processors in addition to the original Atmel AT91RM9200 (with support for more AT91 processors pending), the "mach-at91rm9200" and "arch-at91rm9200" directories should be renamed to indicate their more generic nature. The following git commands should be run BEFORE applying this patch: git-mv arch/arm/mach-at91rm9200 arch/arm/mach-at91 git-mv include/asm-arm/arch-at91rm9200 include/asm-arm/arch-at91 Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
/*
|
|
* include/asm-arm/arch-at91/at91_pit.h
|
|
*
|
|
* Periodic Interval Timer (PIT) - System peripherals regsters.
|
|
* Based on AT91SAM9261 datasheet revision D.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef AT91_PIT_H
|
|
#define AT91_PIT_H
|
|
|
|
#define AT91_PIT_MR (AT91_PIT + 0x00) /* Mode Register */
|
|
#define AT91_PIT_PITIEN (1 << 25) /* Timer Interrupt Enable */
|
|
#define AT91_PIT_PITEN (1 << 24) /* Timer Enabled */
|
|
#define AT91_PIT_PIV (0xfffff) /* Periodic Interval Value */
|
|
|
|
#define AT91_PIT_SR (AT91_PIT + 0x04) /* Status Register */
|
|
#define AT91_PIT_PITS (1 << 0) /* Timer Status */
|
|
|
|
#define AT91_PIT_PIVR (AT91_PIT + 0x08) /* Periodic Interval Value Register */
|
|
#define AT91_PIT_PIIR (AT91_PIT + 0x0c) /* Periodic Interval Image Register */
|
|
#define AT91_PIT_PICNT (0xfff << 20) /* Interval Counter */
|
|
#define AT91_PIT_CPIV (0xfffff) /* Inverval Value */
|
|
|
|
#endif
|