zephyr/dts/bindings/iio/adc/atmel,sam0-adc.yaml

32 lines
568 B
YAML

# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
# SPDX-License-Identifier: Apache-2.0
description: Atmel SAM0 family ADC
compatible: "atmel,sam0-adc"
include: adc-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
gclk:
type: int
required: true
description: generic clock generator source
prescaler:
type: int
required: true
description: clock prescaler divisor applied to the generic clock
"#io-channel-cells":
const: 1
io-channel-cells:
- input