xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/isil,isl1208.txt (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1Intersil ISL1209/19 I2C RTC/Alarm chip with event in
2
3ISL12X9 have additional pins EVIN and #EVDET for tamper detection, while the
4ISL1208 and ISL1218 do not.  They are all use the same driver with the bindings
5described here, with chip specific properties as noted.
6
7Required properties supported by the device:
8 - "compatible": Should be one of the following:
9		- "isil,isl1208"
10		- "isil,isl1209"
11		- "isil,isl1218"
12		- "isil,isl1219"
13 - "reg": I2C bus address of the device
14
15Optional properties:
16 - "interrupt-names": list which may contains "irq" and "evdet"
17	evdet applies to isl1209 and isl1219 only
18 - "interrupts": list of interrupts for "irq" and "evdet"
19	evdet applies to isl1209 and isl1219 only
20 - "isil,ev-evienb": Enable or disable internal pull on EVIN pin
21	Applies to isl1209 and isl1219 only
22	Possible values are 0 and 1
23	Value 0 enables internal pull-up on evin pin, 1 disables it.
24	Default will leave the non-volatile configuration of the pullup
25	as is.
26
27Example isl1219 node with #IRQ pin connected to SoC gpio1 pin12 and #EVDET pin
28connected to SoC gpio2 pin 24 and internal pull-up enabled in EVIN pin.
29
30	isl1219: rtc@68 {
31		compatible = "isil,isl1219";
32		reg = <0x68>;
33		interrupt-names = "irq", "evdet";
34		interrupts-extended = <&gpio1 12 IRQ_TYPE_EDGE_FALLING>,
35			<&gpio2 24 IRQ_TYPE_EDGE_FALLING>;
36		isil,ev-evienb = <1>;
37	};
38
39