[ARM] 3369/1: ep93xx: add core cirrus ep93xx support
Patch from Lennert Buytenhek
This patch adds support for the Cirrus ep93xx series of CPUs. The
ep93xx is an ARM920T based CPU with two VICs, PL010 based UARTs,
IrDA, MaverickCrunch floating point coprocessor, between 24 and 64
GPIOs, ethernet, OHCI USB and, depending on the model, pcmcia, raster
engine, graphics accelerator, IDE controller and a bunch of other
stuff.
This patch adds the core ep93xx support code, and support for the
Glomation GESBC-9312-sx and the Technologic Systems TS-72xx SBCs.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-03-21 00:10:13 +07:00
|
|
|
/*
|
2008-08-05 22:14:15 +07:00
|
|
|
* arch/arm/mach-ep93xx/include/mach/platform.h
|
[ARM] 3369/1: ep93xx: add core cirrus ep93xx support
Patch from Lennert Buytenhek
This patch adds support for the Cirrus ep93xx series of CPUs. The
ep93xx is an ARM920T based CPU with two VICs, PL010 based UARTs,
IrDA, MaverickCrunch floating point coprocessor, between 24 and 64
GPIOs, ethernet, OHCI USB and, depending on the model, pcmcia, raster
engine, graphics accelerator, IDE controller and a bunch of other
stuff.
This patch adds the core ep93xx support code, and support for the
Glomation GESBC-9312-sx and the Technologic Systems TS-72xx SBCs.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-03-21 00:10:13 +07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
2009-03-05 23:33:50 +07:00
|
|
|
struct i2c_board_info;
|
|
|
|
|
2006-09-22 07:28:13 +07:00
|
|
|
struct ep93xx_eth_data
|
|
|
|
{
|
|
|
|
unsigned char dev_addr[6];
|
|
|
|
unsigned char phy_id;
|
|
|
|
};
|
|
|
|
|
2008-10-05 02:01:49 +07:00
|
|
|
void ep93xx_map_io(void);
|
|
|
|
void ep93xx_init_irq(void);
|
|
|
|
void ep93xx_init_time(unsigned long);
|
2009-07-08 08:00:49 +07:00
|
|
|
|
|
|
|
/* EP93xx System Controller software locked register write */
|
2009-07-16 03:51:59 +07:00
|
|
|
void ep93xx_syscon_swlocked_write(unsigned int val, void __iomem *reg);
|
2009-07-08 08:00:49 +07:00
|
|
|
void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits);
|
|
|
|
|
|
|
|
static inline void ep93xx_devcfg_set_bits(unsigned int bits)
|
|
|
|
{
|
|
|
|
ep93xx_devcfg_set_clear(bits, 0x00);
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline void ep93xx_devcfg_clear_bits(unsigned int bits)
|
|
|
|
{
|
|
|
|
ep93xx_devcfg_set_clear(0x00, bits);
|
|
|
|
}
|
|
|
|
|
2008-10-05 02:01:49 +07:00
|
|
|
void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr);
|
2008-10-17 05:57:03 +07:00
|
|
|
void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
|
2009-07-08 08:00:49 +07:00
|
|
|
|
2008-10-05 02:01:49 +07:00
|
|
|
void ep93xx_init_devices(void);
|
|
|
|
extern struct sys_timer ep93xx_timer;
|
[ARM] 3369/1: ep93xx: add core cirrus ep93xx support
Patch from Lennert Buytenhek
This patch adds support for the Cirrus ep93xx series of CPUs. The
ep93xx is an ARM920T based CPU with two VICs, PL010 based UARTs,
IrDA, MaverickCrunch floating point coprocessor, between 24 and 64
GPIOs, ethernet, OHCI USB and, depending on the model, pcmcia, raster
engine, graphics accelerator, IDE controller and a bunch of other
stuff.
This patch adds the core ep93xx support code, and support for the
Glomation GESBC-9312-sx and the Technologic Systems TS-72xx SBCs.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-03-21 00:10:13 +07:00
|
|
|
|
|
|
|
#endif
|