diff options
| -rw-r--r-- | Documentation/devicetree/bindings/spi/spi-dw.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-dw.txt b/Documentation/devicetree/bindings/spi/spi-dw.txt new file mode 100644 index 000000000000..7b63ed601990 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-dw.txt | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | Synopsys DesignWare SPI master | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: should be "snps,designware-spi" | ||
| 5 | - #address-cells: see spi-bus.txt | ||
| 6 | - #size-cells: see spi-bus.txt | ||
| 7 | - reg: address and length of the spi master registers | ||
| 8 | - interrupts: should contain one interrupt | ||
| 9 | - clocks: spi clock phandle | ||
| 10 | - num-cs: see spi-bus.txt | ||
| 11 | |||
| 12 | Optional properties: | ||
| 13 | - cs-gpios: see spi-bus.txt | ||
| 14 | |||
| 15 | Example: | ||
| 16 | |||
| 17 | spi: spi@4020a000 { | ||
| 18 | compatible = "snps,designware-spi"; | ||
| 19 | interrupts = <11 1>; | ||
| 20 | reg = <0x4020a000 0x1000>; | ||
| 21 | clocks = <&pclk>; | ||
| 22 | num-cs = <2>; | ||
| 23 | cs-gpios = <&banka 0 0>; | ||
| 24 | }; | ||
