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

description: Nuvoton, NuMaker ADC controller

compatible: "nuvoton,numaker-adc"

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

properties:
  reg:
    required: true

  interrupts:
    required: true

  resets:
    required: true

  clocks:
    required: true

  channels:
    type: int
    description: Number of channels
    required: true

  "#io-channel-cells":
    const: 1

io-channel-cells:
  - input
