# Copyright (c) 2019 Vestas Wind Systems A/S # SPDX-License-Identifier: Apache-2.0 description: NXP ADC12 compatible: "nxp,adc12" include: [adc-controller.yaml, pinctrl-device.yaml] properties: reg: required: true interrupts: required: true clk-source: type: int required: true description: converter clock source clk-divider: type: int required: true description: clock divider for the converter alternate-voltage-reference: type: boolean description: use alternate voltage reference source sample-time: type: int required: true description: sample time in clock cycles vref-mv: type: int required: true description: Indicates the reference voltage of the ADC in mV. "#io-channel-cells": const: 1 io-channel-cells: - input