xref: /linux/Documentation/devicetree/bindings/rtc/isil,isl12026.yaml (revision 211d5933141197b37a7501271e49e4b88540615f)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/isil,isl12026.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Intersil ISL12026 I2C RTC/EEPROM
8
9maintainers:
10  - Piyush Patle <piyushpatle228@gmail.com>
11
12description:
13  The ISL12026 is a combination RTC and EEPROM device connected via I2C.
14  The RTC and control registers respond at address 0x6f, while the EEPROM
15  array responds at address 0x57. The "reg" property refers to the RTC
16  portion of the device.
17
18allOf:
19  - $ref: rtc.yaml#
20
21properties:
22  compatible:
23    const: isil,isl12026
24
25  reg:
26    maxItems: 1
27    description: I2C address of the RTC portion (must be 0x6f)
28
29  isil,pwr-bsw:
30    $ref: /schemas/types.yaml#/definitions/uint32
31    enum: [ 0, 1 ]
32    description:
33      Value written to the PWR.BSW bit for proper device operation.
34
35  isil,pwr-sbib:
36    $ref: /schemas/types.yaml#/definitions/uint32
37    enum: [ 0, 1 ]
38    description:
39      Value written to the PWR.SBIB bit for proper device operation.
40
41required:
42  - compatible
43  - reg
44
45unevaluatedProperties: false
46
47examples:
48  - |
49    i2c {
50        #address-cells = <1>;
51        #size-cells = <0>;
52
53        rtc@6f {
54            compatible = "isil,isl12026";
55            reg = <0x6f>;
56            isil,pwr-bsw = <0>;
57            isil,pwr-sbib = <1>;
58        };
59    };
60