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:
10ab0fccc3SRob 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
21*2080e084SHugo Villeneuve      - nxp,pcf2131
223b8fc144SAlexandre Belloni
233b8fc144SAlexandre Belloni  reg:
243b8fc144SAlexandre Belloni    maxItems: 1
253b8fc144SAlexandre Belloni
263b8fc144SAlexandre Belloni  interrupts:
273b8fc144SAlexandre Belloni    maxItems: 1
283b8fc144SAlexandre Belloni
293b8fc144SAlexandre Belloni  start-year: true
303b8fc144SAlexandre Belloni
313b8fc144SAlexandre Belloni  reset-source: true
323b8fc144SAlexandre Belloni
333b8fc144SAlexandre Bellonirequired:
343b8fc144SAlexandre Belloni  - compatible
353b8fc144SAlexandre Belloni  - reg
363b8fc144SAlexandre Belloni
373b8fc144SAlexandre BelloniadditionalProperties: false
383b8fc144SAlexandre Belloni
393b8fc144SAlexandre Belloniexamples:
403b8fc144SAlexandre Belloni  - |
413b8fc144SAlexandre Belloni    #include <dt-bindings/interrupt-controller/irq.h>
423b8fc144SAlexandre Belloni    i2c {
433b8fc144SAlexandre Belloni        #address-cells = <1>;
443b8fc144SAlexandre Belloni        #size-cells = <0>;
453b8fc144SAlexandre Belloni
463b8fc144SAlexandre Belloni        rtc@51 {
473b8fc144SAlexandre Belloni            compatible = "nxp,pcf2127";
483b8fc144SAlexandre Belloni            reg = <0x51>;
493b8fc144SAlexandre Belloni            pinctrl-0 = <&rtc_nint_pins>;
503b8fc144SAlexandre Belloni            interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
513b8fc144SAlexandre Belloni            reset-source;
523b8fc144SAlexandre Belloni        };
533b8fc144SAlexandre Belloni    };
543b8fc144SAlexandre Belloni
553b8fc144SAlexandre Belloni...
56