18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * A collection of structures, addresses, and values associated with
38c2ecf20Sopenharmony_ci * the Freescale MPC86xADS 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_MPC86XADS_H__
168c2ecf20Sopenharmony_ci#define __ASM_MPC86XADS_H__
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci/* Bits of interest in the BCSRs.
198c2ecf20Sopenharmony_ci */
208c2ecf20Sopenharmony_ci#define BCSR1_ETHEN		((uint)0x20000000)
218c2ecf20Sopenharmony_ci#define BCSR1_IRDAEN		((uint)0x10000000)
228c2ecf20Sopenharmony_ci#define BCSR1_RS232EN_1		((uint)0x01000000)
238c2ecf20Sopenharmony_ci#define BCSR1_PCCEN		((uint)0x00800000)
248c2ecf20Sopenharmony_ci#define BCSR1_PCCVCC0		((uint)0x00400000)
258c2ecf20Sopenharmony_ci#define BCSR1_PCCVPP0		((uint)0x00200000)
268c2ecf20Sopenharmony_ci#define BCSR1_PCCVPP1		((uint)0x00100000)
278c2ecf20Sopenharmony_ci#define BCSR1_PCCVPP_MASK	(BCSR1_PCCVPP0 | BCSR1_PCCVPP1)
288c2ecf20Sopenharmony_ci#define BCSR1_RS232EN_2		((uint)0x00040000)
298c2ecf20Sopenharmony_ci#define BCSR1_PCCVCC1		((uint)0x00010000)
308c2ecf20Sopenharmony_ci#define BCSR1_PCCVCC_MASK	(BCSR1_PCCVCC0 | BCSR1_PCCVCC1)
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci#define BCSR4_ETH10_RST		((uint)0x80000000)	/* 10Base-T PHY reset*/
338c2ecf20Sopenharmony_ci#define BCSR4_USB_LO_SPD	((uint)0x04000000)
348c2ecf20Sopenharmony_ci#define BCSR4_USB_VCC		((uint)0x02000000)
358c2ecf20Sopenharmony_ci#define BCSR4_USB_FULL_SPD	((uint)0x00040000)
368c2ecf20Sopenharmony_ci#define BCSR4_USB_EN		((uint)0x00020000)
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci#define BCSR5_MII2_EN		0x40
398c2ecf20Sopenharmony_ci#define BCSR5_MII2_RST		0x20
408c2ecf20Sopenharmony_ci#define BCSR5_T1_RST		0x10
418c2ecf20Sopenharmony_ci#define BCSR5_ATM155_RST	0x08
428c2ecf20Sopenharmony_ci#define BCSR5_ATM25_RST		0x04
438c2ecf20Sopenharmony_ci#define BCSR5_MII1_EN		0x02
448c2ecf20Sopenharmony_ci#define BCSR5_MII1_RST		0x01
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci#endif /* __ASM_MPC86XADS_H__ */
478c2ecf20Sopenharmony_ci#endif /* __KERNEL__ */
48