Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Freescale MX233/MX28 SSP/SPI |
| 8 | |
| 9 | maintainers: |
| 10 | - Marek Vasut <marex@denx.de> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: /schemas/spi/spi-controller.yaml# |
| 14 | |
| 15 | properties: |
| 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 | |
| 37 | required: |
| 38 | - compatible |
| 39 | - reg |
| 40 | - interrupts |
| 41 | - dmas |
| 42 | - dma-names |
| 43 | |
| 44 | unevaluatedProperties: false |
| 45 | |
| 46 | examples: |
| 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 | }; |