1 /* Cragganmore 6410 shared definitions
3 * Copyright 2011 Wolfson Microelectronics plc
4 * Mark Brown <broonie@opensource.wolfsonmicro.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 #ifndef MACH_CRAG6410_H
12 #define MACH_CRAG6410_H
14 #include <linux/gpio.h>
16 #define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
18 #define PCA935X_GPIO_BASE GPIO_BOARD_START
19 #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
20 #define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
21 #define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
22 #define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)