blob: 3499b73293c20562b1036215016e37c2265d57ff [file] [log] [blame]
Marek Vasut4ad1e5b2012-08-03 17:26:14 +02001* Freescale MX233/MX28 SSP/SPI
2
3Required 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 Guo26aafa72013-02-26 11:07:32 +08006- 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 Vasut4ad1e5b2012-08-03 17:26:14 +020011
Marek Vasute64d07a2012-08-22 22:38:35 +020012Optional properties:
13- clock-frequency : Input clock frequency to the SPI block in Hz.
14 Default is 160000000 Hz.
15
Marek Vasut4ad1e5b2012-08-03 17:26:14 +020016Example:
17
18ssp0: ssp@80010000 {
19 #address-cells = <1>;
20 #size-cells = <0>;
21 compatible = "fsl,imx28-spi";
22 reg = <0x80010000 0x2000>;
Shawn Guo26aafa72013-02-26 11:07:32 +080023 interrupts = <96>;
24 dmas = <&dma_apbh 0>;
25 dma-names = "rx-tx";
Marek Vasut4ad1e5b2012-08-03 17:26:14 +020026};