Intersil ISL12022 Real-time Clock
Schema identifier ($id): "http://devicetree.org/schemas/rtc/intersil,isl12022.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "isil,isl12022"
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
isil,battery-trip-levels-microvolt — not listed as required here #
The battery voltages at which the first alarm and second alarm should trigger (normally ~85% and ~75% of nominal V_BAT).
Array item rules (items) #
Item 1
Allowed values (
enum):2125000,2295000,2550000,2805000,3060000,4250000,4675000
Item 2
Allowed values (
enum):1875000,2025000,2250000,2475000,2700000,3750000,4125000
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rtc.yaml#
Rule 2 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.
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@6f {
compatible = "isil,isl12022";
reg = <0x6f>;
interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>;
isil,battery-trip-levels-microvolt = <2550000>, <2250000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 39: If #clock-cells is present, interrupts must not be present