Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Dmitry Eremin-Solenikov | aac4297 | 2009-02-16 20:40:55 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Support for Cogent CSB726 |
| 4 | * |
| 5 | * Copyright (c) 2008 Dmitry Baryshkov |
Dmitry Eremin-Solenikov | aac4297 | 2009-02-16 20:40:55 +0300 | [diff] [blame] | 6 | */ |
| 7 | #ifndef CSB726_H |
| 8 | #define CSB726_H |
| 9 | |
Arnd Bergmann | 4c25c5d | 2015-01-30 10:45:33 +0100 | [diff] [blame] | 10 | #include <mach/irqs.h> /* PXA_GPIO_TO_IRQ */ |
Linus Walleij | 9705e74 | 2014-02-04 13:53:07 +0100 | [diff] [blame] | 11 | |
Dmitry Eremin-Solenikov | aac4297 | 2009-02-16 20:40:55 +0300 | [diff] [blame] | 12 | #define CSB726_GPIO_IRQ_LAN 52 |
| 13 | #define CSB726_GPIO_IRQ_SM501 53 |
| 14 | #define CSB726_GPIO_MMC_DETECT 100 |
| 15 | #define CSB726_GPIO_MMC_RO 101 |
| 16 | |
| 17 | #define CSB726_FLASH_SIZE (64 * 1024 * 1024) |
| 18 | #define CSB726_FLASH_uMON (8 * 1024 * 1024) |
| 19 | |
Haojian Zhuang | 4929f5a | 2011-10-10 16:03:51 +0800 | [diff] [blame] | 20 | #define CSB726_IRQ_LAN PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_LAN) |
| 21 | #define CSB726_IRQ_SM501 PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_SM501) |
Dmitry Eremin-Solenikov | aac4297 | 2009-02-16 20:40:55 +0300 | [diff] [blame] | 22 | |
| 23 | #endif |
| 24 | |