1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rtc/qcom-pm8xxx-rtc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm PM8xxx PMIC RTC device 8 9maintainers: 10 - Satya Priya <quic_c_skakit@quicinc.com> 11 12properties: 13 compatible: 14 enum: 15 - qcom,pm8058-rtc 16 - qcom,pm8921-rtc 17 - qcom,pm8941-rtc 18 - qcom,pm8018-rtc 19 - qcom,pmk8350-rtc 20 21 reg: 22 minItems: 1 23 maxItems: 2 24 25 reg-names: 26 minItems: 1 27 items: 28 - const: rtc 29 - const: alarm 30 31 interrupts: 32 maxItems: 1 33 34 allow-set-time: 35 $ref: /schemas/types.yaml#/definitions/flag 36 description: 37 Indicates that the setting of RTC time is allowed by the host CPU. 38 39required: 40 - compatible 41 - reg 42 - interrupts 43 44additionalProperties: false 45 46examples: 47 - | 48 #include <dt-bindings/spmi/spmi.h> 49 spmi_bus: spmi@c440000 { 50 reg = <0x0c440000 0x1100>; 51 #address-cells = <2>; 52 #size-cells = <0>; 53 pmicintc: pmic@0 { 54 reg = <0x0 SPMI_USID>; 55 compatible = "qcom,pm8921"; 56 interrupts = <104 8>; 57 #interrupt-cells = <2>; 58 interrupt-controller; 59 #address-cells = <1>; 60 #size-cells = <0>; 61 62 pm8921_rtc: rtc@11d { 63 compatible = "qcom,pm8921-rtc"; 64 reg = <0x11d>; 65 interrupts = <0x27 0>; 66 }; 67 }; 68 }; 69... 70