2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2009-02-17 01:40:55 +08:00
|
|
|
/*
|
|
|
|
* Support for Cogent CSB726
|
|
|
|
*
|
|
|
|
* Copyright (c) 2008 Dmitry Baryshkov
|
|
|
|
*/
|
|
|
|
#ifndef CSB726_H
|
|
|
|
#define CSB726_H
|
|
|
|
|
2015-01-30 17:45:33 +08:00
|
|
|
#include <mach/irqs.h> /* PXA_GPIO_TO_IRQ */
|
2014-02-04 20:53:07 +08:00
|
|
|
|
2009-02-17 01:40:55 +08:00
|
|
|
#define CSB726_GPIO_IRQ_LAN 52
|
|
|
|
#define CSB726_GPIO_IRQ_SM501 53
|
|
|
|
#define CSB726_GPIO_MMC_DETECT 100
|
|
|
|
#define CSB726_GPIO_MMC_RO 101
|
|
|
|
|
|
|
|
#define CSB726_FLASH_SIZE (64 * 1024 * 1024)
|
|
|
|
#define CSB726_FLASH_uMON (8 * 1024 * 1024)
|
|
|
|
|
2011-10-10 16:03:51 +08:00
|
|
|
#define CSB726_IRQ_LAN PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_LAN)
|
|
|
|
#define CSB726_IRQ_SM501 PXA_GPIO_TO_IRQ(CSB726_GPIO_IRQ_SM501)
|
2009-02-17 01:40:55 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|