diff --git a/include/arm/platform.h b/include/arm/platform.h new file mode 100644 index 00000000..6c90c25b --- /dev/null +++ b/include/arm/platform.h @@ -0,0 +1,41 @@ +/* + * $Id$ + * + * ARM Platform specific declarations + * Copyright (C) 2002 ETC s.r.o. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by Marcel Telka , 2002. + * + */ + +#ifndef PLATFORM_H +#define PLATFORM_H + +#ifdef HAVE_CONFIG_H +#include +#endif + +#ifdef WID +#include +#endif + +#ifdef WEP +#include +#endif + +#endif /* PLATFORM_H */ diff --git a/include/arm/platform/wep.h b/include/arm/platform/wep.h new file mode 100644 index 00000000..65f6ac78 --- /dev/null +++ b/include/arm/platform/wep.h @@ -0,0 +1,38 @@ +/* + * $Id$ + * + * ETC WEP specific declarations (PXA250 based device) + * Copyright (C) 2002 ETC s.r.o. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by Marcel Telka , 2002. + * + * Documentation: + * [1] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Developer's Manual", October 2001, Order Number: 278240-004 + * [2] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Specification Update", December 2001, Order Number: 278259-023 + * + */ + +#ifndef PLATFORM_WEP_H +#define PLATFORM_WEP_H + +/* WEP board variations */ +#define EP250 0 + +#endif /* PLATFORM_WID_H */ diff --git a/include/arm/platform/wid.h b/include/arm/platform/wid.h new file mode 100644 index 00000000..c5d8bddf --- /dev/null +++ b/include/arm/platform/wid.h @@ -0,0 +1,44 @@ +/* + * $Id$ + * + * ETC WID specific declarations (SA-1110 based device) + * Copyright (C) 2002 ETC s.r.o. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by Marcel Telka , 2002. + * + * Documentation: + * [1] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Developer's Manual", October 2001, Order Number: 278240-004 + * [2] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Specification Update", December 2001, Order Number: 278259-023 + * + */ + +#ifndef PLATFORM_WID_H +#define PLATFORM_WID_H + +/* WID board variations */ +#define EI370 0 +#define EP002 1 +#define EP202 2 + +#define PPCR_CCF_CLOCK PPCR_CCF_206_4 + +#define WID_GPIO_BCR_MASK bit(17) + +#endif /* PLATFORM_WID_H */