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