brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · c2d1441 Raw
65 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---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 Clock8 9maintainers:10  - Alexandre Belloni <alexandre.belloni@bootlin.com>11 12properties:13  compatible:14    const: isil,isl1202215 16  reg:17    maxItems: 118 19  interrupts:20    maxItems: 121 22  '#clock-cells':23    const: 024 25  isil,battery-trip-levels-microvolt:26    description:27      The battery voltages at which the first alarm and second alarm28      should trigger (normally ~85% and ~75% of nominal V_BAT).29    items:30      - enum: [2125000, 2295000, 2550000, 2805000, 3060000, 4250000, 4675000]31      - enum: [1875000, 2025000, 2250000, 2475000, 2700000, 3750000, 4125000]32 33required:34  - compatible35  - reg36 37allOf:38  - $ref: rtc.yaml#39  # If #clock-cells is present, interrupts must not be present40  - if:41      required:42        - '#clock-cells'43    then:44      properties:45        interrupts: false46 47unevaluatedProperties: false48 49examples:50  - |51    #include <dt-bindings/interrupt-controller/irq.h>52    i2c {53        #address-cells = <1>;54        #size-cells = <0>;55 56        rtc@6f {57            compatible = "isil,isl12022";58            reg = <0x6f>;59            interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>;60            isil,battery-trip-levels-microvolt = <2550000>, <2250000>;61        };62    };63 64...65