Texas Instruments Enhanced Capture (eCAP) Module
Schema identifier ($id): "http://devicetree.org/schemas/counter/ti,am62-ecap-capture.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Julien Panis <jpanis@baylibre.com>"
The eCAP module resources can be used to capture timestamps on input signal events (falling/rising edges).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,am62-ecap-capture"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "fck"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/ti,sci_pm_domain.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
capture@23100000 { /* eCAP in capture mode on am62x */
compatible = "ti,am62-ecap-capture";
reg = <0x00 0x23100000 0x00 0x100>;
interrupts = <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>;
power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 51 0>;
clock-names = "fck";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)