soc: arm: mchp: Allow to configure HW-controlled pins as GPIOs.

Introduce switch to allow board configuration for VCI pins to
remain HW-controled depending on the design.
Currently pins are always configured as GPIOs which is not always
desirable.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
Jose Alberto Meza 2020-06-02 12:22:27 -07:00 committed by Anas Nashif
commit 65d93b4ed7

View file

@ -68,3 +68,11 @@ config SOC_MEC1501_VTR3_1_8V
bool "VTR3 power rail is tied to 1.8V"
help
Set this is if VTR3 power sourcejumper in the board is changed.
config SOC_MEC1501_VCI_PINS_AS_GPIOS
bool "Use VCI block pins as GPIOS"
default y
help
By default these pins are not GPIOs, but HW controlled.
Set this if VCI pin block HW logic is not required in the board
design.