lpc: Add usart shim driver for lpcxpresso54114

Add usart-yaml in dts.

Build fsl_lpc_usart and fsl_lpc_flexcomm in
ext/hal/nxp/mcux/drivers/Makefile.

Only polling mode is implemented in usart now. Interrupt can be added in
future.

Signed-off-by: Shiksha Patel <shiksha.patel@nxp.com>
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Shiksha Patel 2017-07-26 06:53:02 -05:00 committed by Kumar Gala
commit 53cbfd3fd3
6 changed files with 200 additions and 0 deletions

View file

@ -0,0 +1,47 @@
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: LPC USART
id: nxp,lpc-usart
version: 0.1
description: >
This binding gives a base representation of the LPC USART
inherits:
!include uart.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,lpc-usart"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
pinctrl-\d+:
type: array
category: optional
description: pinmux information for RX, TX, CTS, RTS
generation: define
clocks:
type: array
category: required
description: Clock gate control information
generation: structures
...