Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
22 lines
612 B
Plaintext
22 lines
612 B
Plaintext
* Microchip PIC32 Real Time Clock and Calendar
|
|
|
|
The RTCC keeps time in hours, minutes, and seconds, and one half second. It
|
|
provides a calendar in weekday, date, month, and year. It also provides a
|
|
configurable alarm.
|
|
|
|
Required properties:
|
|
- compatible: should be: "microchip,pic32mzda-rtc"
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
region.
|
|
- interrupts: RTC alarm/event interrupt
|
|
- clocks: clock phandle
|
|
|
|
Example:
|
|
|
|
rtc: rtc@1f8c0000 {
|
|
compatible = "microchip,pic32mzda-rtc";
|
|
reg = <0x1f8c0000 0x60>;
|
|
interrupts = <166 IRQ_TYPE_EDGE_RISING>;
|
|
clocks = <&PBCLK6>;
|
|
};
|