On Fri, May 16, 2008 at 3:25 PM, Jon Smirl <jonsmirl@gmail.com> wrote:
The *PSC3 device* cannot support both serial and SPI at the same time.
Only one mode works at a time...
However, *PSC3 pin group* has can be configured to route both the
*PSC3 device* and the *SPI device* signal out to the board at the same
time.
Pin routing is not something that is described by the device tree.
It's viewed as a board level initialization thing, similar to how DDR
RAM initialization is viewed. Ideally, the bootloader will write the
correct value into port_config for pin routing and Linux will never
need to touch it. If the bootloader cannot be changed, then
board-specific platform code can be added to fixup the port_config
setting. However, the drivers should never touch or care about pin
routing.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--