zephyr/dts/bindings/dac/atmel,sam-dac.yaml

33 lines
692 B
YAML

# Copyright (c) 2021 Piotr Mienkowski
# SPDX-License-Identifier: Apache-2.0
description: Atmel SAM family DAC
compatible: "atmel,sam-dac"
include:
- name: dac-controller.yaml
- name: pinctrl-device.yaml
properties:
reg:
required: true
clocks:
required: true
prescaler:
type: int
default: 15
description: |
Peripheral Clock to DAC Clock Ratio. Prescaler value is calculated as
PRESCAL = (MCK / DACClock) - 2. Should be in range from 0 to 15. The
value will be written to DACC_MR.PRESCALER bit-field. The property is
applicable only to SAME70, SAMV71 series devices.
"#io-channel-cells":
const: 1
io-channel-cells:
- output