summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/atmel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/atmel.h')
-rw-r--r--include/linux/platform_data/atmel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h
index dbd6d53cc27..6a293b7fff3 100644
--- a/include/linux/platform_data/atmel.h
+++ b/include/linux/platform_data/atmel.h
@@ -19,6 +19,12 @@
#include <linux/serial.h>
#include <linux/platform_data/macb.h>
+/*
+ * at91: 6 USARTs and one DBGU port (SAM9260)
+ * avr32: 4
+ */
+#define ATMEL_MAX_UART 7
+
/* USB Device */
struct at91_udc_data {
int vbus_pin; /* high == host powering us */