xref: /linux/Documentation/devicetree/bindings/spi/mxs-spi.yaml (revision 99a7fa0e75a3a595a577fb5efa4b84a491f664a2)
1e013bf2dSAnson Huang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e013bf2dSAnson Huang%YAML 1.2
3e013bf2dSAnson Huang---
4e013bf2dSAnson Huang$id: http://devicetree.org/schemas/spi/mxs-spi.yaml#
5e013bf2dSAnson Huang$schema: http://devicetree.org/meta-schemas/core.yaml#
6e013bf2dSAnson Huang
7e013bf2dSAnson Huangtitle: Freescale MX233/MX28 SSP/SPI
8e013bf2dSAnson Huang
9e013bf2dSAnson Huangmaintainers:
10e013bf2dSAnson Huang  - Marek Vasut <marex@denx.de>
11e013bf2dSAnson Huang
12e013bf2dSAnson HuangallOf:
13*99a7fa0eSKrzysztof Kozlowski  - $ref: /schemas/spi/spi-controller.yaml#
14e013bf2dSAnson Huang
15e013bf2dSAnson Huangproperties:
16e013bf2dSAnson Huang  compatible:
17e013bf2dSAnson Huang    enum:
18e013bf2dSAnson Huang      - fsl,imx23-spi
19e013bf2dSAnson Huang      - fsl,imx28-spi
20e013bf2dSAnson Huang
21e013bf2dSAnson Huang  reg:
22e013bf2dSAnson Huang    maxItems: 1
23e013bf2dSAnson Huang
24e013bf2dSAnson Huang  interrupts:
25e013bf2dSAnson Huang    maxItems: 1
26e013bf2dSAnson Huang
27e013bf2dSAnson Huang  dmas:
28e013bf2dSAnson Huang    maxItems: 1
29e013bf2dSAnson Huang
30e013bf2dSAnson Huang  dma-names:
31e013bf2dSAnson Huang    const: rx-tx
32e013bf2dSAnson Huang
33e013bf2dSAnson Huang  clock-frequency:
34e013bf2dSAnson Huang    description: input clock frequency to the SPI block in Hz.
35e013bf2dSAnson Huang    default: 160000000
36e013bf2dSAnson Huang
37e013bf2dSAnson Huangrequired:
38e013bf2dSAnson Huang  - compatible
39e013bf2dSAnson Huang  - reg
40e013bf2dSAnson Huang  - interrupts
41e013bf2dSAnson Huang  - dmas
42e013bf2dSAnson Huang  - dma-names
43e013bf2dSAnson Huang
44e013bf2dSAnson HuangunevaluatedProperties: false
45e013bf2dSAnson Huang
46e013bf2dSAnson Huangexamples:
47e013bf2dSAnson Huang  - |
48e013bf2dSAnson Huang    spi@80010000 {
49e013bf2dSAnson Huang        #address-cells = <1>;
50e013bf2dSAnson Huang        #size-cells = <0>;
51e013bf2dSAnson Huang        compatible = "fsl,imx28-spi";
52e013bf2dSAnson Huang        reg = <0x80010000 0x2000>;
53e013bf2dSAnson Huang        interrupts = <96>;
54e013bf2dSAnson Huang        dmas = <&dma_apbh 0>;
55e013bf2dSAnson Huang        dma-names = "rx-tx";
56e013bf2dSAnson Huang    };
57