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