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