1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 # Copyright (C) Sunplus Co., Ltd. 2021 3 %YAML 1.2 4 --- 5 $id: http://devicetree.org/schemas/rtc/sunplus 6 $schema: http://devicetree.org/meta-schemas/co 7 8 title: Sunplus SP7021 Real Time Clock controll 9 10 maintainers: 11 - Vincent Shih <vincent.sunplus@gmail.com> 12 13 properties: 14 compatible: 15 const: sunplus,sp7021-rtc 16 17 reg: 18 maxItems: 1 19 20 reg-names: 21 items: 22 - const: rtc 23 24 clocks: 25 maxItems: 1 26 27 resets: 28 maxItems: 1 29 30 interrupts: 31 maxItems: 1 32 33 required: 34 - compatible 35 - reg 36 - reg-names 37 - clocks 38 - resets 39 - interrupts 40 41 additionalProperties: false 42 43 examples: 44 - | 45 #include <dt-bindings/interrupt-controller 46 47 rtc: serial@9c003a00 { 48 compatible = "sunplus,sp7021-rtc"; 49 reg = <0x9c003a00 0x80>; 50 reg-names = "rtc"; 51 clocks = <&clkc 0x12>; 52 resets = <&rstc 0x02>; 53 interrupt-parent = <&intc>; 54 interrupts = <163 IRQ_TYPE_EDGE_RISING 55 }; 56 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.