Benoit Cousson | d5a8003 | 2012-02-15 18:37:34 +0100 | [diff] [blame] | 1 | OMAP2+ McSPI device |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : |
| 5 | - "ti,omap2-spi" for OMAP2 & OMAP3. |
| 6 | - "ti,omap4-spi" for OMAP4+. |
| 7 | - ti,spi-num-cs : Number of chipselect supported by the instance. |
| 8 | - ti,hwmods: Name of the hwmod associated to the McSPI |
Daniel Mack | 2cd4517 | 2012-11-14 11:14:26 +0800 | [diff] [blame] | 9 | - ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as |
| 10 | input. The default is D0 as input and |
| 11 | D1 as output. |
Benoit Cousson | d5a8003 | 2012-02-15 18:37:34 +0100 | [diff] [blame] | 12 | |
| 13 | Example: |
| 14 | |
| 15 | mcspi1: mcspi@1 { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | compatible = "ti,omap4-mcspi"; |
| 19 | ti,hwmods = "mcspi1"; |
| 20 | ti,spi-num-cs = <4>; |
| 21 | }; |
| 22 | |