brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · 3ec111f Raw
74 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/fsl,ls-ftm-alarm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale FlexTimer Module (FTM) Alarm8 9maintainers:10  - Frank Li <Frank.Li@nxp.com>11 12properties:13  compatible:14    enum:15      - fsl,ls1012a-ftm-alarm16      - fsl,ls1021a-ftm-alarm17      - fsl,ls1028a-ftm-alarm18      - fsl,ls1043a-ftm-alarm19      - fsl,ls1046a-ftm-alarm20      - fsl,ls1088a-ftm-alarm21      - fsl,ls208xa-ftm-alarm22      - fsl,lx2160a-ftm-alarm23 24  reg:25    maxItems: 126 27  interrupts:28    maxItems: 129 30  fsl,rcpm-wakeup:31    $ref: /schemas/types.yaml#/definitions/phandle-array32    items:33      - items:34          - description: phandle to rcpm node35          - description: bit mask of IPPDEXPCR036          - description: bit mask of IPPDEXPCR137          - description: bit mask of IPPDEXPCR238          - description: bit mask of IPPDEXPCR339          - description: bit mask of IPPDEXPCR440          - description: bit mask of IPPDEXPCR541          - description: bit mask of IPPDEXPCR642        minItems: 143    description:44      phandle to rcpm node, Please refer45      Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml46 47  big-endian:48    $ref: /schemas/types.yaml#/definitions/flag49    description:50      If the host controller is big-endian mode, specify this property.51      The default endian mode is little-endian.52 53required:54  - compatible55  - reg56  - interrupts57  - fsl,rcpm-wakeup58 59allOf:60  - $ref: rtc.yaml#61 62unevaluatedProperties: false63 64examples:65  - |66    #include <dt-bindings/interrupt-controller/arm-gic.h>67 68    rtc@2800000 {69        compatible = "fsl,ls1088a-ftm-alarm";70        reg = <0x2800000 0x10000>;71        fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;72        interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;73    };74