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:
parent
cae35e2460
commit
f6a5bfcfa1
5 changed files with 537 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue