gpio: add driver for Atmel SAM3 PIO controllers

The PIO controllers on Atmel SAM3 family processors can be
used for GPIOs, so this is the driver.

Change-Id: I3d5712f3a0a71025b820ca1c08dd767ee1e136d8
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2016-01-29 13:51:57 -08:00 committed by Anas Nashif
commit f6a5bfcfa1
5 changed files with 537 additions and 0 deletions

View file

@ -155,4 +155,20 @@ config UART_CONSOLE_IRQ_PRI
endif # UART_CONSOLE
if GPIO_ATMEL_SAM3
config GPIO_ATMEL_SAM3_PORTA
default y
config GPIO_ATMEL_SAM3_PORTB
default y
config GPIO_ATMEL_SAM3_PORTC
default y
config GPIO_ATMEL_SAM3_PORTD
default y
endif # GPIO_ATMEL_SAM3
endif # SOC_ATMEL_SAM3