1# Copyright (c) 2022 TOKTIA Hrioshi <tokita.hiroshi@fujitsu.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: RaspberryPi Pico ADC
5
6compatible: "raspberrypi,pico-adc"
7
8include: [adc-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  vref-mv:
15    type: int
16    default: 3300
17    description: |
18      Indicate the reference voltage of the ADC in mV.
19      Raspberry Pi has one voltage reference.
20      And it is usually connected to VDD.
21      In such case, set this property to the VDD (in mV) value.
22
23  "#io-channel-cells":
24    const: 1
25
26io-channel-cells:
27  - input
28