162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * A collection of structures, addresses, and values associated with 362306a36Sopenharmony_ci * the Freescale MPC885ADS board. 462306a36Sopenharmony_ci * Copied from the FADS stuff. 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci * Author: MontaVista Software, Inc. 762306a36Sopenharmony_ci * source@mvista.com 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * 2005 (c) MontaVista Software, Inc. This file is licensed under the 1062306a36Sopenharmony_ci * terms of the GNU General Public License version 2. This program is licensed 1162306a36Sopenharmony_ci * "as is" without any warranty of any kind, whether express or implied. 1262306a36Sopenharmony_ci */ 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#ifdef __KERNEL__ 1562306a36Sopenharmony_ci#ifndef __ASM_MPC885ADS_H__ 1662306a36Sopenharmony_ci#define __ASM_MPC885ADS_H__ 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#include <sysdev/fsl_soc.h> 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci/* Bits of interest in the BCSRs. 2162306a36Sopenharmony_ci */ 2262306a36Sopenharmony_ci#define BCSR1_ETHEN ((uint)0x20000000) 2362306a36Sopenharmony_ci#define BCSR1_IRDAEN ((uint)0x10000000) 2462306a36Sopenharmony_ci#define BCSR1_RS232EN_1 ((uint)0x01000000) 2562306a36Sopenharmony_ci#define BCSR1_PCCEN ((uint)0x00800000) 2662306a36Sopenharmony_ci#define BCSR1_PCCVCC0 ((uint)0x00400000) 2762306a36Sopenharmony_ci#define BCSR1_PCCVPP0 ((uint)0x00200000) 2862306a36Sopenharmony_ci#define BCSR1_PCCVPP1 ((uint)0x00100000) 2962306a36Sopenharmony_ci#define BCSR1_PCCVPP_MASK (BCSR1_PCCVPP0 | BCSR1_PCCVPP1) 3062306a36Sopenharmony_ci#define BCSR1_RS232EN_2 ((uint)0x00040000) 3162306a36Sopenharmony_ci#define BCSR1_PCCVCC1 ((uint)0x00010000) 3262306a36Sopenharmony_ci#define BCSR1_PCCVCC_MASK (BCSR1_PCCVCC0 | BCSR1_PCCVCC1) 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci#define BCSR4_ETH10_RST ((uint)0x80000000) /* 10Base-T PHY reset*/ 3562306a36Sopenharmony_ci#define BCSR4_USB_LO_SPD ((uint)0x04000000) 3662306a36Sopenharmony_ci#define BCSR4_USB_VCC ((uint)0x02000000) 3762306a36Sopenharmony_ci#define BCSR4_USB_FULL_SPD ((uint)0x00040000) 3862306a36Sopenharmony_ci#define BCSR4_USB_EN ((uint)0x00020000) 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci#define BCSR5_MII2_EN 0x40 4162306a36Sopenharmony_ci#define BCSR5_MII2_RST 0x20 4262306a36Sopenharmony_ci#define BCSR5_T1_RST 0x10 4362306a36Sopenharmony_ci#define BCSR5_ATM155_RST 0x08 4462306a36Sopenharmony_ci#define BCSR5_ATM25_RST 0x04 4562306a36Sopenharmony_ci#define BCSR5_MII1_EN 0x02 4662306a36Sopenharmony_ci#define BCSR5_MII1_RST 0x01 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ci#endif /* __ASM_MPC885ADS_H__ */ 4962306a36Sopenharmony_ci#endif /* __KERNEL__ */ 50