blob: 3fc9236cbb150b68bbeaf919268debbb4629618c [file] [log] [blame]
# Copyright (c) 2022 TOKTIA Hrioshi <tokita.hiroshi@fujitsu.com>
# SPDX-License-Identifier: Apache-2.0
description: RaspberryPi Pico ADC
compatible: "raspberrypi,pico-adc"
include: [adc-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
properties:
reg:
required: true
vref-mv:
type: int
default: 3300
description: |
Indicate the reference voltage of the ADC in mV.
Raspberry Pi has one voltage reference.
And it is usually connected to VDD.
In such case, set this property to the VDD (in mV) value.
"#io-channel-cells":
const: 1
io-channel-cells:
- input