drivers: gpio: Add LiteX GPIO driver
This commits adds GPIO driver for LiteX SoC builder. Due to the fact that GPIO in LiteX is unidirectional and can be configured with different pins amount per port, additional entries were added to the dts file. Signed-off-by: Robert Winkler <rwinkler@internships.antmicro.com> Signed-off-by: Mateusz Holenko <mholenko@antmicro.com> Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
This commit is contained in:
parent
c0cf714087
commit
e8d0eb1db1
7 changed files with 397 additions and 0 deletions
11
drivers/gpio/Kconfig.litex
Normal file
11
drivers/gpio/Kconfig.litex
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Litex VexRiscV GPIO configuration options
|
||||
|
||||
# Copyright (c) 2019 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config GPIO_LITEX
|
||||
bool "Litex GPIO driver"
|
||||
depends on SOC_RISCV32_LITEX_VEXRISCV
|
||||
select HAS_DTS_GPIO
|
||||
help
|
||||
Enable Litex GPIO driver.
|
Loading…
Add table
Add a link
Reference in a new issue