soc: added LPC5500 family
SoC implementation for LPC5500 family. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
This commit is contained in:
parent
09fdce9aab
commit
e90d184746
11 changed files with 338 additions and 0 deletions
44
soc/arm/nxp_lpc/lpc55xxx/soc.h
Normal file
44
soc/arm/nxp_lpc/lpc55xxx/soc.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* Copyright (c) 2017, NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Board configuration macros for the nxp_lpc55s69 platform
|
||||
*
|
||||
* This header file is used to specify and describe board-level aspects for the
|
||||
* 'nxp_lpc55s69' platform.
|
||||
*/
|
||||
|
||||
#ifndef _SOC__H_
|
||||
#define _SOC__H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
#include <device.h>
|
||||
#include <misc/util.h>
|
||||
#include <fsl_common.h>
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */
|
||||
#define IOCON_PIO_FUNC0 0x00u /*!<@brief Selects pin function 0 */
|
||||
#define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */
|
||||
#define IOCON_PIO_FUNC10 0x0Au /*!<@brief Selects pin function 10 */
|
||||
#define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function not inverted */
|
||||
#define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */
|
||||
#define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */
|
||||
#define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard slew rate mode */
|
||||
#define IOCON_PIO_MODE_PULLDOWN 0x10u /*!<@brief Selects pull-down function */
|
||||
#define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */
|
||||
#define IOCON_PIO_INPFILT_OFF 0x1000u /*!<@brief Input filter disabled */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SOC__H_ */
|
Loading…
Add table
Add a link
Reference in a new issue