diff options
author | Purna Chandra Mandal <purna.mandal@microchip.com> | 2016-04-15 07:27:18 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-18 12:52:46 -0400 |
commit | 0a4afaae989c47fd93b73cc83d2c4a46b55aa1b7 (patch) | |
tree | 49039c08d7adb748d331b1b092fa0de0645affec | |
parent | 1bcb9f8ceb67803960871ecf4ed2d365a2a919c8 (diff) |
spi: pic32-sqi: add binding document for PIC32 Quad-SPI driver.
Document Device tree bindings for the quad SPI peripheral
found on Microchip PIC32 class devices.
Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Acked-by: Rob Herring <rob@kernel.org>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/spi/sqi-pic32.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/sqi-pic32.txt b/Documentation/devicetree/bindings/spi/sqi-pic32.txt new file mode 100644 index 000000000000..c82d021bce50 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/sqi-pic32.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | Microchip PIC32 Quad SPI controller | ||
2 | ----------------------------------- | ||
3 | Required properties: | ||
4 | - compatible: Should be "microchip,pic32mzda-sqi". | ||
5 | - reg: Address and length of SQI controller register space. | ||
6 | - interrupts: Should contain SQI interrupt. | ||
7 | - clocks: Should contain phandle of two clocks in sequence, one that drives | ||
8 | clock on SPI bus and other that drives SQI controller. | ||
9 | - clock-names: Should be "spi_ck" and "reg_ck" in order. | ||
10 | |||
11 | Example: | ||
12 | sqi1: spi@1f8e2000 { | ||
13 | compatible = "microchip,pic32mzda-sqi"; | ||
14 | reg = <0x1f8e2000 0x200>; | ||
15 | clocks = <&rootclk REF2CLK>, <&rootclk PB5CLK>; | ||
16 | clock-names = "spi_ck", "reg_ck"; | ||
17 | interrupts = <169 IRQ_TYPE_LEVEL_HIGH>; | ||
18 | }; | ||