This dtoverlay enables the RTC located at the MrHAT extension boards. The RTC will
appear under /dev/rtc<X>,and can be interacted with using the standard Linux RTC API.
Install the debian package from the releases.That will place the dtoverlay under the /boot/overlays directory,
post installation you need to configure the device tree by adding dtoverlay=mrhat-rx8130 to the /boot/config.txt.
By default, GPIO23 is used as the RTC interrupt pin, and main battery is enabled without charging, but that can be modified, by manually editing the boot config and specifying it there.
Example for using GPIO5 for IRQ, disable main battery, enable external EDLC chargeable capacitor:
# in /boot/config.txt
dtoverlay=mrhat-rx8130:rtc_irq_pin=5,ext_battery=false,ext_capacitor=trueThis project is licensed under the MIT License.