mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 07:01:24 +00:00
gpio: am43xx: expand gpio support
AM43XX SoCs support up to 192 GPIO signals. Make this amount available to the driver. Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
This commit is contained in:
parent
9fbdca6056
commit
4eaf126e06
1 changed files with 4 additions and 0 deletions
|
@ -6,7 +6,11 @@
|
|||
|
||||
#include <asm/omap_gpio.h>
|
||||
|
||||
#ifdef CONFIG_AM43XX
|
||||
#define OMAP_MAX_GPIO 192
|
||||
#else
|
||||
#define OMAP_MAX_GPIO 128
|
||||
#endif
|
||||
|
||||
#define AM33XX_GPIO0_BASE 0x44E07000
|
||||
#define AM33XX_GPIO1_BASE 0x4804C000
|
||||
|
|
Loading…
Reference in a new issue