Raspberry Pi POE+ hat overlay

Doug Rabson <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CACA0VUh9-7o55pXcyn=Ep9mPexAkgjKLEKUh6HqMovTxe2_R0Q@mail.gmail.com>
I have a pi4 with the official POE+ hat which I want to run FreeBSD on. One
thing I noticed is that the fan doesn't run in FreeBSD so I decided to try
and write a little driver for it. First step seems to be to load the
corresponding devicetree overlay by adding something like this to
/boot/msdos/config.txt:

dtoverlay=rpi-poe-plus
dtparam=poe_fan_temp0=45000,dtparam=poe_fan_temp0_hyst=3000
dtparam=poe_fan_temp1=50000,dtparam=poe_fan_temp1_hyst=3000
dtparam=poe_fan_temp2=62000,dtparam=poe_fan_temp2_hyst=4000
dtparam=poe_fan_temp3=70000,dtparam=poe_fan_temp3_hyst=5000

Unfortunately this is where I'm stuck - the overlay is not present in the
final DTB given to the kernel so there isn't anything to hook a driver to.
Are dtoverlays supposed to work on FreeBSD?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.