1# Copyright (c) 2021 BrainCo Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4description: GigaDevice GD32 series DAC module
5
6compatible: "gd,gd32-dac"
7
8include: [dac-controller.yaml, reset-device.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  resets:
15    required: true
16
17  clocks:
18    required: true
19
20  num-channels:
21    type: int
22    description: Number of DAC output channels
23    required: true
24
25  reset-val:
26    type: int
27    default: 0
28    description: Reset value of DAC output. Defaults to 0, the SoC default.
29
30  "#io-channel-cells":
31    const: 1
32
33io-channel-cells:
34  - output
35