Path: blob/master/Documentation/devicetree/bindings/counter/ti,am62-ecap-capture.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/counter/ti,am62-ecap-capture.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Texas Instruments Enhanced Capture (eCAP) Module78maintainers:9- Julien Panis <jpanis@baylibre.com>1011description: |12The eCAP module resources can be used to capture timestamps13on input signal events (falling/rising edges).1415properties:16compatible:17const: ti,am62-ecap-capture1819reg:20maxItems: 12122interrupts:23maxItems: 12425clocks:26maxItems: 12728clock-names:29const: fck3031power-domains:32maxItems: 13334required:35- compatible36- reg37- interrupts38- clocks39- clock-names4041additionalProperties: false4243examples:44- |45#include <dt-bindings/interrupt-controller/arm-gic.h>46#include <dt-bindings/soc/ti,sci_pm_domain.h>4748soc {49#address-cells = <2>;50#size-cells = <2>;5152capture@23100000 { /* eCAP in capture mode on am62x */53compatible = "ti,am62-ecap-capture";54reg = <0x00 0x23100000 0x00 0x100>;55interrupts = <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>;56power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;57clocks = <&k3_clks 51 0>;58clock-names = "fck";59};60};616263