| 
     1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/rtc/microcrystal,rv3032.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Microchip RV-3032 RTC Device Tree Bindings
    8 
    9 allOf:
   10   - $ref: "rtc.yaml#"
   11 
   12 maintainers:
   13   - Alexandre Belloni <alexandre.belloni@bootlin.com>
   14 
   15 properties:
   16   compatible:
   17     const: microcrystal,rv3032
   18 
   19   reg:
   20     maxItems: 1
   21 
   22   interrupts:
   23     maxItems: 1
   24 
   25   start-year: true
   26 
   27   trickle-resistor-ohms:
   28     enum:
   29       - 1000
   30       - 2000
   31       - 7000
   32       - 11000
   33 
   34   trickle-voltage-millivolt:
   35     $ref: /schemas/types.yaml#/definitions/uint32
   36     enum:
   37       - 1750
   38       - 3000
   39       - 4400
   40 
   41 required:
   42   - compatible
   43   - reg
   44 
   45 additionalProperties: false
   46 
   47 examples:
   48   - |
   49     #include <dt-bindings/interrupt-controller/irq.h>
   50     i2c {
   51         #address-cells = <1>;
   52         #size-cells = <0>;
   53 
   54         rtc@51 {
   55             compatible = "microcrystal,rv3032";
   56             reg = <0x51>;
   57             pinctrl-0 = <&rtc_nint_pins>;
   58             interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
   59             trickle-resistor-ohms = <7000>;
   60             trickle-voltage-millivolt = <1750>;
   61         };
   62     };
   63 
   64 ...
Cache object: bdc81ac840d0e4981003c5557d5e2816 
 
 |