xref: /openbmc/linux/arch/arm/mach-s3c/crag6410.h (revision e2ad626f)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Cragganmore 6410 shared definitions
3  *
4  * Copyright 2011 Wolfson Microelectronics plc
5  *	Mark Brown <broonie@opensource.wolfsonmicro.com>
6  */
7 
8 #ifndef MACH_CRAG6410_H
9 #define MACH_CRAG6410_H
10 
11 #include "gpio-samsung.h"
12 
13 #define GLENFARCLAS_PMIC_IRQ_BASE	IRQ_BOARD_START
14 #define BANFF_PMIC_IRQ_BASE		(IRQ_BOARD_START + 64)
15 
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)
21 
22 #endif
23