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 |
| 6 | - interrupts: Should contain SSP interrupts (error irq first, dma irq second) |
| 7 | - fsl,ssp-dma-channel: APBX DMA channel for the SSP |
| 8 | |
Marek Vasut | e64d07a | 2012-08-22 22:38:35 +0200 | [diff] [blame] | 9 | Optional properties: |
| 10 | - clock-frequency : Input clock frequency to the SPI block in Hz. |
| 11 | Default is 160000000 Hz. |
| 12 | |
Marek Vasut | 4ad1e5b | 2012-08-03 17:26:14 +0200 | [diff] [blame] | 13 | Example: |
| 14 | |
| 15 | ssp0: ssp@80010000 { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | compatible = "fsl,imx28-spi"; |
| 19 | reg = <0x80010000 0x2000>; |
| 20 | interrupts = <96 82>; |
| 21 | fsl,ssp-dma-channel = <0>; |
| 22 | }; |