| Marek Vasut | 4ad1e5b | 2012-08-03 17:26:14 +0200 | [diff] [blame] | 1 | * Freescale MX233/MX28 SSP/SPI |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "fsl,<soc>-spi", where soc is "imx23" or "imx28" |
| 5 | - reg: Offset and length of the register set for the device |
| Shawn Guo | 26aafa7 | 2013-02-26 11:07:32 +0800 | [diff] [blame] | 6 | - interrupts: Should contain SSP ERROR interrupt |
| 7 | - dmas: DMA specifier, consisting of a phandle to DMA controller node |
| 8 | and SSP DMA channel ID. |
| 9 | Refer to dma.txt and fsl-mxs-dma.txt for details. |
| 10 | - dma-names: Must be "rx-tx". |
| Marek Vasut | 4ad1e5b | 2012-08-03 17:26:14 +0200 | [diff] [blame] | 11 | |
| Marek Vasut | e64d07a | 2012-08-22 22:38:35 +0200 | [diff] [blame] | 12 | Optional properties: |
| 13 | - clock-frequency : Input clock frequency to the SPI block in Hz. |
| 14 | Default is 160000000 Hz. |
| 15 | |
| Marek Vasut | 4ad1e5b | 2012-08-03 17:26:14 +0200 | [diff] [blame] | 16 | Example: |
| 17 | |
| 18 | ssp0: ssp@80010000 { |
| 19 | #address-cells = <1>; |
| 20 | #size-cells = <0>; |
| 21 | compatible = "fsl,imx28-spi"; |
| 22 | reg = <0x80010000 0x2000>; |
| Shawn Guo | 26aafa7 | 2013-02-26 11:07:32 +0800 | [diff] [blame] | 23 | interrupts = <96>; |
| 24 | dmas = <&dma_apbh 0>; |
| 25 | dma-names = "rx-tx"; |
| Marek Vasut | 4ad1e5b | 2012-08-03 17:26:14 +0200 | [diff] [blame] | 26 | }; |