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)
29 lines
811 B
Plaintext
29 lines
811 B
Plaintext
* Faraday Technology FTRTC010 Real Time Clock
|
|
|
|
This RTC appears in for example the Storlink Gemini family of
|
|
SoCs.
|
|
|
|
Required properties:
|
|
- compatible : Should be one of:
|
|
"faraday,ftrtc010"
|
|
"cortina,gemini-rtc", "faraday,ftrtc010"
|
|
|
|
Optional properties:
|
|
- clocks: when present should contain clock references to the
|
|
PCLK and EXTCLK clocks. Faraday calls the later CLK1HZ and
|
|
says the clock should be 1 Hz, but implementers actually seem
|
|
to choose different clocks here, like Cortina who chose
|
|
32768 Hz (a typical low-power clock).
|
|
- clock-names: should name the clocks "PCLK" and "EXTCLK"
|
|
respectively.
|
|
|
|
Examples:
|
|
|
|
rtc@45000000 {
|
|
compatible = "cortina,gemini-rtc";
|
|
reg = <0x45000000 0x100>;
|
|
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&foo 0>, <&foo 1>;
|
|
clock-names = "PCLK", "EXTCLK";
|
|
};
|