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