1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rtc/sprd,sc2731-rtc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Spreadtrum SC2731 Real Time Clock 8 9maintainers: 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 13 14properties: 15 compatible: 16 const: sprd,sc2731-rtc 17 18 reg: 19 maxItems: 1 20 21 interrupts: 22 maxItems: 1 23 24required: 25 - compatible 26 - reg 27 - interrupts 28 29allOf: 30 - $ref: rtc.yaml# 31 32unevaluatedProperties: false 33 34examples: 35 - | 36 #include <dt-bindings/interrupt-controller/irq.h> 37 38 pmic { 39 #address-cells = <1>; 40 #size-cells = <0>; 41 42 rtc@280 { 43 compatible = "sprd,sc2731-rtc"; 44 reg = <0x280>; 45 interrupt-parent = <&sc2731_pmic>; 46 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; 47 }; 48 }; 49... 50