mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-23 18:16:00 +00:00
Add pin controller support for Nuvoton NPCX series Add pin-mux controller support for Nuvoton NPCX series. This CL includes: 1. Add pin controller device tree declarations and introduce alt-cells to select pads' functionality. 2. Add npcx7-alts-map.dtsi since the mapping between IO and controller is irregular and vary in each chip series. 3. Add nuvoton,npcx-pinctrl-def.yaml and its declarations to change all pads' functionality to GPIO by default. 4. Pinmux controller driver implementation. Signed-off-by: Mulin Chao <MLChao@nuvoton.com>
13 lines
379 B
Plaintext
13 lines
379 B
Plaintext
# NPCX PINMUX driver configuration options
|
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config PINMUX_NPCX
|
|
bool "Nuvoton NPCX embedd controller (EC) pinmux driver"
|
|
depends on SOC_FAMILY_NPCX
|
|
help
|
|
This option enables the pin-mux driver for NPCX family
|
|
of processors.
|
|
Say y if you wish to use pin-mux module on NPCX MCU.
|