1# Copyright (c) 2021 Piotr Mienkowski
2# SPDX-License-Identifier: Apache-2.0
3
4description: Atmel SAM family DAC
5
6compatible: "atmel,sam-dac"
7
8include:
9  - name: dac-controller.yaml
10  - name: pinctrl-device.yaml
11
12properties:
13  reg:
14    required: true
15
16  clocks:
17    required: true
18
19  prescaler:
20    type: int
21    default: 15
22    description: |
23      Peripheral Clock to DAC Clock Ratio. Prescaler value is calcuated as
24      PRESCAL = (MCK / DACClock) - 2. Should be in range from 0 to 15. The
25      value will be written to DACC_MR.PRESCALER bit-field. The property is
26      applicable only to SAME70, SAMV71 series devices.
27
28  "#io-channel-cells":
29    const: 1
30
31io-channel-cells:
32  - output
33