Update of /cvsroot/linux-mips/linux/include/asm-mips
In directory usw-pr-cvs1:/tmp/cvs-serv13922/include/asm-mips
Modified Files:
au1000.h au1000_pcmcia.h mc146818rtc.h
Added Files:
pb1100.h
Log Message:
Pb1100 support.
--- NEW FILE: pb1100.h ---
/*
* Alchemy Semi PB1100 Referrence Board
*
* Copyright 2001 MontaVista Software Inc.
* Author: MontaVista Software, Inc.
* pp...@mv... or so...@mv...
*
* ########################################################################
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) as
* published by the Free Software Foundation.
*
* This program is distributed in the hope 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.
*
* ########################################################################
*
*
*/
#ifndef __ASM_PB1100_H
#define __ASM_PB1100_H
#define PB1500_IDENT 0xAE000000
#define PB1500_BOARD_STATUS 0xAE000004
#define PB1500_PCI_PCMCIA 0xAE000010
#define PC_DEASSERT_RST 0x80
#define PC_DRV_EN 0x10
#define PB1500_G_CONTROL 0xAE000014
#define PB1500_RST_VDDI 0xAE00001C
#define PB1500_LEDS 0xAE000018
#define PB1500_HEX_LED 0xAF000004
#define PB1500_HEX_LED_BLANK 0xAF000008
/* PCMCIA PB1500 specific defines */
#define PCMCIA_MAX_SOCK 0
/* VPP/VCC */
#define SET_VCC_VPP(VCC, VPP) (((VCC)<<2) | ((VPP)<<0))
#endif /* __ASM_PB1100_H */
Index: au1000.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips/au1000.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- au1000.h 23 Mar 2002 02:14:01 -0000 1.15
+++ au1000.h 2 Apr 2002 22:59:40 -0000 1.16
@@ -300,6 +300,12 @@
#define AU1000_MAX_INTR 63
+#define AU1100_SD 2
+#define AU1100_GPIO_208_215 29
+// REDEFINE SECONDARY GPIO BLOCK INTO IC1 CONTROLLER HERE
+
+
+
/* Programmable Counters 0 and 1 */
#define SYS_BASE 0xB1900000
#define SYS_COUNTER_CNTRL (SYS_BASE + 0x14)
@@ -398,6 +404,7 @@
#define AU1000_ETH1_BASE 0xB0510000
#define AU1500_ETH0_BASE 0xB1500000
#define AU1500_ETH1_BASE 0xB1510000
+#define AU1100_ETH0_BASE 0xB0500000
/* 4 byte offsets from AU1000_ETH_BASE */
#define MAC_CONTROL 0x0
@@ -446,6 +453,8 @@
#define AU1000_MAC1_ENABLE 0xB0520004
#define AU1500_MAC0_ENABLE 0xB1520000
#define AU1500_MAC1_ENABLE 0xB1520004
+#define AU1100_MAC0_ENABLE 0xB0520000
+
#define MAC_EN_CLOCK_ENABLE (1<<0)
#define MAC_EN_RESET0 (1<<1)
#define MAC_EN_TOSS (0<<2)
Index: au1000_pcmcia.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips/au1000_pcmcia.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- au1000_pcmcia.h 9 Mar 2002 01:41:24 -0000 1.5
+++ au1000_pcmcia.h 2 Apr 2002 22:59:40 -0000 1.6
@@ -89,6 +89,8 @@
extern struct pcmcia_low_level pb1000_pcmcia_ops;
#elif defined (CONFIG_MIPS_PB1500)
extern struct pcmcia_low_level pb1500_pcmcia_ops;
+#elif defined (CONFIG_MIPS_PB1100)
+extern struct pcmcia_low_level pb1500_pcmcia_ops;
#endif
#endif /* __ASM_AU1000_PCMCIA_H */
Index: mc146818rtc.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips/mc146818rtc.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mc146818rtc.h 19 Feb 2002 18:07:22 -0000 1.3
+++ mc146818rtc.h 2 Apr 2002 22:59:40 -0000 1.4
@@ -16,7 +16,7 @@
#ifndef RTC_PORT
#if defined(CONFIG_MIPS_ITE8172) || defined(CONFIG_MIPS_IVR)
#define RTC_PORT(x) (0x14014800 + (x))
-#elif defined(CONFIG_MIPS_PB1500)
+#elif defined(CONFIG_MIPS_PB1500) || defined(CONFIG_MIPS_PB1100)
#define RTC_PORT(x) (0xAC000000 + (x))
#else
#define RTC_PORT(x) (0x70 + (x))
@@ -54,7 +54,7 @@
#elif defined(CONFIG_MIPS_ITE8172) || defined(CONFIG_MIPS_IVR)
#include <asm/it8172/it8172_int.h>
#define RTC_IRQ IT8172_RTC_IRQ
-#elif defined(CONFIG_MIPS_PB1500)
+#elif defined(CONFIG_MIPS_PB1500) || defined(CONFIG_MIPS_PB1100)
#undef RTC_IRQ
#else
#define RTC_IRQ 8
|