dts: Introduce shared binding for nxp flexcomm peripheral

The flexcomm peripheral on lpc socs can be configured into uart, spi,
i2c, or i2s mode. Introduce a shared device tree binding that gets
included by the more specific driver type bindings.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2020-04-04 10:46:07 -05:00 committed by Kumar Gala
commit fafdfba6bb
4 changed files with 18 additions and 24 deletions

View file

@ -0,0 +1,15 @@
# Copyright (c) 2020 NXP
# SPDX-License-Identifier: Apache-2.0
description: LPC Flexcomm node
compatible: "nxp,lpc-flexcomm"
include: base.yaml
properties:
reg:
required: true
interrupts:
required: true

View file

@ -5,11 +5,4 @@ description: LPC I2C node
compatible: "nxp,lpc-i2c" compatible: "nxp,lpc-i2c"
include: i2c-controller.yaml include: [i2c-controller.yaml, "nxp,lpc-flexcomm.yaml"]
properties:
reg:
required: true
interrupts:
required: true

View file

@ -5,11 +5,4 @@ description: LPC USART
compatible: "nxp,lpc-usart" compatible: "nxp,lpc-usart"
include: uart-controller.yaml include: [uart-controller.yaml, "nxp,lpc-flexcomm.yaml"]
properties:
reg:
required: true
interrupts:
required: true

View file

@ -5,11 +5,4 @@ description: NXP LPC SPI controller
compatible: "nxp,lpc-spi" compatible: "nxp,lpc-spi"
include: spi-controller.yaml include: [spi-controller.yaml, "nxp,lpc-flexcomm.yaml"]
properties:
reg:
required: true
interrupts:
required: true