Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * A collection of structures, addresses, and values associated with
0003  * the Freescale MPC86xADS board.
0004  * Copied from the FADS stuff.
0005  *
0006  * Author: MontaVista Software, Inc.
0007  *         source@mvista.com
0008  *
0009  * 2005 (c) MontaVista Software, Inc.  This file is licensed under the
0010  * terms of the GNU General Public License version 2.  This program is licensed
0011  * "as is" without any warranty of any kind, whether express or implied.
0012  */
0013 
0014 #ifdef __KERNEL__
0015 #ifndef __ASM_MPC86XADS_H__
0016 #define __ASM_MPC86XADS_H__
0017 
0018 /* Bits of interest in the BCSRs.
0019  */
0020 #define BCSR1_ETHEN     ((uint)0x20000000)
0021 #define BCSR1_IRDAEN        ((uint)0x10000000)
0022 #define BCSR1_RS232EN_1     ((uint)0x01000000)
0023 #define BCSR1_PCCEN     ((uint)0x00800000)
0024 #define BCSR1_PCCVCC0       ((uint)0x00400000)
0025 #define BCSR1_PCCVPP0       ((uint)0x00200000)
0026 #define BCSR1_PCCVPP1       ((uint)0x00100000)
0027 #define BCSR1_PCCVPP_MASK   (BCSR1_PCCVPP0 | BCSR1_PCCVPP1)
0028 #define BCSR1_RS232EN_2     ((uint)0x00040000)
0029 #define BCSR1_PCCVCC1       ((uint)0x00010000)
0030 #define BCSR1_PCCVCC_MASK   (BCSR1_PCCVCC0 | BCSR1_PCCVCC1)
0031 
0032 #define BCSR4_ETH10_RST     ((uint)0x80000000)  /* 10Base-T PHY reset*/
0033 #define BCSR4_USB_LO_SPD    ((uint)0x04000000)
0034 #define BCSR4_USB_VCC       ((uint)0x02000000)
0035 #define BCSR4_USB_FULL_SPD  ((uint)0x00040000)
0036 #define BCSR4_USB_EN        ((uint)0x00020000)
0037 
0038 #define BCSR5_MII2_EN       0x40
0039 #define BCSR5_MII2_RST      0x20
0040 #define BCSR5_T1_RST        0x10
0041 #define BCSR5_ATM155_RST    0x08
0042 #define BCSR5_ATM25_RST     0x04
0043 #define BCSR5_MII1_EN       0x02
0044 #define BCSR5_MII1_RST      0x01
0045 
0046 #endif /* __ASM_MPC86XADS_H__ */
0047 #endif /* __KERNEL__ */