diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-12-04 23:04:39 +0900 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-12-19 00:59:21 +0100 |
commit | 0b6a8f5c9bebe51b95ff23939db570e8d298a36f (patch) | |
tree | ea663bd68c43da6e15dc01bf5bf6fabc22ebeca9 /Documentation | |
parent | 9c19b8930d2cf95f5dc5ec11610400a7c61845d1 (diff) | |
download | linux-stable-0b6a8f5c9bebe51b95ff23939db570e8d298a36f.tar.gz linux-stable-0b6a8f5c9bebe51b95ff23939db570e8d298a36f.tar.bz2 linux-stable-0b6a8f5c9bebe51b95ff23939db570e8d298a36f.zip |
rtc: add support for EPSON TOYOCOM RTC-7301SF/DG
This adds support for EPSON TOYOCOM RTC-7301SF/DG which has parallel
interface compatible with SRAM.
This driver supports basic clock, calendar and alarm functionality.
Tested with Microblaze linux running on Artix7 FPGA board with my own
custom IP for RTC-7301.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/rtc/epson,rtc7301.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/epson,rtc7301.txt b/Documentation/devicetree/bindings/rtc/epson,rtc7301.txt new file mode 100644 index 000000000000..5f9df3f1467c --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/epson,rtc7301.txt @@ -0,0 +1,16 @@ +EPSON TOYOCOM RTC-7301SF/DG + +Required properties: + +- compatible: Should be "epson,rtc7301sf" or "epson,rtc7301dg" +- reg: Specifies base physical address and size of the registers. +- interrupts: A single interrupt specifier. + +Example: + +rtc: rtc@44a00000 { + compatible = "epson,rtc7301dg"; + reg = <0x44a00000 0x10000>; + interrupt-parent = <&axi_intc_0>; + interrupts = <3 2>; +}; |