diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-03-02 23:44:08 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-03-02 23:44:08 +0100 |
commit | 1da5dd9e91b9843632c0cacf0a04f45dd7d2b2bb (patch) | |
tree | 8943c5c8696b7d1e72ec8270d1107a6349862f85 /arch/arm/mach-tegra/board-apalis_t30.h | |
parent | 021bbfbc7a9f15f5a0c6b143b81ed6ee6c0e65a6 (diff) |
apalis/colibri_t30: clean-up defines in header file
Re-arrange defines in header file.
Diffstat (limited to 'arch/arm/mach-tegra/board-apalis_t30.h')
-rw-r--r-- | arch/arm/mach-tegra/board-apalis_t30.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/board-apalis_t30.h b/arch/arm/mach-tegra/board-apalis_t30.h index 138e79131839..0e68be4e4de5 100644 --- a/arch/arm/mach-tegra/board-apalis_t30.h +++ b/arch/arm/mach-tegra/board-apalis_t30.h @@ -26,6 +26,9 @@ #include <mach/gpio.h> #include <mach/irqs.h> +/* Run framebuffer in VGA mode */ +#define TEGRA_FB_VGA + /* GPIO */ #define APALIS_GPIO1 TEGRA_GPIO_PS2 @@ -108,6 +111,12 @@ #define WAKE1_MICO TEGRA_GPIO_PV1 +/* STMPE811 IRQs */ +#define STMPE811_IRQ_BASE TEGRA_NR_IRQS +#define STMPE811_IRQ_END (STMPE811_IRQ_BASE + 22) + +#define TDIODE_OFFSET (10000) /* in millicelsius */ + /* External peripheral act as gpio */ /* TPS6591x GPIOs */ #define TPS6591X_GPIO_BASE TEGRA_NR_GPIOS @@ -125,18 +134,9 @@ /*****************Interrupt tables ******************/ /* External peripheral act as interrupt controller */ /* TPS6591x IRQs */ -#define TPS6591X_IRQ_BASE TEGRA_NR_IRQS +#define TPS6591X_IRQ_BASE STMPE811_IRQ_END #define TPS6591X_IRQ_END (TPS6591X_IRQ_BASE + 18) -/* STMPE811 IRQs */ -#define STMPE811_IRQ_BASE TPS6591X_IRQ_END -#define STMPE811_IRQ_END (STMPE811_IRQ_BASE + 22) - -#define TDIODE_OFFSET (10000) /* in millicelsius */ - -/* Run framebuffer in VGA mode */ -#define TEGRA_FB_VGA - int apalis_t30_regulator_init(void); int apalis_t30_suspend_init(void); int apalis_t30_pinmux_init(void); |