1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/spi/spi-fsl-lpspi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Low Power SPI (LPSPI) for i.MX
10 - Anson Huang <Anson.Huang@nxp.com>
13 - $ref: "/schemas/spi/spi-controller.yaml#"
22 - const: fsl,imx8ulp-spi
23 - const: fsl,imx7ulp-spi
32 - description: SoC SPI per clock
33 - description: SoC SPI ipg clock
40 fsl,spi-only-use-cs1-sel:
42 spi common code does not support use of CS signals discontinuously.
43 i.MX8DXL-EVK board only uses CS1 without using CS0. Therefore, add
44 this property to re-config the chipselect value in the LPSPI driver.
54 unevaluatedProperties: false
58 #include <dt-bindings/clock/imx7ulp-clock.h>
59 #include <dt-bindings/interrupt-controller/arm-gic.h>
62 compatible = "fsl,imx7ulp-spi";
63 reg = <0x40290000 0x10000>;
64 interrupt-parent = <&intc>;
65 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
66 clocks = <&clks IMX7ULP_CLK_LPSPI2>,
67 <&clks IMX7ULP_CLK_DUMMY>;
68 clock-names = "per", "ipg";
70 fsl,spi-only-use-cs1-sel;