dts: Add lpspi yaml bindings and dts nodes
Adds yaml bindings and dts nodes for the nxp lpspi peripheral. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
45d3d8e441
commit
e4aacd31d6
2 changed files with 85 additions and 0 deletions
|
@ -119,6 +119,50 @@
|
|||
label = "PINMUX_0";
|
||||
};
|
||||
|
||||
spi1: spi@40394000 {
|
||||
compatible = "nxp,imx-lpspi";
|
||||
reg = <0x40394000 0x4000>;
|
||||
interrupts = <32 3>;
|
||||
label = "SPI_1";
|
||||
status = "disabled";
|
||||
clocks = <&ccm IMX_CCM_LPSPI_CLK 0x6c 0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
spi2: spi@40398000 {
|
||||
compatible = "nxp,imx-lpspi";
|
||||
reg = <0x40398000 0x4000>;
|
||||
interrupts = <33 3>;
|
||||
label = "SPI_2";
|
||||
status = "disabled";
|
||||
clocks = <&ccm IMX_CCM_LPSPI_CLK 0x6c 2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
spi3: spi@4039c000 {
|
||||
compatible = "nxp,imx-lpspi";
|
||||
reg = <0x4039c000 0x4000>;
|
||||
interrupts = <34 3>;
|
||||
label = "SPI_3";
|
||||
status = "disabled";
|
||||
clocks = <&ccm IMX_CCM_LPSPI_CLK 0x6c 4>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
spi4: spi@403a0000 {
|
||||
compatible = "nxp,imx-lpspi";
|
||||
reg = <0x403a0000 0x4000>;
|
||||
interrupts = <35 3>;
|
||||
label = "SPI_4";
|
||||
status = "disabled";
|
||||
clocks = <&ccm IMX_CCM_LPSPI_CLK 0x6c 6>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
uart1: uart@40184000 {
|
||||
compatible = "nxp,kinetis-lpuart";
|
||||
reg = <0x40184000 0x4000>;
|
||||
|
|
41
dts/bindings/spi/nxp,imx-lpspi.yaml
Normal file
41
dts/bindings/spi/nxp,imx-lpspi.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
#
|
||||
# Copyright (c) 2018, NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: NXP LPSPI
|
||||
id: nxp,imx-lpspi
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of the NXP i.MX LPSPI controller
|
||||
|
||||
inherits:
|
||||
!include spi.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
type: string
|
||||
category: required
|
||||
description: compatible strings
|
||||
constraint: "nxp,imx-lpspi"
|
||||
|
||||
reg:
|
||||
type: array
|
||||
description: mmio register space
|
||||
generation: define
|
||||
category: required
|
||||
|
||||
interrupts:
|
||||
type: array
|
||||
category: required
|
||||
description: required interrupts
|
||||
generation: define
|
||||
|
||||
clocks:
|
||||
type: array
|
||||
category: required
|
||||
description: Clock gate information
|
||||
generation: define
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue