Dmitry Eremin-Solenikov | aac4297 | 2009-02-16 20:40:55 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Support for Cogent CSB726 |
| 3 | * |
| 4 | * Copyright (c) 2008 Dmitry Baryshkov |
| 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 CSB726_H |
| 12 | #define CSB726_H |
| 13 | |
Arnd Bergmann | 4c25c5d | 2015-01-30 10:45:33 +0100 | [diff] [blame] | 14 | #include <mach/irqs.h> /* PXA_GPIO_TO_IRQ */ |
Linus Walleij | 9705e74 | 2014-02-04 13:53:07 +0100 | [diff] [blame] | 15 | |
Dmitry Eremin-Solenikov | aac4297 | 2009-02-16 20:40:55 +0300 | [diff] [blame] | 16 | #define CSB726_GPIO_IRQ_LAN 52 |
| 17 | #define CSB726_GPIO_IRQ_SM501 53 |
| 18 | #define CSB726_GPIO_MMC_DETECT 100 |
| 19 | #define CSB726_GPIO_MMC_RO 101 |
| 20 | |
| 21 | #define CSB726_FLASH_SIZE (64 * 1024 * 1024) |
| 22 | #define CSB726_FLASH_uMON (8 * 1024 * 1024) |
| 23 | |
Haojian Zhuang | 4929f5a | 2011-10-10 16:03:51 +0800 | [diff] [blame] | 24 | #define CSB726_IRQ_LAN PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_LAN) |
| 25 | #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] | 26 | |
| 27 | #endif |
| 28 | |