Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rtc/ti,bq32000.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: TI BQ32000 I2C Serial Real-Time Clock
0008 
0009 maintainers:
0010   - Alexandre Belloni <alexandre.belloni@bootlin.com>
0011 
0012 allOf:
0013   - $ref: rtc.yaml#
0014 
0015 properties:
0016   compatible:
0017     const: ti,bq32000
0018 
0019   reg:
0020     const: 0x68
0021 
0022   interrupts:
0023     maxItems: 1
0024 
0025   start-year: true
0026 
0027   trickle-resistor-ohms:
0028     enum: [ 1120, 20180 ]
0029 
0030   trickle-diode-disable: true
0031 
0032 required:
0033   - compatible
0034   - reg
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     i2c {
0041             #address-cells = <1>;
0042             #size-cells = <0>;
0043 
0044             bq32000: rtc@68 {
0045                     compatible = "ti,bq32000";
0046                     reg = <0x68>;
0047                     trickle-resistor-ohms = <1120>;
0048             };
0049     };