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