1# Copyright (c) 2021 ITE Technology Corporation.
2# SPDX-License-Identifier: Apache-2.0
3
4description: ITE, it8xxx2 Tachometer node
5
6compatible: "ite,it8xxx2-tach"
7
8include: [tach.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  dvs-bit:
15    type: int
16    required: true
17    description: tachometer data valid bit of tswctlr register
18
19  chsel-bit:
20    type: int
21    required: true
22    description: tachometer data valid status bit of tswctlr register
23
24  channel:
25    type: int
26    required: true
27    enum:
28      - 0
29      - 1
30    description: 0 = TACH_CHANNEL_A, 1 = TACH_CHANNEL_B
31
32  pulses-per-round:
33    type: int
34    required: true
35    description: number of pulses per round of tachometer's input
36
37  pinctrl-0:
38    required: true
39
40  pinctrl-names:
41    required: true
42