blob: 761ceed302a4477e885255864493f8d0dae17e07 [file] [log] [blame]
wdenkc6097192002-11-03 00:24:07 +00001
2This directory contains board specific code for a generic MPC860T based
3embedded computer, called 'GEN860T'. The design is generic in the sense that
4common, readily available components are used and that the architecture of the
5system is i(relatively) straightforward:
6
7 One eight bit wide boot (FLASH) memory
8 32 bit main memory using SDRAM
9 DOC 2000+
10 Ethernet PHY
11 Some I2C peripheral devices: Atmel AT24C256 EEPROM, Maxim DS1337 RTC.
12 Some other miscellaneous peripherals
13
14NOTE: There are references to a XIlinx FPGA and Mil-Std 1553 databus in this
15port. I guess the computer is not as generic as I first said 8) However,
16these extras can be safely ignored.
17
18Given the GEN860T files, it should be pretty easy to reverse engineer the
19hardware configuration, if that's useful to you. Hopefully, this code will
20be useful to someone as a basis for a port to a new system or as a head start
21on a custom design. If you end up using any of this, I would appreciate
22hearing from you, especially if you discover bugs or find ways to improve the
23quality of this U-Boot port.
24
25Here are the salient features of the system:
26Clock : 33 Mhz oscillator
27Processor core frequency : 66 Mhz if in 1:2:1 mode; can also run 1:1
28Bus frequency : 33 Mhz
29
30Main memory:
31 Type : SDRAM
32 Width : 32 bits
33 Size : 64 megabytes
34 Chip : Two Micron MT48LC16M16A2TG-7E
35 CS : MPC860T CS1*/UPMA
36 UPMA CONNECTIONS:
37 SDRAM A10 : GPLA0*
38 SDRAM CAS* : GPLA2*
39 SDRAM WE* : GPLA3*
40 SDRAM RAS* : GPLA4*
41
42Boot memory:
43 Type : FLASH
44 Width : 8 bits
45 Size : 16 megabytes
46 Chip : One Intel 28F128J3A (StrataFlash)
47 CS : MPC860T CS0*/GPCM (this is the "boot" chip select)
48
49EEPROM memory:
50 Type : Serial I2C EEPROM
51 Width : 8 bits
52 Size : 32 kibibytes
53 Chip : One Atmel AT25C256
54 CS : 0x50 (external I2C address pins on device are tied to GND)
55
56Filesystem memory:
57 Type : NAND FLASH (Toshiba)
58 Width : 8 bits (i.e. interface to DOC is 8 bits)
59 Size : 32 megabytes
60 Chip : One DiskOnCHip Millenium Plus (DOC 2000+)
61 CS : MPC860T CS2*/GPCM
62
63Network support:
64 MAC : MPC86OT FEC (Fast Ethernet Controller)
65 PHY : Intel LXT971A
66 MII Addr: 0x0 (hardwired on the board)
67 MII IRQ :
68
69Console:
70 RS-232 on SMC1 (Maxim MAX3232 LVCMOS-RS232 level shifter)
71
72Real Time Clock:
73 Type : Low power, I2C interface
74 Chip : Maxim DS1337
75 CS : Address 0x68 on I2C bus
76
77 The MPC860T's internal RTC has a defect in Mask rev D that increases
78 the current drain on the KAPWR line to 10 mA. Since this is an
79 unreasonable amount of current draw for a RTC, and Motorola does not
80 plan to fix this in future mask revisions, a serial (I2C) RTC that
81 works has been included instead. NOTE that the DS1337 can be
82 configured to output a 32768 Hz clock while the main power is on.
83 This clock output has been routed to the MPC860T's EXTAL pin to allow
84 the internal RTC to be used. NOTE also that due to yet another
85 defect in the rev D mask, the RTC does not operate reliably when the
86 internal RTC divisor is set to use a 32768 Hz reference. So just use
87 the I2C RTC.
88
89Miscellaneous:
90 Xilinx Virtex FPGA on CS3*/GPCM.
91 Virtex FPGA slave SelectMap interface on cs4*/UPMB.
92 Mil-Std 1553 databus interface on CS5*/GPCM.
93 Audio sounder (beeper) with digital volume control connected to SPKROUT.
94
95Issues:
96 The DOC 2000+ returns 0x40 as its device ID when probed using the method
97 desxribed in the DOC datasheet. Unfortunately, the U-Boot DOC driver
98 does not recognize this device. As of this writing, it seems that MTD
99 does not support the DOC 2000+ either.
100
101Status:
102 Everything appears to work except DOC support. As of this writing,
103 David Woodhouse has stated on the MTD mailing list that he has no
104 knowledge of the DOC Millineum Plus and therfore there is no support
105 in MTD for this device. I wish I had known this sooner :(
106
107The GEN860T board specific files and configuration is based on the work
108of others who have contributed to U-Boot. The copright and license notices
109of these authors have been retained wherever their code has been reused.
110All new code to support the GEN860T board is:
111
112 (C) Copyright 2001-2002
113 Keith Outwater (keith_outwater@mvis.com)
114
115and the following license applies:
116
117This program is free software; you can redistribute it and/or
118modify it under the terms of the GNU General Public License as
119published by the Free Software Foundation; either version 2 of
120the License, or (at your option) any later version.
121
122This program is distributed in the hope that it will be useful,
123WITHOUT ANY WARRANTY; without even the implied warranty of
124MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
125GNU General Public License for more details.
126
127You should have received a copy of the GNU General Public License
128along with this program; if not, write to the Free Software
129Foundation, Inc., 59 Temple Place, Suite 330, Boston,
130MA 02111-1307 USA
131
132Thanks to Wolfgang Denk for a great software package and to everyone
133who contributed to its development.
134
135Keith Outwater
136Sr. Staff Engineer
137Microvision, Inc.
138<keith_outwater@mvis.com>
139<outwater@eskimo.com>
140
141vim: set ts=4 sw=4 tw=78:
142