mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
f55be1bf52
The <mach/gpio.h> file is included from upper directories and deal with generic GPIO and gpiolib stuff. Break out the platform and driver specific defines and functions into its own header file. Cc: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
16 lines
337 B
C
16 lines
337 B
C
#ifndef __ASM_ARCH_LITTLETON_H
|
|
#define __ASM_ARCH_LITTLETON_H
|
|
|
|
#include <mach/gpio-pxa.h>
|
|
|
|
#define LITTLETON_ETH_PHYS 0x30000000
|
|
|
|
#define LITTLETON_GPIO_LCD_CS (17)
|
|
|
|
#define EXT0_GPIO_BASE (NR_BUILTIN_GPIO)
|
|
#define EXT0_GPIO(x) (EXT0_GPIO_BASE + (x))
|
|
|
|
#define LITTLETON_NR_IRQS (IRQ_BOARD_START + 8)
|
|
|
|
#endif /* __ASM_ARCH_LITTLETON_H */
|