Microchip RV-3028 RTC
Schema identifier ($id): "http://devicetree.org/schemas/rtc/microcrystal,rv3028.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,rv3028"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
#clock-cells — not listed as required here #
Exact value (const): 0
trickle-resistor-ohms — not listed as required here #
Allowed values (enum): 3000, 5000, 9000, 15000
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
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,rv3028";
reg = <0x51>;
pinctrl-0 = <&rtc_nint_pins>;
interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
trickle-resistor-ohms = <3000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause