From cbcef6d7b5b903954feff8a35986727622c49934 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 14 Dec 2013 01:14:38 +0000 Subject: MFC r258820: Add definitions for the PIO pins found on recent AT91 SoCs. --- sys/arm/at91/at91_pioreg.h | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/sys/arm/at91/at91_pioreg.h b/sys/arm/at91/at91_pioreg.h index 3d7a5cc..7869d9d 100644 --- a/sys/arm/at91/at91_pioreg.h +++ b/sys/arm/at91/at91_pioreg.h @@ -164,5 +164,69 @@ #define AT91C_PIO_PC29 ((unsigned int) 1 << 29) // Pin Controlled by PC29 #define AT91C_PIO_PC30 ((unsigned int) 1 << 30) // Pin Controlled by PC30 #define AT91C_PIO_PC31 ((unsigned int) 1 << 31) // Pin Controlled by PC31 +#define AT91C_PIO_PD0 ((unsigned int) 1 << 0) // Pin Controlled by PD0 +#define AT91C_PIO_PD1 ((unsigned int) 1 << 1) // Pin Controlled by PD1 +#define AT91C_PIO_PD2 ((unsigned int) 1 << 2) // Pin Controlled by PD2 +#define AT91C_PIO_PD3 ((unsigned int) 1 << 3) // Pin Controlled by PD3 +#define AT91C_PIO_PD4 ((unsigned int) 1 << 4) // Pin Controlled by PD4 +#define AT91C_PIO_PD5 ((unsigned int) 1 << 5) // Pin Controlled by PD5 +#define AT91C_PIO_PD6 ((unsigned int) 1 << 6) // Pin Controlled by PD6 +#define AT91C_PIO_PD7 ((unsigned int) 1 << 7) // Pin Controlled by PD7 +#define AT91C_PIO_PD8 ((unsigned int) 1 << 8) // Pin Controlled by PD8 +#define AT91C_PIO_PD9 ((unsigned int) 1 << 9) // Pin Controlled by PD9 +#define AT91C_PIO_PD10 ((unsigned int) 1 << 10) // Pin Controlled by PD10 +#define AT91C_PIO_PD11 ((unsigned int) 1 << 11) // Pin Controlled by PD11 +#define AT91C_PIO_PD12 ((unsigned int) 1 << 12) // Pin Controlled by PD12 +#define AT91C_PIO_PD13 ((unsigned int) 1 << 13) // Pin Controlled by PD13 +#define AT91C_PIO_PD14 ((unsigned int) 1 << 14) // Pin Controlled by PD14 +#define AT91C_PIO_PD15 ((unsigned int) 1 << 15) // Pin Controlled by PD15 +#define AT91C_PIO_PD16 ((unsigned int) 1 << 16) // Pin Controlled by PD16 +#define AT91C_PIO_PD17 ((unsigned int) 1 << 17) // Pin Controlled by PD17 +#define AT91C_PIO_PD18 ((unsigned int) 1 << 18) // Pin Controlled by PD18 +#define AT91C_PIO_PD19 ((unsigned int) 1 << 19) // Pin Controlled by PD19 +#define AT91C_PIO_PD20 ((unsigned int) 1 << 20) // Pin Controlled by PD20 +#define AT91C_PIO_PD21 ((unsigned int) 1 << 21) // Pin Controlled by PD21 +#define AT91C_PIO_PD22 ((unsigned int) 1 << 22) // Pin Controlled by PD22 +#define AT91C_PIO_PD23 ((unsigned int) 1 << 23) // Pin Controlled by PD23 +#define AT91C_PIO_PD24 ((unsigned int) 1 << 24) // Pin Controlled by PD24 +#define AT91C_PIO_PD25 ((unsigned int) 1 << 25) // Pin Controlled by PD25 +#define AT91C_PIO_PD26 ((unsigned int) 1 << 26) // Pin Controlled by PD26 +#define AT91C_PIO_PD27 ((unsigned int) 1 << 27) // Pin Controlled by PD27 +#define AT91C_PIO_PD28 ((unsigned int) 1 << 28) // Pin Controlled by PD28 +#define AT91C_PIO_PD29 ((unsigned int) 1 << 29) // Pin Controlled by PD29 +#define AT91C_PIO_PD30 ((unsigned int) 1 << 30) // Pin Controlled by PD30 +#define AT91C_PIO_PD31 ((unsigned int) 1 << 31) // Pin Controlled by PD31 +#define AT91C_PIO_PE0 ((unsigned int) 1 << 0) // Pin Controlled by PE0 +#define AT91C_PIO_PE1 ((unsigned int) 1 << 1) // Pin Controlled by PE1 +#define AT91C_PIO_PE2 ((unsigned int) 1 << 2) // Pin Controlled by PE2 +#define AT91C_PIO_PE3 ((unsigned int) 1 << 3) // Pin Controlled by PE3 +#define AT91C_PIO_PE4 ((unsigned int) 1 << 4) // Pin Controlled by PE4 +#define AT91C_PIO_PE5 ((unsigned int) 1 << 5) // Pin Controlled by PE5 +#define AT91C_PIO_PE6 ((unsigned int) 1 << 6) // Pin Controlled by PE6 +#define AT91C_PIO_PE7 ((unsigned int) 1 << 7) // Pin Controlled by PE7 +#define AT91C_PIO_PE8 ((unsigned int) 1 << 8) // Pin Controlled by PE8 +#define AT91C_PIO_PE9 ((unsigned int) 1 << 9) // Pin Controlled by PE9 +#define AT91C_PIO_PE10 ((unsigned int) 1 << 10) // Pin Controlled by PE10 +#define AT91C_PIO_PE11 ((unsigned int) 1 << 11) // Pin Controlled by PE11 +#define AT91C_PIO_PE12 ((unsigned int) 1 << 12) // Pin Controlled by PE12 +#define AT91C_PIO_PE13 ((unsigned int) 1 << 13) // Pin Controlled by PE13 +#define AT91C_PIO_PE14 ((unsigned int) 1 << 14) // Pin Controlled by PE14 +#define AT91C_PIO_PE15 ((unsigned int) 1 << 15) // Pin Controlled by PE15 +#define AT91C_PIO_PE16 ((unsigned int) 1 << 16) // Pin Controlled by PE16 +#define AT91C_PIO_PE17 ((unsigned int) 1 << 17) // Pin Controlled by PE17 +#define AT91C_PIO_PE18 ((unsigned int) 1 << 18) // Pin Controlled by PE18 +#define AT91C_PIO_PE19 ((unsigned int) 1 << 19) // Pin Controlled by PE19 +#define AT91C_PIO_PE20 ((unsigned int) 1 << 20) // Pin Controlled by PE20 +#define AT91C_PIO_PE21 ((unsigned int) 1 << 21) // Pin Controlled by PE21 +#define AT91C_PIO_PE22 ((unsigned int) 1 << 22) // Pin Controlled by PE22 +#define AT91C_PIO_PE23 ((unsigned int) 1 << 23) // Pin Controlled by PE23 +#define AT91C_PIO_PE24 ((unsigned int) 1 << 24) // Pin Controlled by PE24 +#define AT91C_PIO_PE25 ((unsigned int) 1 << 25) // Pin Controlled by PE25 +#define AT91C_PIO_PE26 ((unsigned int) 1 << 26) // Pin Controlled by PE26 +#define AT91C_PIO_PE27 ((unsigned int) 1 << 27) // Pin Controlled by PE27 +#define AT91C_PIO_PE28 ((unsigned int) 1 << 28) // Pin Controlled by PE28 +#define AT91C_PIO_PE29 ((unsigned int) 1 << 29) // Pin Controlled by PE29 +#define AT91C_PIO_PE30 ((unsigned int) 1 << 30) // Pin Controlled by PE30 +#define AT91C_PIO_PE31 ((unsigned int) 1 << 31) // Pin Controlled by PE31 #endif /* ARM_AT91_AT91_PIOREG_H */ -- cgit v1.1