1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Cragganmore 6410 shared definitions
4 * Copyright 2011 Wolfson Microelectronics plc
5 * Mark Brown <broonie@opensource.wolfsonmicro.com>
8 #ifndef MACH_CRAG6410_H
9 #define MACH_CRAG6410_H
11 #include <mach/gpio-samsung.h>
13 #define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
14 #define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
16 #define PCA935X_GPIO_BASE GPIO_BOARD_START
17 #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
18 #define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
19 #define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
20 #define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)