#
# $Id: lx5280 1487 2009-04-08 21:07:12Z arniml $
#
# JTAG declarations for Lexra LX5280 (Realtek RTL8181, RTL8186)
# Copyright (C) 2005 Marek Michalkiewicz
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
#
# Written by Marek Michalkiewicz <marekm@amelek.gda.pl>, 2005.
#

register	BR		 1
register	DIR		32
register	EJIMPCODE	32
register	EJADDRESS	32
register	EJDATA		32
register	EJCONTROL	32
register	EJALL		96

instruction length 5

instruction	BYPASS		11111	BR
instruction	IDCODE		00001	DIR
instruction	EJTAG_IMPCODE	00011	EJIMPCODE
instruction	EJTAG_ADDRESS	01000	EJADDRESS
instruction	EJTAG_DATA	01001	EJDATA
instruction	EJTAG_CONTROL	01010	EJCONTROL
instruction	EJTAG_ALL	01011	EJALL

initbus ejtag
endian big
