drivers: pinctrl: add SiFive pinctrl driver
Add a pinctrl driver used in FE310-based boards. Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
parent
b76d74cd64
commit
a5cc185b9b
6 changed files with 140 additions and 0 deletions
11
drivers/pinctrl/Kconfig.sifive
Normal file
11
drivers/pinctrl/Kconfig.sifive
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2022 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
DT_COMPAT_SIFIVE_PINCTRL := sifive,pinctrl
|
||||
|
||||
config PINCTRL_SIFIVE
|
||||
bool "SiFive Freedom SoC pinmux driver"
|
||||
depends on SOC_SERIES_RISCV_SIFIVE_FREEDOM
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_SIFIVE_PINCTRL))
|
||||
help
|
||||
Enable driver for the SiFive Freedom SoC pinctrl driver
|
Loading…
Add table
Add a link
Reference in a new issue