sh: Use sh7723 GPIO on AP325RXA board

This patch enables the GPIO code on AP325RXA and converts the code from
register based pinmux configuration to GPIO based pin by pin setup.
While at it 2 LEDs and one switch are added and exported to user space.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Este commit está contenido en:
Magnus Damm
2008-10-08 20:42:20 +09:00
cometido por Paul Mundt
padre 0436ec15ae
commit 16587c453b
Se han modificado 2 ficheros con 75 adiciones y 26 borrados

Ver fichero

@@ -170,6 +170,7 @@ config SH_MIGOR
config SH_AP325RXA
bool "AP-325RXA"
depends on CPU_SUBTYPE_SH7723
select GENERIC_GPIO
help
Renesas "AP-325RXA" support.
Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"