# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0

description: Nuvoton, NPCX-ADC node

compatible: "nuvoton,npcx-adc"

include: [adc-controller.yaml, pinctrl-device.yaml]

properties:
  reg:
    required: true
  clocks:
    required: true
  pinctrl-0:
    required: true
  pinctrl-names:
    required: true
  vref-mv:
    type: int
    required: true
    description: ADC reference voltage (Unit:mV)
  channel-count:
    type: int
    required: true
    description: the number of ADC channels
  threshold-count:
    type: int
    required: true
    description: the number of threshold detectors adc supports

io-channel-cells:
  - input
