Loongson On-chip RTC

modulename: rtc-loongson.ko

configname: CONFIG_RTC_DRV_LOONGSON

Linux Kernel Configuration
└─>Device Drivers
└─>Real Time Clock
└─>Loongson On-chip RTC
In linux kernel since version 6.5 (release Date: 2023-08-27)  
This is a driver for the Loongson on-chip Counter0 (Time-Of-Year
counter) to be used as a RTC.
It can be found on Loongson-1 series cpu, Loongson-2K series cpu
and Loongson LS7A bridge chips.

This driver can also be built as a module. If so, the module
will be called rtc-loongson.

source code: