SPI support for A64-OLinuXino board Allwinner A64 processor

Emmanuel Vadot manu at bidouilliste.com
Thu Dec 19 11:56:46 UTC 2019


On Wed, 18 Dec 2019 20:07:35 -0500
Gary Otten <gdotten at gmail.com> wrote:

> Is there SPI support for this board/processor and what steps would I take
> to implement a working SPI interface?  The correct address and pins a  for
> the SPI interface appear in the sun50i-a64.dtsi include file for the
> default overlay sun50-a64-olinuxino.dts .  What do I need to put in the
> loader.conf file to get the driver to load and for the spi devices to
> appear in /dev and be usable?
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"

 Just kldload aw_spi (it might have been loaded automatically via
devmatch).
 For accessing spi device you need an overlay to add a dts node with
freebsd-spigen compatible, you can have a look at
sys/dts/arm/overlays/spigen-rpi2.dtso for how to do that.

-- 
Emmanuel Vadot <manu at bidouilliste.com>


More information about the freebsd-arm mailing list