mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00

Convert ftm-quaddec.txt to yaml format. Additional changes: - Remove "status" at example. - Remove label at example. Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250410222509.3242241-1-Frank.Li@nxp.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
37 lines
656 B
YAML
37 lines
656 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/counter/fsl,ftm-quaddec.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: FlexTimer Quadrature decoder counter
|
|
|
|
description:
|
|
Exposes a simple counter for the quadrature decoder mode.
|
|
|
|
maintainers:
|
|
- Frank Li <Frank.li@nxp.com>
|
|
|
|
properties:
|
|
compatible:
|
|
const: fsl,ftm-quaddec
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
big-endian: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
counter@29d0000 {
|
|
compatible = "fsl,ftm-quaddec";
|
|
reg = <0x29d0000 0x10000>;
|
|
big-endian;
|
|
};
|