Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 1 | * SPI (Serial Peripheral Interface) |
| 2 | |
| 3 | Required properties: |
| 4 | - cell-index : SPI controller index. |
| 5 | - compatible : should be "fsl,spi". |
| 6 | - mode : the SPI operation mode, it can be "cpu" or "cpu-qe". |
| 7 | - reg : Offset and length of the register set for the device |
| 8 | - interrupts : <a b> where a is the interrupt number and b is a |
| 9 | field that represents an encoding of the sense and level |
| 10 | information for the interrupt. This should be encoded based on |
| 11 | the information in section 2) depending on the type of interrupt |
| 12 | controller you have. |
| 13 | - interrupt-parent : the phandle for the interrupt controller that |
| 14 | services interrupts for this device. |
| 15 | |
| 16 | Example: |
| 17 | spi@4c0 { |
| 18 | cell-index = <0>; |
| 19 | compatible = "fsl,spi"; |
| 20 | reg = <4c0 40>; |
| 21 | interrupts = <82 0>; |
| 22 | interrupt-parent = <700>; |
| 23 | mode = "cpu"; |
| 24 | }; |