spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / mach-pxa / include / mach / csb726.h
blob2628e7b721168c99cb8dc1214934bcdffbfa8e1c
1 /*
2 * Support for Cogent CSB726
4 * Copyright (c) 2008 Dmitry Baryshkov
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.
11 #ifndef CSB726_H
12 #define CSB726_H
14 #define CSB726_GPIO_IRQ_LAN 52
15 #define CSB726_GPIO_IRQ_SM501 53
16 #define CSB726_GPIO_MMC_DETECT 100
17 #define CSB726_GPIO_MMC_RO 101
19 #define CSB726_FLASH_SIZE (64 * 1024 * 1024)
20 #define CSB726_FLASH_uMON (8 * 1024 * 1024)
22 #define CSB726_IRQ_LAN PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_LAN)
23 #define CSB726_IRQ_SM501 PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_SM501)
25 #endif