Mark Brown | d0f0b43 | 2011-08-19 22:40:07 +0900 | [diff] [blame] | 1 | /* Cragganmore 6410 shared definitions |
| 2 | * |
| 3 | * Copyright 2011 Wolfson Microelectronics plc |
| 4 | * Mark Brown <broonie@opensource.wolfsonmicro.com> |
| 5 | * |
| 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. |
| 9 | */ |
| 10 | |
| 11 | #ifndef MACH_CRAG6410_H |
| 12 | #define MACH_CRAG6410_H |
| 13 | |
Linus Walleij | b0161ca | 2014-01-14 14:24:24 +0100 | [diff] [blame] | 14 | #include <mach/gpio-samsung.h> |
Mark Brown | d0f0b43 | 2011-08-19 22:40:07 +0900 | [diff] [blame] | 15 | |
Mark Brown | 4f057aa | 2012-06-20 08:18:07 +0900 | [diff] [blame] | 16 | #define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START |
Charles Keepax | 4e330ae | 2015-03-27 01:58:08 +0900 | [diff] [blame] | 17 | #define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) |
Mark Brown | d0f0b43 | 2011-08-19 22:40:07 +0900 | [diff] [blame] | 18 | |
| 19 | #define PCA935X_GPIO_BASE GPIO_BOARD_START |
Mark Brown | aaed44e | 2011-11-03 16:28:15 +0900 | [diff] [blame] | 20 | #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) |
Mark Brown | c5c32c9 | 2011-12-02 14:32:32 +0900 | [diff] [blame] | 21 | #define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32) |
| 22 | #define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64) |
Mark Brown | 91b60b1 | 2011-12-29 18:02:39 +0900 | [diff] [blame] | 23 | #define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96) |
Mark Brown | d0f0b43 | 2011-08-19 22:40:07 +0900 | [diff] [blame] | 24 | |
| 25 | #endif |