rtc: mcp795: add devicetree support

Add device tree support to the rtc-mcp795 driver.

Signed-off-by: Emil Bartczak <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
Emil Bartczak 2016-03-21 01:06:10 +01:00 • committed by Alexandre Belloni
commit 7f8a58925b
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,11 @@
* Maxim MCP795 SPI Serial Real-Time Clock
Required properties:
- compatible: Should contain "maxim,mcp795".
- reg: SPI address for chip
Example:
mcp795: rtc@0 {
compatible = "maxim,mcp795";
reg = <0>;
};