18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * A collection of structures, addresses, and values associated with
38c2ecf20Sopenharmony_ci * the Freescale MPC885ADS board.
48c2ecf20Sopenharmony_ci * Copied from the FADS stuff.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Author: MontaVista Software, Inc.
78c2ecf20Sopenharmony_ci *         source@mvista.com
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * 2005 (c) MontaVista Software, Inc.  This file is licensed under the
108c2ecf20Sopenharmony_ci * terms of the GNU General Public License version 2.  This program is licensed
118c2ecf20Sopenharmony_ci * "as is" without any warranty of any kind, whether express or implied.
128c2ecf20Sopenharmony_ci */
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#ifdef __KERNEL__
158c2ecf20Sopenharmony_ci#ifndef __ASM_MPC885ADS_H__
168c2ecf20Sopenharmony_ci#define __ASM_MPC885ADS_H__
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#include <sysdev/fsl_soc.h>
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci/* Bits of interest in the BCSRs.
218c2ecf20Sopenharmony_ci */
228c2ecf20Sopenharmony_ci#define BCSR1_ETHEN		((uint)0x20000000)
238c2ecf20Sopenharmony_ci#define BCSR1_IRDAEN		((uint)0x10000000)
248c2ecf20Sopenharmony_ci#define BCSR1_RS232EN_1		((uint)0x01000000)
258c2ecf20Sopenharmony_ci#define BCSR1_PCCEN		((uint)0x00800000)
268c2ecf20Sopenharmony_ci#define BCSR1_PCCVCC0		((uint)0x00400000)
278c2ecf20Sopenharmony_ci#define BCSR1_PCCVPP0		((uint)0x00200000)
288c2ecf20Sopenharmony_ci#define BCSR1_PCCVPP1		((uint)0x00100000)
298c2ecf20Sopenharmony_ci#define BCSR1_PCCVPP_MASK	(BCSR1_PCCVPP0 | BCSR1_PCCVPP1)
308c2ecf20Sopenharmony_ci#define BCSR1_RS232EN_2		((uint)0x00040000)
318c2ecf20Sopenharmony_ci#define BCSR1_PCCVCC1		((uint)0x00010000)
328c2ecf20Sopenharmony_ci#define BCSR1_PCCVCC_MASK	(BCSR1_PCCVCC0 | BCSR1_PCCVCC1)
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci#define BCSR4_ETH10_RST		((uint)0x80000000)	/* 10Base-T PHY reset*/
358c2ecf20Sopenharmony_ci#define BCSR4_USB_LO_SPD	((uint)0x04000000)
368c2ecf20Sopenharmony_ci#define BCSR4_USB_VCC		((uint)0x02000000)
378c2ecf20Sopenharmony_ci#define BCSR4_USB_FULL_SPD	((uint)0x00040000)
388c2ecf20Sopenharmony_ci#define BCSR4_USB_EN		((uint)0x00020000)
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci#define BCSR5_MII2_EN		0x40
418c2ecf20Sopenharmony_ci#define BCSR5_MII2_RST		0x20
428c2ecf20Sopenharmony_ci#define BCSR5_T1_RST		0x10
438c2ecf20Sopenharmony_ci#define BCSR5_ATM155_RST	0x08
448c2ecf20Sopenharmony_ci#define BCSR5_ATM25_RST		0x04
458c2ecf20Sopenharmony_ci#define BCSR5_MII1_EN		0x02
468c2ecf20Sopenharmony_ci#define BCSR5_MII1_RST		0x01
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci#endif /* __ASM_MPC885ADS_H__ */
498c2ecf20Sopenharmony_ci#endif /* __KERNEL__ */
50