2021-11-02 04:37:04 +08:00
|
|
|
# Copyright (c) 2021 Teslabs Engineering S.L.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
DT_COMPAT_GIGADEVICE_GD32_PINCTRL_AF := gd,gd32-pinctrl-af
|
2021-11-05 06:18:09 +08:00
|
|
|
DT_COMPAT_GIGADEVICE_GD32_PINCTRL_AFIO := gd,gd32-pinctrl-afio
|
2021-11-02 04:37:04 +08:00
|
|
|
|
|
|
|
config PINCTRL_GD32_AF
|
|
|
|
bool "GD32 AF pin controller driver"
|
|
|
|
depends on SOC_FAMILY_GD32 && GD32_HAS_AF_PINMUX
|
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_GIGADEVICE_GD32_PINCTRL_AF))
|
|
|
|
help
|
|
|
|
GD32 AF pin controller driver. This driver is used by series using the
|
|
|
|
AF pin multiplexing model.
|
2021-11-05 06:18:09 +08:00
|
|
|
|
|
|
|
config PINCTRL_GD32_AFIO
|
|
|
|
bool "GD32 AFIO pin controller driver"
|
|
|
|
depends on SOC_FAMILY_GD32 && GD32_HAS_AFIO_PINMUX
|
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_GIGADEVICE_GD32_PINCTRL_AFIO))
|
|
|
|
help
|
|
|
|
GD32 AFIO pin controller driver. This driver is used by series using the
|
|
|
|
AFIO pin multiplexing model.
|