Thread (15 messages) 15 messages, 5 authors, 2007-12-21

Re: [PATCH 0/4] arch/powerpc support for SBC8560 board

From: Scott Wood <hidden>
Date: 2007-12-21 17:31:27

On Thu, Dec 20, 2007 at 10:38:15PM -0500, Paul Gortmaker wrote:
Here is my interpretation of what is happening here -- we come in via
find_legacy_serial_ports() to pick a console port.  It grabs "chosen"
to get np stdout, and then checks the parent of the 16550 compat ports
against the following, requiring at least one of them to match:

	parent->type == "soc" ? add_legacy_soc_port()

	parent->type == "isa" ? add_legacy_isa_port()

	parent->type == "tsi-bridge" ? add_legacy_soc_port()

	parent->type == "opb" ? add_legacy_soc_port()
We should probably add a parent-is-compatible-with-"simple-bus" check, to
avoid needing to extend this hack even further.
quoted
Out of interest how exactly are the duart's wired on the 8560.  Are they 
off localbus?
The board has a bunch of stuff hanging off of CS5 -- an RTC, a 7 segment
display, an EEPROM, some BCSR-like registers, and of course the two
UARTs which are supposed to be 16C2550.  According to TFM, an EPM7128
PLD is responsible for mashing/sub-decoding this all onto/off of CS5.
CS3 and CS4 are the LB-SDRAM.
I'd put these devices under a /localbus node.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help