blob: 229ab2351db6e1fdf3092efdcfb85ef8d37cbfa8 [file] [log] [blame]
Ben Dooks110d3222006-03-20 17:10:02 +00001/* linux/include/asm-arm/arch-s3c2410/osiris-cpld.h
2 *
Ben Dooks5698bd22007-06-06 10:36:09 +01003 * Copyright 2005 Simtec Electronics
Ben Dooks110d3222006-03-20 17:10:02 +00004 * http://www.simtec.co.uk/products/
5 * Ben Dooks <ben@simtec.co.uk>
6 *
7 * OSIRIS - CPLD control constants
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12*/
13
14#ifndef __ASM_ARCH_OSIRISCPLD_H
15#define __ASM_ARCH_OSIRISCPLD_H
16
Ben Dooksc362aec2007-06-06 09:51:51 +010017/* CTRL0 - NAND WP control */
Ben Dooks110d3222006-03-20 17:10:02 +000018
Ben Dooksc362aec2007-06-06 09:51:51 +010019#define OSIRIS_CTRL0_NANDSEL (0x3)
20#define OSIRIS_CTRL0_BOOT_INT (1<<3)
21#define OSIRIS_CTRL0_PCMCIA (1<<4)
Ben Dooks5698bd22007-06-06 10:36:09 +010022#define OSIRIS_CTRL0_FIX8 (1<<5)
Ben Dooksc362aec2007-06-06 09:51:51 +010023#define OSIRIS_CTRL0_PCMCIA_nWAIT (1<<6)
24#define OSIRIS_CTRL0_PCMCIA_nIOIS16 (1<<7)
25
Ben Dooks5698bd22007-06-06 10:36:09 +010026#define OSIRIS_CTRL1_FIX8 (1<<0)
27
Ben Dooksc362aec2007-06-06 09:51:51 +010028#define OSIRIS_ID_REVMASK (0x7)
Ben Dooks110d3222006-03-20 17:10:02 +000029
30#endif /* __ASM_ARCH_OSIRISCPLD_H */