1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rtc/intersil,isl12022.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Intersil ISL12022 Real-time Clock 8 9maintainers: 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 12properties: 13 compatible: 14 const: isil,isl12022 15 16 reg: 17 maxItems: 1 18 19 interrupts: 20 maxItems: 1 21 22 isil,battery-trip-levels-microvolt: 23 description: 24 The battery voltages at which the first alarm and second alarm 25 should trigger (normally ~85% and ~75% of nominal V_BAT). 26 items: 27 - enum: [2125000, 2295000, 2550000, 2805000, 3060000, 4250000, 4675000] 28 - enum: [1875000, 2025000, 2250000, 2475000, 2700000, 3750000, 4125000] 29 30required: 31 - compatible 32 - reg 33 34allOf: 35 - $ref: rtc.yaml# 36 37unevaluatedProperties: false 38 39examples: 40 - | 41 #include <dt-bindings/interrupt-controller/irq.h> 42 i2c { 43 #address-cells = <1>; 44 #size-cells = <0>; 45 46 rtc@6f { 47 compatible = "isil,isl12022"; 48 reg = <0x6f>; 49 interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>; 50 isil,battery-trip-levels-microvolt = <2550000>, <2250000>; 51 }; 52 }; 53 54... 55