13b8fc144SAlexandre Belloni# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
23b8fc144SAlexandre Belloni%YAML 1.2
33b8fc144SAlexandre Belloni---
43b8fc144SAlexandre Belloni$id: http://devicetree.org/schemas/rtc/nxp,pcf2127.yaml#
53b8fc144SAlexandre Belloni$schema: http://devicetree.org/meta-schemas/core.yaml#
63b8fc144SAlexandre Belloni
73b8fc144SAlexandre Bellonititle: NXP PCF2127 Real Time Clock
83b8fc144SAlexandre Belloni
93b8fc144SAlexandre BelloniallOf:
10*ab0fccc3SRob Herring  - $ref: rtc.yaml#
113b8fc144SAlexandre Belloni
123b8fc144SAlexandre Bellonimaintainers:
133b8fc144SAlexandre Belloni  - Alexandre Belloni <alexandre.belloni@bootlin.com>
143b8fc144SAlexandre Belloni
153b8fc144SAlexandre Belloniproperties:
163b8fc144SAlexandre Belloni  compatible:
17947e8876SHugo Villeneuve    enum:
18947e8876SHugo Villeneuve      - nxp,pca2129
19947e8876SHugo Villeneuve      - nxp,pcf2127
20947e8876SHugo Villeneuve      - nxp,pcf2129
213b8fc144SAlexandre Belloni
223b8fc144SAlexandre Belloni  reg:
233b8fc144SAlexandre Belloni    maxItems: 1
243b8fc144SAlexandre Belloni
253b8fc144SAlexandre Belloni  interrupts:
263b8fc144SAlexandre Belloni    maxItems: 1
273b8fc144SAlexandre Belloni
283b8fc144SAlexandre Belloni  start-year: true
293b8fc144SAlexandre Belloni
303b8fc144SAlexandre Belloni  reset-source: true
313b8fc144SAlexandre Belloni
323b8fc144SAlexandre Bellonirequired:
333b8fc144SAlexandre Belloni  - compatible
343b8fc144SAlexandre Belloni  - reg
353b8fc144SAlexandre Belloni
363b8fc144SAlexandre BelloniadditionalProperties: false
373b8fc144SAlexandre Belloni
383b8fc144SAlexandre Belloniexamples:
393b8fc144SAlexandre Belloni  - |
403b8fc144SAlexandre Belloni    #include <dt-bindings/interrupt-controller/irq.h>
413b8fc144SAlexandre Belloni    i2c {
423b8fc144SAlexandre Belloni        #address-cells = <1>;
433b8fc144SAlexandre Belloni        #size-cells = <0>;
443b8fc144SAlexandre Belloni
453b8fc144SAlexandre Belloni        rtc@51 {
463b8fc144SAlexandre Belloni            compatible = "nxp,pcf2127";
473b8fc144SAlexandre Belloni            reg = <0x51>;
483b8fc144SAlexandre Belloni            pinctrl-0 = <&rtc_nint_pins>;
493b8fc144SAlexandre Belloni            interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
503b8fc144SAlexandre Belloni            reset-source;
513b8fc144SAlexandre Belloni        };
523b8fc144SAlexandre Belloni    };
533b8fc144SAlexandre Belloni
543b8fc144SAlexandre Belloni...
55