brintos

brintos / linux-shallow public Read only

0
0
Text · 1020 B · cda8ad7 Raw
58 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/microcrystal,rv3028.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip RV-3028 RTC8 9allOf:10  - $ref: rtc.yaml#11 12maintainers:13  - Alexandre Belloni <alexandre.belloni@bootlin.com>14 15properties:16  compatible:17    const: microcrystal,rv302818 19  reg:20    maxItems: 121 22  interrupts:23    maxItems: 124 25  "#clock-cells":26    const: 027 28  trickle-resistor-ohms:29    enum:30      - 300031      - 500032      - 900033      - 1500034 35required:36  - compatible37  - reg38 39unevaluatedProperties: false40 41examples:42  - |43    #include <dt-bindings/interrupt-controller/irq.h>44    i2c {45        #address-cells = <1>;46        #size-cells = <0>;47 48        rtc@51 {49            compatible = "microcrystal,rv3028";50            reg = <0x51>;51            pinctrl-0 = <&rtc_nint_pins>;52            interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;53            trickle-resistor-ohms = <3000>;54        };55    };56 57...58