Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2010 18:37:57 +0800
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        freebsd-mips@freebsd.org
Subject:   RSPro hack for SPI flash + RTC
Message-ID:  <d763ac661002160237j6d4e2970o8314ff26c98a0c30@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d763ac661002160237j6d4e2970o8314ff26c98a0c30>