crag6410.h 784 B

1234567891011121314151617181920212223242526
  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. #ifndef MACH_CRAG6410_H
  11. #define MACH_CRAG6410_H
  12. #include <mach/gpio-samsung.h>
  13. #define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
  14. #define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
  15. #define PCA935X_GPIO_BASE GPIO_BOARD_START
  16. #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
  17. #define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
  18. #define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
  19. #define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)
  20. #endif