PowerPC: Add CPLD driver for AmigaOne X5000
authorjhibbits <jhibbits@FreeBSD.org>
Sun, 19 Jan 2020 21:43:15 +0000 (21:43 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Sun, 19 Jan 2020 21:43:15 +0000 (21:43 +0000)
commit2a3d43c2047388f7ef875d9082ae213f44eaddb0
tree3b4aeb1542876ae17eb39c3153ccf2b5c13d9797
parentdc23cff1549de403242066fb4a8d8265f0869c10
PowerPC: Add CPLD driver for AmigaOne X5000

Summary:
The CPLD is the communications medium between the CPU and the XMOS
"Xena" event coprocessor.  It provides a mailbox communication feature,
along with dual-port RAM to be used between the CPU and XMOS.  Also, it
provides basic board stats as well, such as PCIe presence, JTAG signals,
and CPU fan speed reporting (in revolutions per second).  Only fan speed
reading is handled, as a sysctl.

Reviewed by: bdragon
Differential Revision: https://reviews.freebsd.org/D23136
sys/conf/files.powerpc
sys/powerpc/amigaone/cpld.h [new file with mode: 0644]
sys/powerpc/amigaone/cpld_x5000.c [new file with mode: 0644]