162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/* Cragganmore 6410 shared definitions
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Copyright 2011 Wolfson Microelectronics plc
562306a36Sopenharmony_ci *	Mark Brown <broonie@opensource.wolfsonmicro.com>
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef MACH_CRAG6410_H
962306a36Sopenharmony_ci#define MACH_CRAG6410_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include "gpio-samsung.h"
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#define GLENFARCLAS_PMIC_IRQ_BASE	IRQ_BOARD_START
1462306a36Sopenharmony_ci#define BANFF_PMIC_IRQ_BASE		(IRQ_BOARD_START + 64)
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#define PCA935X_GPIO_BASE		GPIO_BOARD_START
1762306a36Sopenharmony_ci#define CODEC_GPIO_BASE			(GPIO_BOARD_START + 8)
1862306a36Sopenharmony_ci#define GLENFARCLAS_PMIC_GPIO_BASE	(GPIO_BOARD_START + 32)
1962306a36Sopenharmony_ci#define BANFF_PMIC_GPIO_BASE		(GPIO_BOARD_START + 64)
2062306a36Sopenharmony_ci#define MMGPIO_GPIO_BASE		(GPIO_BOARD_START + 96)
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#endif
23