| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Freescale FlexTimer Module (FTM) Alarm |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- fsl,ls1012a-ftm-alarm |
| 16 |
- fsl,ls1021a-ftm-alarm |
| 17 |
- fsl,ls1028a-ftm-alarm |
| 18 |
- fsl,ls1043a-ftm-alarm |
| 19 |
- fsl,ls1046a-ftm-alarm |
| 20 |
- fsl,ls1088a-ftm-alarm |
| 21 |
- fsl,ls208xa-ftm-alarm |
| 22 |
- fsl,lx2160a-ftm-alarm |
| 23 |
|
| 24 |
reg: |
| 25 |
maxItems: 1 |
| 26 |
|
| 27 |
interrupts: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
fsl,rcpm-wakeup: |
| 31 |
$ref: /schemas/types.yaml#/definitions/phandle-array |
| 32 |
items: |
| 33 |
- items: |
| 34 |
- description: phandle to rcpm node |
| 35 |
- description: bit mask of IPPDEXPCR0 |
| 36 |
- description: bit mask of IPPDEXPCR1 |
| 37 |
- description: bit mask of IPPDEXPCR2 |
| 38 |
- description: bit mask of IPPDEXPCR3 |
| 39 |
- description: bit mask of IPPDEXPCR4 |
| 40 |
- description: bit mask of IPPDEXPCR5 |
| 41 |
- description: bit mask of IPPDEXPCR6 |
| 42 |
minItems: 1 |
| 43 |
description: |
| 44 |
phandle to rcpm node, Please refer |
| 45 |
Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml |
| 46 |
|
| 47 |
big-endian: |
| 48 |
$ref: /schemas/types.yaml#/definitions/flag |
| 49 |
description: |
| 50 |
If the host controller is big-endian mode, specify this property. |
| 51 |
The default endian mode is little-endian. |
| 52 |
|
| 53 |
required: |
| 54 |
- compatible |
| 55 |
- reg |
| 56 |
- interrupts |
| 57 |
- fsl,rcpm-wakeup |
| 58 |
|
| 59 |
allOf: |
| 60 |
- $ref: rtc.yaml# |
| 61 |
|
| 62 |
unevaluatedProperties: false |
| 63 |
|
| 64 |
examples: |
| 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 |
}; |