blob: bdb5cadb31ccda3bddbff68470b69f6b778c7f8d [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/epson,rtc7301.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Epson Toyocom RTC-7301SF/DG
8
9description:
10 The only difference between the two variants is the packaging.
11 The DG variant is a DIL package, and the SF variant is a flat
12 package.
13
14maintainers:
15 - Akinobu Mita <akinobu.mita@gmail.com>
16
17properties:
18 compatible:
19 enum:
20 - epson,rtc7301dg
21 - epson,rtc7301sf
22
23 reg:
24 maxItems: 1
25
26 reg-io-width:
27 description:
28 The size (in bytes) of the IO accesses that should be performed
29 on the device.
30 enum: [1, 4]
31 default: 4
32
33 interrupts:
34 maxItems: 1
35
36required:
37 - compatible
38 - reg
39
40additionalProperties: false
41
42examples:
43 - |
44 #include <dt-bindings/interrupt-controller/irq.h>
45 rtc: rtc@44a00000 {
46 compatible = "epson,rtc7301dg";
47 reg = <0x44a00000 0x10000>;
48 reg-io-width = <4>;
49 interrupt-parent = <&axi_intc_0>;
50 interrupts = <3 2>;
51 };