NXP PCF85063 Real Time Clock
Schema identifier ($id): "http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexander Stein <alexander.stein@ew.tq-group.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "microcrystal,rv8063", "microcrystal,rv8263", "nxp,pcf85063", "nxp,pcf85063a", "nxp,pcf85063tp", "nxp,pca85073a"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — not listed as required here #
Exact value (const): 0
clock-output-names — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
quartz-load-femtofarads — not listed as required here #
The capacitive load of the quartz(x-tal).
Allowed values (enum): 7000, 12500
Default value (default): 7000
clock — not listed as required here #
Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml
Provide this if the square wave pin is used as boot-enabled fixed clock.
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
spi-cs-high — not listed as required here #
true — No constraints added by this property rule.
spi-3wire — not listed as required here #
true — No constraints added by this property rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Rule 2 #
Shared schema rule (
$ref):rtc.yaml#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"microcrystal,rv8063","microcrystal,rv8263"When the condition matches (
then) #Properties and child nodes (
properties)
quartz-load-femtofarads— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
spi-cs-high— not listed as required here
false— Not permitted by this property rule.
spi-3wire— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
rtc@51 {
compatible = "nxp,pcf85063a";
reg = <0x51>;
quartz-load-femtofarads = <12500>;
clock {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32768>;
};
};
};
spi {
#address-cells = <1>;
#size-cells = <0>;
rtc@0 {
compatible = "microcrystal,rv8063";
reg = <0>;
spi-cs-high;
spi-3wire;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)