blob: 00cfbbbf73f78d5a7dd4f6bb288046b6caad0251 [file] [log] [blame]
Dmitry Eremin-Solenikovaac42972009-02-16 20:40:55 +03001/*
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
Linus Walleij9705e742014-02-04 13:53:07 +010014#include "irqs.h" /* PXA_GPIO_TO_IRQ */
15
Dmitry Eremin-Solenikovaac42972009-02-16 20:40:55 +030016#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 Zhuang4929f5a2011-10-10 16:03:51 +080024#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-Solenikovaac42972009-02-16 20:40:55 +030026
27#endif
28