1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 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 Clock 8 9allOf: 10 - $ref: rtc.yaml# 11 - $ref: /schemas/spi/spi-peripheral-props.yaml# 12 13maintainers: 14 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 16properties: 17 compatible: 18 enum: 19 - nxp,pca2129 20 - nxp,pcf2127 21 - nxp,pcf2129 22 - nxp,pcf2131 23 24 reg: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 start-year: true 31 32 reset-source: true 33 34required: 35 - compatible 36 - reg 37 38unevaluatedProperties: false 39 40examples: 41 - | 42 #include <dt-bindings/interrupt-controller/irq.h> 43 i2c { 44 #address-cells = <1>; 45 #size-cells = <0>; 46 47 rtc@51 { 48 compatible = "nxp,pcf2127"; 49 reg = <0x51>; 50 pinctrl-0 = <&rtc_nint_pins>; 51 interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; 52 reset-source; 53 }; 54 }; 55 56... 57