1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/rtc/qcom-pm8xxx-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PM8xxx PMIC RTC device
10 - Satya Priya <quic_c_skakit@quicinc.com>
23 - const: qcom,pm8921-rtc
39 $ref: /schemas/types.yaml#/definitions/flag
41 Indicates that the setting of RTC time is allowed by the host CPU.
46 four-byte nvmem cell holding a little-endian offset from the Unix
47 epoch representing the time when the RTC timer was last reset
60 additionalProperties: false
64 #include <dt-bindings/interrupt-controller/irq.h>
65 #include <dt-bindings/spmi/spmi.h>
72 compatible = "qcom,pm8941", "qcom,spmi-pmic";
73 reg = <0x0 SPMI_USID>;
78 compatible = "qcom,pm8941-rtc";
79 reg = <0x6000>, <0x6100>;
80 reg-names = "rtc", "alarm";
81 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
82 nvmem-cells = <&rtc_offset>;
83 nvmem-cell-names = "offset";