forked from Minki/linux
91b60b1d5a
Rather than letting them get allocated dynamically where we don't know where they are, and also name the data line resource as gpio-generic requires that. Without these changes the GPIOs are useless. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
27 lines
826 B
C
27 lines
826 B
C
/* 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>
|
|
|
|
#define BANFF_PMIC_IRQ_BASE IRQ_BOARD_START
|
|
#define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
|
|
#define CODEC_IRQ_BASE (IRQ_BOARD_START + 128)
|
|
|
|
#define PCA935X_GPIO_BASE GPIO_BOARD_START
|
|
#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
|
|
#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
|
|
#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
|
|
#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)
|
|
|
|
#endif
|