1# Copyright (c) 2021 Teslabs Engineering S.L.
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  The AFIO peripheral is used to configure pin remapping, EXTI sources and,
6  when available, enable the I/O compensation cell.
7
8compatible: "gd,gd32-afio"
9
10include: base.yaml
11
12properties:
13  reg:
14    required: true
15
16  clocks:
17    required: true
18
19  enable-cps:
20    type: boolean
21    description: |
22      Enable the I/O compensation cell. This option should be enabled when the
23      output speed is greater than 50MHz to reduce the I/O noise effects on
24      the power supply. This option is only available on certain GD32 series.
25