#include <linux/platform_device.h>
  #include <linux/spi/spi.h>
  #include <linux/gpio_keys.h>
++#include <linux/gpio.h>
  #include <linux/input.h>
 +#include <linux/spi/mmc_spi.h>
  
  #include <asm/setup.h>
  #include <asm/mach-types.h>
 
  #include <asm/mach/arch.h>
  #include <asm/mach-types.h>
  
- #include <mach/gpio.h>
  #include <mach/pxa168.h>
  #include <mach/mfp-pxa168.h>
 -#include <mach/mfp-gplugd.h>
  
  #include "common.h"
  
 
  #include <linux/pda_power.h>
  #include <linux/io.h>
  #include <linux/i2c.h>
++#include <linux/gpio.h>
 +#include <linux/rfkill-gpio.h>
  
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <mach/iomap.h>
  #include <mach/irqs.h>
  #include <mach/sdhci.h>
--#include <mach/gpio.h>
  
  #include "board.h"
  #include "board-paz00.h"
 
  #ifndef _MACH_TEGRA_BOARD_PAZ00_H
  #define _MACH_TEGRA_BOARD_PAZ00_H
  
- #define TEGRA_GPIO_SD1_CD     TEGRA_GPIO_PV5
- #define TEGRA_GPIO_SD1_WP     TEGRA_GPIO_PH1
- #define TEGRA_GPIO_SD1_POWER  TEGRA_GPIO_PT3
+ #include <mach/gpio-tegra.h>
+ 
 +/* SDCARD */
- #define TEGRA_ULPI_RST                TEGRA_GPIO_PV0
+ #define TEGRA_GPIO_SD1_CD             TEGRA_GPIO_PV5
+ #define TEGRA_GPIO_SD1_WP             TEGRA_GPIO_PH1
+ #define TEGRA_GPIO_SD1_POWER          TEGRA_GPIO_PT3
 +
 +/* ULPI */
+ #define TEGRA_ULPI_RST                        TEGRA_GPIO_PV0
  
- #define TEGRA_WIFI_PWRN               TEGRA_GPIO_PK5
- #define TEGRA_WIFI_RST                TEGRA_GPIO_PD1
- #define TEGRA_WIFI_LED                TEGRA_GPIO_PD0
 +/* WIFI */
++#define TEGRA_WIFI_PWRN                       TEGRA_GPIO_PK5
++#define TEGRA_WIFI_RST                        TEGRA_GPIO_PD1
++#define TEGRA_WIFI_LED                        TEGRA_GPIO_PD0
 +
  void paz00_pinmux_init(void);
  
  #endif
 
  #ifndef _MACH_TEGRA_BOARD_SEABOARD_H
  #define _MACH_TEGRA_BOARD_SEABOARD_H
  
+ #include <mach/gpio-tegra.h>
+ 
 +#define SEABOARD_GPIO_TPS6586X(_x_)   (TEGRA_NR_GPIOS + (_x_))
 +#define SEABOARD_GPIO_WM8903(_x_)     (SEABOARD_GPIO_TPS6586X(4) + (_x_))
 +
  #define TEGRA_GPIO_SD2_CD             TEGRA_GPIO_PI5
  #define TEGRA_GPIO_SD2_WP             TEGRA_GPIO_PH1
  #define TEGRA_GPIO_SD2_POWER          TEGRA_GPIO_PI6