56 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/nxp,pcf2127.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP PCF2127 Real Time Clock8 9allOf:10 - $ref: rtc.yaml#11 12maintainers:13 - Alexandre Belloni <alexandre.belloni@bootlin.com>14 15properties:16 compatible:17 enum:18 - nxp,pca212919 - nxp,pcf212720 - nxp,pcf212921 - nxp,pcf213122 23 reg:24 maxItems: 125 26 interrupts:27 maxItems: 128 29 start-year: true30 31 reset-source: true32 33required:34 - compatible35 - reg36 37additionalProperties: false38 39examples:40 - |41 #include <dt-bindings/interrupt-controller/irq.h>42 i2c {43 #address-cells = <1>;44 #size-cells = <0>;45 46 rtc@51 {47 compatible = "nxp,pcf2127";48 reg = <0x51>;49 pinctrl-0 = <&rtc_nint_pins>;50 interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;51 reset-source;52 };53 };54 55...56