1# Copyright (c) 2019 Vestas Wind Systems A/S 2# SPDX-License-Identifier: Apache-2.0 3 4description: NXP ADC12 5 6compatible: "nxp,adc12" 7 8include: [adc-controller.yaml, pinctrl-device.yaml] 9 10properties: 11 reg: 12 required: true 13 14 interrupts: 15 required: true 16 17 clk-source: 18 type: int 19 required: true 20 description: converter clock source 21 22 clk-divider: 23 type: int 24 required: true 25 description: clock divider for the converter 26 27 alternate-voltage-reference: 28 type: boolean 29 description: use alternate voltage reference source 30 31 sample-time: 32 type: int 33 required: true 34 description: sample time in clock cycles 35 36 vref-mv: 37 type: int 38 required: true 39 description: Indicates the reference voltage of the ADC in mV. 40 41 "#io-channel-cells": 42 const: 1 43 44io-channel-cells: 45 - input 46