xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/nxp,pcf85063.txt (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1c66ec88fSEmmanuel Vadot* NXP PCF85063 Real Time Clock
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot- compatible: Should one of contain:
5*d5b0e70fSEmmanuel Vadot	"nxp,pca85073a",
6c66ec88fSEmmanuel Vadot	"nxp,pcf85063",
7c66ec88fSEmmanuel Vadot	"nxp,pcf85063a",
8c66ec88fSEmmanuel Vadot	"nxp,pcf85063tp",
9c66ec88fSEmmanuel Vadot	"microcrystal,rv8263"
10c66ec88fSEmmanuel Vadot- reg: I2C address for chip.
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel VadotOptional property:
13c66ec88fSEmmanuel Vadot- quartz-load-femtofarads: The capacitive load of the quartz(x-tal),
14c66ec88fSEmmanuel Vadot  expressed in femto Farad (fF). Valid values are 7000 and 12500.
15c66ec88fSEmmanuel Vadot  Default value (if no value is specified) is 7000fF.
16c66ec88fSEmmanuel Vadot
178cc087a1SEmmanuel VadotOptional child node:
188cc087a1SEmmanuel Vadot- clock: Provide this if the square wave pin is used as boot-enabled fixed clock.
198cc087a1SEmmanuel Vadot
20c66ec88fSEmmanuel VadotExample:
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadotpcf85063: rtc@51 {
23c66ec88fSEmmanuel Vadot	compatible = "nxp,pcf85063";
24c66ec88fSEmmanuel Vadot	reg = <0x51>;
25c66ec88fSEmmanuel Vadot	quartz-load-femtofarads = <12500>;
268cc087a1SEmmanuel Vadot
278cc087a1SEmmanuel Vadot		clock {
288cc087a1SEmmanuel Vadot			compatible = "fixed-clock";
298cc087a1SEmmanuel Vadot			#clock-cells = <0>;
308cc087a1SEmmanuel Vadot			clock-frequency = <32768>;
318cc087a1SEmmanuel Vadot		};
32c66ec88fSEmmanuel Vadot};
33