blob: 30d7cf926b8432425db5e350df3cc94b2f5b661c [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Dmitry Eremin-Solenikovaac42972009-02-16 20:40:55 +03002/*
3 * Support for Cogent CSB726
4 *
5 * Copyright (c) 2008 Dmitry Baryshkov
Dmitry Eremin-Solenikovaac42972009-02-16 20:40:55 +03006 */
7#ifndef CSB726_H
8#define CSB726_H
9
Arnd Bergmann4c25c5d2015-01-30 10:45:33 +010010#include <mach/irqs.h> /* PXA_GPIO_TO_IRQ */
Linus Walleij9705e742014-02-04 13:53:07 +010011
Dmitry Eremin-Solenikovaac42972009-02-16 20:40:55 +030012#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 Zhuang4929f5a2011-10-10 16:03:51 +080020#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-Solenikovaac42972009-02-16 20:40:55 +030022
23#endif
24