zephyr/soc/arm/microchip_mec/common/soc_gpio.h
Francisco Munoz 35cfe113d2 soc : microchip_mec : Add gpio driver common definitions
Macros and enums are included for supporting pin configuration
settings.

Entries to the dts_fixup were also included in order
to configure port level settings.

Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
2019-05-08 16:39:54 -07:00

24 lines
553 B
C

/*
* Copyright (c) 2019 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/** @file
* @brief Microchip XEC MCU family General Purpose Input Output (GPIO) defines.
*
*/
#ifndef _MICROCHIP_MEC_SOC_GPIO_H_
#define _MICROCHIP_MEC_SOC_GPIO_H_
#define MCHP_GPIO_000_036 0
#define MCHP_GPIO_040_076 1
#define MCHP_GPIO_100_136 2
#define MCHP_GPIO_140_176 3
#define MCHP_GPIO_200_236 4
#define MCHP_GPIO_240_276 5
#define MCHP_GPIO_MAX_PORT 6
#define MCHP_NUM_GPIO_PORTS 6
#endif /* _MICROCHIP_MEC_SOC_GPIO_H_ */