diff options
Diffstat (limited to 'Documentation/powerpc/dts-bindings/fsl/spi.txt')
| -rw-r--r-- | Documentation/powerpc/dts-bindings/fsl/spi.txt | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/Documentation/powerpc/dts-bindings/fsl/spi.txt b/Documentation/powerpc/dts-bindings/fsl/spi.txt index 80510c018eea..777abd7399d5 100644 --- a/Documentation/powerpc/dts-bindings/fsl/spi.txt +++ b/Documentation/powerpc/dts-bindings/fsl/spi.txt | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | * SPI (Serial Peripheral Interface) | 1 | * SPI (Serial Peripheral Interface) |
| 2 | 2 | ||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - cell-index : SPI controller index. | 4 | - cell-index : QE SPI subblock index. |
| 5 | 0: QE subblock SPI1 | ||
| 6 | 1: QE subblock SPI2 | ||
| 5 | - compatible : should be "fsl,spi". | 7 | - compatible : should be "fsl,spi". |
| 6 | - mode : the SPI operation mode, it can be "cpu" or "cpu-qe". | 8 | - mode : the SPI operation mode, it can be "cpu" or "cpu-qe". |
| 7 | - reg : Offset and length of the register set for the device | 9 | - reg : Offset and length of the register set for the device |
| @@ -29,3 +31,23 @@ Example: | |||
| 29 | gpios = <&gpio 18 1 // device reg=<0> | 31 | gpios = <&gpio 18 1 // device reg=<0> |
| 30 | &gpio 19 1>; // device reg=<1> | 32 | &gpio 19 1>; // device reg=<1> |
| 31 | }; | 33 | }; |
| 34 | |||
| 35 | |||
| 36 | * eSPI (Enhanced Serial Peripheral Interface) | ||
| 37 | |||
| 38 | Required properties: | ||
| 39 | - compatible : should be "fsl,mpc8536-espi". | ||
| 40 | - reg : Offset and length of the register set for the device. | ||
| 41 | - interrupts : should contain eSPI interrupt, the device has one interrupt. | ||
| 42 | - fsl,espi-num-chipselects : the number of the chipselect signals. | ||
| 43 | |||
| 44 | Example: | ||
| 45 | spi@110000 { | ||
| 46 | #address-cells = <1>; | ||
| 47 | #size-cells = <0>; | ||
| 48 | compatible = "fsl,mpc8536-espi"; | ||
| 49 | reg = <0x110000 0x1000>; | ||
| 50 | interrupts = <53 0x2>; | ||
| 51 | interrupt-parent = <&mpic>; | ||
| 52 | fsl,espi-num-chipselects = <4>; | ||
| 53 | }; | ||
