1# Copyright (C) 2019 Peter Bigot Consulting, LLC
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    ADC channels exposed on Arduino Uno (R3) headers.
6
7    The Arduino Uno layout provides a 6-pin Analog Input header.  This
8    has analog input signals labeled from A0 at the top through A5 at
9    the bottom.
10
11    This binding provides a nexus mapping for these pins where parent
12    pins 0 through 5 correspond to A0 through A5.
13
14compatible: "arduino,uno-adc"
15
16include: base.yaml
17
18properties:
19  io-channel-map:
20    type: compound
21    required: true
22
23  io-channel-map-mask:
24    type: compound
25
26  io-channel-map-pass-thru:
27    type: compound
28
29  "#io-channel-cells":
30    type: int
31    required: true
32    description: Number of items to expect in an ADC specifier
33