Date: Wed, 25 Dec 2019 19:12:28 -0500 From: Gary Otten <gdotten@gmail.com> To: freebsd-arm@freebsd.org Subject: Re: SPI support for A64-OLinuXino board Allwinner A64 processor Message-ID: <CABZQu%2BivgronnY=ro5CtQoyYR6B=gGFsaryKm%2BgEwubJWx3KzA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Thanks, I have created the following overlay and tried a variety of other things but I haven't been able to get spigen0.0 to appear in /dev. /* $FreeBSD$ */ /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-a64"; }; &{/soc/spi@1c68000} { status = "okay"; spigen0: spigen0 { compatible = "freebsd,spigen"; reg = <0>; spi-max-frequency = <500000>; status = "okay"; }; }; Some diagnostics ------------------------------------------------------- On Boot Loading DTB overlays: 'sun50i-a64-spi-spidev' /boot/dtb/overlays/sun50i-a64-spi-spidev.dtbo size=0x15c applying DTB overlay '/boot/dtb/overlays/sun50i-a64-spi-spidev.dtbo' .. .... ..... Autoloading module: aw_spi.ko aw_spi0: <Allwinner SPI> mem 0x1c68000-0x1c68fff irq 29 on simplebus0 spibus0: <OFW SPI bus> on aw_spi0 spibus0: <unknown card> at cs 0 mode 0 ------------------------------------------------------- root@:/boot/dtb/overlays # kldstat Id Refs Address Size Name 1 5 0xffff000000000000 144dda8 kernel 2 1 0xffff000054c00000 41000 aw_spi.ko ------------------------------------------------------- root@:/boot/dtb/overlays # devinfo .. ... aw_spi0 spibus0 ------------------------------------------------------- root@:/boot/dtb/overlays # devinfo .... ...... Node 0x2f60: spi@1c68000 Node 0x309c: spigen0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABZQu%2BivgronnY=ro5CtQoyYR6B=gGFsaryKm%2BgEwubJWx3KzA>