Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module
Schema identifier ($id): "http://devicetree.org/schemas/counter/ti-eqep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "David Lechner <david@lechnology.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am3352-eqep", "ti,am62-eqep"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
The eQEP event interrupt
Maximum number of items (maxItems): 1
clocks — required here #
The functional and interface clock that determines the clock rate for the eQEP peripheral.
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "sysclkout"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
eqep0: counter@180 {
compatible = "ti,am3352-eqep";
reg = <0x180 0x80>;
clocks = <&l4ls_gclk>;
interrupts = <79>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0