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>
This commit is contained in:

committed by
Alexandre Belloni

parent
9c19b8930d
commit
0b6a8f5c9b
16
Documentation/devicetree/bindings/rtc/epson,rtc7301.txt
Normal file
16
Documentation/devicetree/bindings/rtc/epson,rtc7301.txt
Normal file
@@ -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>;
|
||||
};
|
Reference in New Issue
Block a user