1# SPDX-License-Identifier: Apache-2.0
2
3description: Atmel SAM Timer Counter (TC) QDEC node
4
5compatible: "atmel,sam-tc-qdec"
6
7include: base.yaml
8
9properties:
10    reg:
11      required: true
12
13    interrupts:
14      required: true
15
16    label:
17      required: true
18
19    peripheral-id:
20      type: array
21      description: peripheral ID
22      required: true
23
24    pinctrl-0:
25      type: phandles
26      required: false
27      description: |
28        PIO pin configuration for Timer Counter signals.  We expect that
29        the phandles will reference pinctrl nodes.  These nodes will
30        have a nodelabel that matches the Atmel SoC HAL defines and
31        be of the form p<port><pin><periph>_<inst>_<signal>.
32
33        In Quadrature Decoder mode TIOA0 & TIOB0 signals are expected
34
35        For example the TC0 on SAME7x would be
36           pinctrl-0 = <&pa0b_tc0_tioa0 &pa1b_tc0_tiob0>;
37