xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/nxp,pcf2127.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/rtc/nxp,pcf2127.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: NXP PCF2127 Real Time Clock
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel VadotallOf:
10fac71e4eSEmmanuel Vadot  - $ref: rtc.yaml#
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotmaintainers:
135def4c47SEmmanuel Vadot  - Alexandre Belloni <alexandre.belloni@bootlin.com>
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  compatible:
17cb7aa33aSEmmanuel Vadot    enum:
18cb7aa33aSEmmanuel Vadot      - nxp,pca2129
19cb7aa33aSEmmanuel Vadot      - nxp,pcf2127
20cb7aa33aSEmmanuel Vadot      - nxp,pcf2129
21*aa1a8ff2SEmmanuel Vadot      - nxp,pcf2131
225def4c47SEmmanuel Vadot
235def4c47SEmmanuel Vadot  reg:
245def4c47SEmmanuel Vadot    maxItems: 1
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadot  interrupts:
275def4c47SEmmanuel Vadot    maxItems: 1
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  start-year: true
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot  reset-source: true
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel Vadotrequired:
345def4c47SEmmanuel Vadot  - compatible
355def4c47SEmmanuel Vadot  - reg
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel VadotadditionalProperties: false
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadotexamples:
405def4c47SEmmanuel Vadot  - |
415def4c47SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
425def4c47SEmmanuel Vadot    i2c {
435def4c47SEmmanuel Vadot        #address-cells = <1>;
445def4c47SEmmanuel Vadot        #size-cells = <0>;
455def4c47SEmmanuel Vadot
465def4c47SEmmanuel Vadot        rtc@51 {
475def4c47SEmmanuel Vadot            compatible = "nxp,pcf2127";
485def4c47SEmmanuel Vadot            reg = <0x51>;
495def4c47SEmmanuel Vadot            pinctrl-0 = <&rtc_nint_pins>;
505def4c47SEmmanuel Vadot            interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
515def4c47SEmmanuel Vadot            reset-source;
525def4c47SEmmanuel Vadot        };
535def4c47SEmmanuel Vadot    };
545def4c47SEmmanuel Vadot
555def4c47SEmmanuel Vadot...
56