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:
parent
aae5b8bf8e
commit
fafdfba6bb
4 changed files with 18 additions and 24 deletions
15
dts/bindings/arm/nxp,lpc-flexcomm.yaml
Normal file
15
dts/bindings/arm/nxp,lpc-flexcomm.yaml
Normal 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
|
|
@ -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
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue