Andrew Victor | 6171de8 | 2006-11-30 14:34:53 +0100 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-arm/arch-at91rm9200/at91_pdc.h |
| 3 | * |
| 4 | * Copyright (C) 2005 Ivan Kokshaysky |
| 5 | * Copyright (C) SAN People |
| 6 | * |
| 7 | * Peripheral Data Controller (PDC) registers. |
| 8 | * Based on AT91RM9200 datasheet revision E. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | */ |
| 15 | |
| 16 | #ifndef AT91_PDC_H |
| 17 | #define AT91_PDC_H |
| 18 | |
| 19 | #define AT91_PDC_RPR 0x100 /* Receive Pointer Register */ |
| 20 | #define AT91_PDC_RCR 0x104 /* Receive Counter Register */ |
| 21 | #define AT91_PDC_TPR 0x108 /* Transmit Pointer Register */ |
| 22 | #define AT91_PDC_TCR 0x10c /* Transmit Counter Register */ |
| 23 | #define AT91_PDC_RNPR 0x110 /* Receive Next Pointer Register */ |
| 24 | #define AT91_PDC_RNCR 0x114 /* Receive Next Counter Register */ |
| 25 | #define AT91_PDC_TNPR 0x118 /* Transmit Next Pointer Register */ |
| 26 | #define AT91_PDC_TNCR 0x11c /* Transmit Next Counter Register */ |
| 27 | |
| 28 | #define AT91_PDC_PTCR 0x120 /* Transfer Control Register */ |
| 29 | #define AT91_PDC_RXTEN (1 << 0) /* Receiver Transfer Enable */ |
| 30 | #define AT91_PDC_RXTDIS (1 << 1) /* Receiver Transfer Disable */ |
| 31 | #define AT91_PDC_TXTEN (1 << 8) /* Transmitter Transfer Enable */ |
| 32 | #define AT91_PDC_TXTDIS (1 << 9) /* Transmitter Transfer Disable */ |
| 33 | |
| 34 | #define AT91_PDC_PTSR 0x124 /* Transfer Status Register */ |
| 35 | |
| 36 | #endif |