1*3b8fc144SAlexandre Belloni# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*3b8fc144SAlexandre Belloni%YAML 1.2 3*3b8fc144SAlexandre Belloni--- 4*3b8fc144SAlexandre Belloni$id: http://devicetree.org/schemas/rtc/nxp,pcf2127.yaml# 5*3b8fc144SAlexandre Belloni$schema: http://devicetree.org/meta-schemas/core.yaml# 6*3b8fc144SAlexandre Belloni 7*3b8fc144SAlexandre Bellonititle: NXP PCF2127 Real Time Clock 8*3b8fc144SAlexandre Belloni 9*3b8fc144SAlexandre BelloniallOf: 10*3b8fc144SAlexandre Belloni - $ref: "rtc.yaml#" 11*3b8fc144SAlexandre Belloni 12*3b8fc144SAlexandre Bellonimaintainers: 13*3b8fc144SAlexandre Belloni - Alexandre Belloni <alexandre.belloni@bootlin.com> 14*3b8fc144SAlexandre Belloni 15*3b8fc144SAlexandre Belloniproperties: 16*3b8fc144SAlexandre Belloni compatible: 17*3b8fc144SAlexandre Belloni const: nxp,pcf2127 18*3b8fc144SAlexandre Belloni 19*3b8fc144SAlexandre Belloni reg: 20*3b8fc144SAlexandre Belloni maxItems: 1 21*3b8fc144SAlexandre Belloni 22*3b8fc144SAlexandre Belloni interrupts: 23*3b8fc144SAlexandre Belloni maxItems: 1 24*3b8fc144SAlexandre Belloni 25*3b8fc144SAlexandre Belloni start-year: true 26*3b8fc144SAlexandre Belloni 27*3b8fc144SAlexandre Belloni reset-source: true 28*3b8fc144SAlexandre Belloni 29*3b8fc144SAlexandre Bellonirequired: 30*3b8fc144SAlexandre Belloni - compatible 31*3b8fc144SAlexandre Belloni - reg 32*3b8fc144SAlexandre Belloni 33*3b8fc144SAlexandre BelloniadditionalProperties: false 34*3b8fc144SAlexandre Belloni 35*3b8fc144SAlexandre Belloniexamples: 36*3b8fc144SAlexandre Belloni - | 37*3b8fc144SAlexandre Belloni #include <dt-bindings/interrupt-controller/irq.h> 38*3b8fc144SAlexandre Belloni i2c { 39*3b8fc144SAlexandre Belloni #address-cells = <1>; 40*3b8fc144SAlexandre Belloni #size-cells = <0>; 41*3b8fc144SAlexandre Belloni 42*3b8fc144SAlexandre Belloni rtc@51 { 43*3b8fc144SAlexandre Belloni compatible = "nxp,pcf2127"; 44*3b8fc144SAlexandre Belloni reg = <0x51>; 45*3b8fc144SAlexandre Belloni pinctrl-0 = <&rtc_nint_pins>; 46*3b8fc144SAlexandre Belloni interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; 47*3b8fc144SAlexandre Belloni reset-source; 48*3b8fc144SAlexandre Belloni }; 49*3b8fc144SAlexandre Belloni }; 50*3b8fc144SAlexandre Belloni 51*3b8fc144SAlexandre Belloni... 52