]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/rtc/epson,rtc7301.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / rtc / epson,rtc7301.yaml
1 # 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
7 title: Epson Toyocom RTC-7301SF/DG
8
9 description:
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
14 maintainers:
15 - Akinobu Mita <akinobu.mita@gmail.com>
16
17 properties:
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
36 required:
37 - compatible
38 - reg
39
40 additionalProperties: false
41
42 examples:
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 };