RSPro hack for SPI flash + RTC

Adrian Chadd adrian.chadd at gmail.com
Tue Feb 16 10:37:58 UTC 2010


I've hacked up support to enable the SPI flash and RTC. The flash side
works - I'll test the RTC side more thoroughly later.

It simply treats the bus has having one CS that's either high or low
and cs=0 is CS0=low w/ cs=1 is CS0=high. Anything else on the SPI bus
won't work anyway given the CS0 wiring.

I don't expect this to be committed; it's just a proof of concept to
test being able to test the device.

http://people.freebsd.org/~adrian/rspro/head-spirtc-hack-r203909.diff

Then uncomment the RTC in AR71XX.hints and set cs=1 instead of cs=0.




Adrian


More information about the freebsd-mips mailing list