rtc: mcp795: add devicetree support

Add device tree support to the rtc-mcp795 driver.

Signed-off-by: Emil Bartczak <emilbart@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
このコミットが含まれているのは:
Emil Bartczak
2016-03-21 01:06:10 +01:00
committed by Alexandre Belloni
コミット 7f8a58925b
2個のファイルの変更21行の追加0行の削除

ファイルの表示

@@ -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>;
};