1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*f126890aSEmmanuel Vadot%YAML 1.2 3*f126890aSEmmanuel Vadot--- 4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/rtc/isil,isl1208.yaml# 5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadottitle: Intersil ISL1209/19 I2C RTC/Alarm chip with event in 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadotmaintainers: 10*f126890aSEmmanuel Vadot - Biju Das <biju.das.jz@bp.renesas.com> 11*f126890aSEmmanuel Vadot - Trent Piepho <tpiepho@gmail.com> 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadotdescription: 14*f126890aSEmmanuel Vadot ISL12X9 have additional pins EVIN and EVDET for tamper detection, while the 15*f126890aSEmmanuel Vadot ISL1208 and ISL1218 do not. 16*f126890aSEmmanuel Vadot 17*f126890aSEmmanuel Vadotproperties: 18*f126890aSEmmanuel Vadot compatible: 19*f126890aSEmmanuel Vadot enum: 20*f126890aSEmmanuel Vadot - isil,isl1208 21*f126890aSEmmanuel Vadot - isil,isl1209 22*f126890aSEmmanuel Vadot - isil,isl1218 23*f126890aSEmmanuel Vadot - isil,isl1219 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot reg: 26*f126890aSEmmanuel Vadot maxItems: 1 27*f126890aSEmmanuel Vadot 28*f126890aSEmmanuel Vadot clocks: 29*f126890aSEmmanuel Vadot maxItems: 1 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot clock-names: 32*f126890aSEmmanuel Vadot description: | 33*f126890aSEmmanuel Vadot Use xin, if connected to an external crystal. 34*f126890aSEmmanuel Vadot Use clkin, if connected to an external clock signal. 35*f126890aSEmmanuel Vadot enum: 36*f126890aSEmmanuel Vadot - xin 37*f126890aSEmmanuel Vadot - clkin 38*f126890aSEmmanuel Vadot 39*f126890aSEmmanuel Vadot interrupts: 40*f126890aSEmmanuel Vadot minItems: 1 41*f126890aSEmmanuel Vadot maxItems: 2 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot interrupt-names: 44*f126890aSEmmanuel Vadot minItems: 1 45*f126890aSEmmanuel Vadot items: 46*f126890aSEmmanuel Vadot - const: irq 47*f126890aSEmmanuel Vadot - const: evdet 48*f126890aSEmmanuel Vadot 49*f126890aSEmmanuel Vadot isil,ev-evienb: 50*f126890aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 51*f126890aSEmmanuel Vadot enum: [ 0, 1 ] 52*f126890aSEmmanuel Vadot description: | 53*f126890aSEmmanuel Vadot Enable or disable internal pull on EVIN pin 54*f126890aSEmmanuel Vadot Default will leave the non-volatile configuration of the pullup 55*f126890aSEmmanuel Vadot as is. 56*f126890aSEmmanuel Vadot <0> : Enables internal pull-up on evin pin 57*f126890aSEmmanuel Vadot <1> : Disables internal pull-up on evin pin 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadotrequired: 60*f126890aSEmmanuel Vadot - compatible 61*f126890aSEmmanuel Vadot - reg 62*f126890aSEmmanuel Vadot 63*f126890aSEmmanuel VadotallOf: 64*f126890aSEmmanuel Vadot - $ref: rtc.yaml# 65*f126890aSEmmanuel Vadot - if: 66*f126890aSEmmanuel Vadot properties: 67*f126890aSEmmanuel Vadot compatible: 68*f126890aSEmmanuel Vadot contains: 69*f126890aSEmmanuel Vadot enum: 70*f126890aSEmmanuel Vadot - isil,isl1209 71*f126890aSEmmanuel Vadot - isil,isl1219 72*f126890aSEmmanuel Vadot then: 73*f126890aSEmmanuel Vadot properties: 74*f126890aSEmmanuel Vadot interrupts: 75*f126890aSEmmanuel Vadot maxItems: 2 76*f126890aSEmmanuel Vadot interrupt-names: 77*f126890aSEmmanuel Vadot items: 78*f126890aSEmmanuel Vadot - const: irq 79*f126890aSEmmanuel Vadot - const: evdet 80*f126890aSEmmanuel Vadot else: 81*f126890aSEmmanuel Vadot properties: 82*f126890aSEmmanuel Vadot interrupts: 83*f126890aSEmmanuel Vadot maxItems: 1 84*f126890aSEmmanuel Vadot interrupt-names: 85*f126890aSEmmanuel Vadot items: 86*f126890aSEmmanuel Vadot - const: irq 87*f126890aSEmmanuel Vadot 88*f126890aSEmmanuel VadotunevaluatedProperties: false 89*f126890aSEmmanuel Vadot 90*f126890aSEmmanuel Vadotexamples: 91*f126890aSEmmanuel Vadot - | 92*f126890aSEmmanuel Vadot i2c { 93*f126890aSEmmanuel Vadot #address-cells = <1>; 94*f126890aSEmmanuel Vadot #size-cells = <0>; 95*f126890aSEmmanuel Vadot 96*f126890aSEmmanuel Vadot rtc_twi: rtc@6f { 97*f126890aSEmmanuel Vadot compatible = "isil,isl1208"; 98*f126890aSEmmanuel Vadot reg = <0x6f>; 99*f126890aSEmmanuel Vadot }; 100*f126890aSEmmanuel Vadot }; 101