xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/isil,isl12026.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotISL12026 I2C RTC/EEPROM
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotISL12026 is an I2C RTC/EEPROM combination device.  The RTC and control
4*c66ec88fSEmmanuel Vadotregisters respond at bus address 0x6f, and the EEPROM array responds
5*c66ec88fSEmmanuel Vadotat bus address 0x57.  The canonical "reg" value will be for the RTC portion.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties supported by the device:
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot - "compatible": must be "isil,isl12026"
10*c66ec88fSEmmanuel Vadot - "reg": I2C bus address of the device (always 0x6f)
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotOptional properties:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot - "isil,pwr-bsw": If present PWR.BSW bit must be set to the specified
15*c66ec88fSEmmanuel Vadot                   value for proper operation.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot - "isil,pwr-sbib": If present PWR.SBIB bit must be set to the specified
18*c66ec88fSEmmanuel Vadot                    value for proper operation.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotExample:
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot	rtc@6f {
24*c66ec88fSEmmanuel Vadot		compatible = "isil,isl12026";
25*c66ec88fSEmmanuel Vadot		reg = <0x6f>;
26*c66ec88fSEmmanuel Vadot		isil,pwr-bsw = <0>;
27*c66ec88fSEmmanuel Vadot		isil,pwr-sbib = <1>;
28*c66ec88fSEmmanuel Vadot	}
29