Freescale FlexTimer Module (FTM) Alarm

Schema identifier ($id): "http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,ls1012a-ftm-alarm", "fsl,ls1021a-ftm-alarm", "fsl,ls1028a-ftm-alarm", "fsl,ls1043a-ftm-alarm", "fsl,ls1046a-ftm-alarm", "fsl,ls1088a-ftm-alarm", "fsl,ls208xa-ftm-alarm", "fsl,lx2160a-ftm-alarm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

fsl,rcpm-wakeup — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to rcpm node

Item 2

bit mask of IPPDEXPCR0

Item 3

bit mask of IPPDEXPCR1

Item 4

bit mask of IPPDEXPCR2

Item 5

bit mask of IPPDEXPCR3

Item 6

bit mask of IPPDEXPCR4

Item 7

bit mask of IPPDEXPCR5

Item 8

bit mask of IPPDEXPCR6

Minimum number of items (minItems): 1

phandle to rcpm node, Please refer Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml

big-endian — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

If the host controller is big-endian mode, specify this property. The default endian mode is little-endian.

Required in this object (required): "compatible", "reg", "interrupts", "fsl,rcpm-wakeup"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

rtc@2800000 {
    compatible = "fsl,ls1088a-ftm-alarm";
    reg = <0x2800000 0x10000>;
    fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
    interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page