Microchip RV-3032 RTC
Schema identifier ($id): "http://devicetree.org/schemas/rtc/microcrystal,rv3032.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rtc.yaml#
Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microcrystal,rv3032"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
start-year — not listed as required here #
true — No constraints added by this property rule.
trickle-resistor-ohms — not listed as required here #
Allowed values (enum): 1000, 2000, 7000, 11000
trickle-voltage-millivolt — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1750, 3000, 4400
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg"
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>
i2c {
#address-cells = <1>;
#size-cells = <0>;
rtc@51 {
compatible = "microcrystal,rv3032";
reg = <0x51>;
pinctrl-0 = <&rtc_nint_pins>;
interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
trickle-resistor-ohms = <7000>;
trickle-voltage-millivolt = <1750>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause