brintos

brintos / linux-shallow public Read only

0
0
Text · 873 B · 96e377a Raw
48 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/nxp,pcf2123.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP PCF2123 SPI Real Time Clock8 9maintainers:10  - Javier Carrasco <javier.carrasco.cruz@gmail.com>11 12allOf:13  - $ref: /schemas/spi/spi-peripheral-props.yaml#14  - $ref: rtc.yaml#15 16properties:17  compatible:18    enum:19      - nxp,pcf212320 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27required:28  - compatible29  - reg30 31unevaluatedProperties: false32 33examples:34  - |35    #include <dt-bindings/interrupt-controller/arm-gic.h>36    spi {37        #address-cells = <1>;38        #size-cells = <0>;39 40        rtc@3 {41            compatible = "nxp,pcf2123";42            reg = <3>;43            interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_LOW>;44            spi-cs-high;45        };46    };47...48