# Copyright (c) 2024 Ambiq Micro Inc.
# SPDX-License-Identifier: Apache-2.0

description: Ambiq ADC node

compatible: "ambiq,adc"

include: [adc-controller.yaml, pinctrl-device.yaml, ambiq-pwrcfg.yaml]
properties:
  reg:
    required: true

  interrupts:
    required: true

  channel-count:
    type: int
    required: true
    description: The maximum channels supported on each unit.

  internal-vref-mv:
    type: int
    required: true
    description: Indicates the reference voltage of the ADC in mV.

io-channel-cells:
  - input
