summaryrefslogtreecommitdiffstats
path: root/board/altera/nios2-generic/gpio.c
Commit message (Collapse)AuthorAgeFilesLines
* nios2: add gpio_requestThomas Chou2010-07-121-0/+5
| | | | | | | This will be used by nand_plat. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
* nios2: add gpio support to nios2-generic boardThomas Chou2010-05-281-0/+55
This patch adds gpio support of Altera PIO component to the nios2-generic board. Though it drives only gpio_led at the moment, it supports bidirectional port to control bit-banging I2C, NAND flash busy status or button switches, etc. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Tested-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
OpenPOWER on IntegriCloud