Date: Thu, 19 Dec 2019 12:56:44 +0100 From: Emmanuel Vadot <manu@bidouilliste.com> To: Gary Otten <gdotten@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: SPI support for A64-OLinuXino board Allwinner A64 processor Message-ID: <20191219125644.aa0bd2b74ee04536500151c8@bidouilliste.com> In-Reply-To: <CABZQu%2BiaZ6QYofnLO8Sgr1M=u4EmZT098gN9j72kug987==EMQ@mail.gmail.com> References: <CABZQu%2BiaZ6QYofnLO8Sgr1M=u4EmZT098gN9j72kug987==EMQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Dec 2019 20:07:35 -0500 Gary Otten <gdotten@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@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@bidouilliste.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191219125644.aa0bd2b74ee04536500151c8>