1be8faebcSAnson Huang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2be8faebcSAnson Huang%YAML 1.2 3be8faebcSAnson Huang--- 4be8faebcSAnson Huang$id: http://devicetree.org/schemas/spi/spi-fsl-lpspi.yaml# 5be8faebcSAnson Huang$schema: http://devicetree.org/meta-schemas/core.yaml# 6be8faebcSAnson Huang 7be8faebcSAnson Huangtitle: Freescale Low Power SPI (LPSPI) for i.MX 8be8faebcSAnson Huang 9be8faebcSAnson Huangmaintainers: 10be8faebcSAnson Huang - Anson Huang <Anson.Huang@nxp.com> 11be8faebcSAnson Huang 12be8faebcSAnson HuangallOf: 13be8faebcSAnson Huang - $ref: "/schemas/spi/spi-controller.yaml#" 14be8faebcSAnson Huang 15be8faebcSAnson Huangproperties: 16be8faebcSAnson Huang compatible: 17be8faebcSAnson Huang enum: 18be8faebcSAnson Huang - fsl,imx7ulp-spi 19be8faebcSAnson Huang - fsl,imx8qxp-spi 20be8faebcSAnson Huang 21be8faebcSAnson Huang reg: 22be8faebcSAnson Huang maxItems: 1 23be8faebcSAnson Huang 24be8faebcSAnson Huang interrupts: 25be8faebcSAnson Huang maxItems: 1 26be8faebcSAnson Huang 27be8faebcSAnson Huang clocks: 28be8faebcSAnson Huang items: 29be8faebcSAnson Huang - description: SoC SPI per clock 30be8faebcSAnson Huang - description: SoC SPI ipg clock 31be8faebcSAnson Huang 32be8faebcSAnson Huang clock-names: 33be8faebcSAnson Huang items: 34be8faebcSAnson Huang - const: per 35be8faebcSAnson Huang - const: ipg 36be8faebcSAnson Huang 37*7ac9bbf6SClark Wang fsl,spi-only-use-cs1-sel: 38*7ac9bbf6SClark Wang description: 39*7ac9bbf6SClark Wang spi common code does not support use of CS signals discontinuously. 40*7ac9bbf6SClark Wang i.MX8DXL-EVK board only uses CS1 without using CS0. Therefore, add 41*7ac9bbf6SClark Wang this property to re-config the chipselect value in the LPSPI driver. 42*7ac9bbf6SClark Wang 43be8faebcSAnson Huangrequired: 44be8faebcSAnson Huang - compatible 45be8faebcSAnson Huang - reg 46be8faebcSAnson Huang - interrupts 47be8faebcSAnson Huang - clocks 48be8faebcSAnson Huang - clock-names 49be8faebcSAnson Huang 50be8faebcSAnson HuangunevaluatedProperties: false 51be8faebcSAnson Huang 52be8faebcSAnson Huangexamples: 53be8faebcSAnson Huang - | 54be8faebcSAnson Huang #include <dt-bindings/clock/imx7ulp-clock.h> 55be8faebcSAnson Huang #include <dt-bindings/interrupt-controller/arm-gic.h> 56be8faebcSAnson Huang 57be8faebcSAnson Huang spi@40290000 { 58be8faebcSAnson Huang compatible = "fsl,imx7ulp-spi"; 59be8faebcSAnson Huang reg = <0x40290000 0x10000>; 60be8faebcSAnson Huang interrupt-parent = <&intc>; 61be8faebcSAnson Huang interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 62be8faebcSAnson Huang clocks = <&clks IMX7ULP_CLK_LPSPI2>, 63be8faebcSAnson Huang <&clks IMX7ULP_CLK_DUMMY>; 64be8faebcSAnson Huang clock-names = "per", "ipg"; 65be8faebcSAnson Huang spi-slave; 66*7ac9bbf6SClark Wang fsl,spi-only-use-cs1-sel; 67be8faebcSAnson Huang }; 68