Faraday Technology FTRTC010 Real Time Clock
Schema identifier ($id): "http://devicetree.org/schemas/rtc/faraday,ftrtc010.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
This RTC appears in for example the Storlink Gemini family of SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"faraday,ftrtc010"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"cortina,gemini-rtc"Item 2
Exact value (
const):"faraday,ftrtc010"
resets — not listed as required here #
Maximum number of items (maxItems): 1
reg — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
PCLK clocks
Item 2
EXTCLK clocks. Faraday calls it 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 — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"PCLK"
Item 2
Exact value (
const):"EXTCLK"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
rtc@45000000 {
compatible = "cortina,gemini-rtc", "faraday,ftrtc010";
reg = <0x45000000 0x100>;
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&foo 0>, <&foo 1>;
clock-names = "PCLK", "EXTCLK";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)