1# Copyright (c) 2020 Nuvoton Technology Corporation.
2# SPDX-License-Identifier: Apache-2.0
3
4description: Nuvoton, NPCX-ADC node
5
6compatible: "nuvoton,npcx-adc"
7
8include: [adc-controller.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13  clocks:
14    required: true
15  pinctrl-0:
16    required: true
17  pinctrl-names:
18    required: true
19  vref-mv:
20    type: int
21    required: true
22    description: ADC reference voltage (Unit:mV)
23  channel-count:
24    type: int
25    required: true
26    description: the number of ADC channels
27  threshold-count:
28    type: int
29    required: true
30    description: the number of threshold detectors adc supports
31
32io-channel-cells:
33  - input
34