1198157Srrs/*- 2198157Srrs * Copyright (c) 2003-2009 RMI Corporation 3198157Srrs * All rights reserved. 4198157Srrs * 5198157Srrs * Redistribution and use in source and binary forms, with or without 6198157Srrs * modification, are permitted provided that the following conditions 7198157Srrs * are met: 8198157Srrs * 1. Redistributions of source code must retain the above copyright 9198157Srrs * notice, this list of conditions and the following disclaimer. 10198157Srrs * 2. Redistributions in binary form must reproduce the above copyright 11198157Srrs * notice, this list of conditions and the following disclaimer in the 12198157Srrs * documentation and/or other materials provided with the distribution. 13198157Srrs * 3. Neither the name of RMI Corporation, nor the names of its contributors, 14198157Srrs * may be used to endorse or promote products derived from this software 15198157Srrs * without specific prior written permission. 16198157Srrs * 17198157Srrs * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18198157Srrs * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19198157Srrs * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20198157Srrs * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 21198157Srrs * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22198157Srrs * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23198157Srrs * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24198157Srrs * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25198157Srrs * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26198157Srrs * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27198157Srrs * SUCH DAMAGE. 28198157Srrs * 29198157Srrs * RMI_BSD */ 30198157Srrs#ifndef _RMI_ATX_CPLD_H_ 31198157Srrs#define _RMI_ATX_CPLD_H_ 32198157Srrs 33198157Srrs/* 34198157Srrs * bit_0 : xgs0 phy reset, bit_1 : xgs1 phy reset, bit_2 : HT reset, bit_3 : 35198157Srrs * RTC reset, bit_4 : gmac phy soft reset, bit_5 : gmac phy hard reset, bit_6 36198157Srrs * : board reset, bit_7 : reserved 37198157Srrs */ 38198157Srrs#define ATX_CPLD_RESET_1 2 39198157Srrs 40198157Srrs/* 41198157Srrs * bit_0_2 : reserved, bit_3 : turn off xpak_0 tx, bit_4 : turn off xpak_1 42198157Srrs * tx, bit_5 : HT stop (active low), bit_6 : flash program enable, bit_7 : 43198157Srrs * compact flash io mode 44198157Srrs */ 45198157Srrs#define ATX_CPLD_MISC_CTRL 8 46198157Srrs 47198157Srrs/* 48198157Srrs * bit_0 : reset tcam, bit_1 : reset xpak_0 module, bit_2 : reset xpak_1 49198157Srrs * module, bit_3_7 : reserved 50198157Srrs */ 51198157Srrs#define ATX_CPLD_RESET_2 9 52198157Srrs 53198157Srrs#endif /* _RMI_ATX_CPLD_H_ */ 54