2011-08-19 21:40:07 +08:00
|
|
|
/* Cragganmore 6410 shared definitions
|
|
|
|
*
|
|
|
|
* Copyright 2011 Wolfson Microelectronics plc
|
|
|
|
* Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MACH_CRAG6410_H
|
|
|
|
#define MACH_CRAG6410_H
|
|
|
|
|
|
|
|
#include <linux/gpio.h>
|
|
|
|
|
2012-06-20 07:18:07 +08:00
|
|
|
#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
|
2011-08-19 21:40:07 +08:00
|
|
|
|
|
|
|
#define PCA935X_GPIO_BASE GPIO_BOARD_START
|
2011-11-03 15:28:15 +08:00
|
|
|
#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
|
2011-12-02 13:32:32 +08:00
|
|
|
#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
|
|
|
|
#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
|
2011-12-29 17:02:39 +08:00
|
|
|
#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)
|
2011-08-19 21:40:07 +08:00
|
|
|
|
|
|
|
#endif
|