diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt | 9 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi_altera.txt | 4 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi_oc_tiny.txt | 12 |
3 files changed, 24 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt index c39ac2891951..89a0084df2f7 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt +++ b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt | |||
@@ -7,8 +7,13 @@ Required properties: | |||
7 | - voltage-ranges : two cells are required, first cell specifies minimum | 7 | - voltage-ranges : two cells are required, first cell specifies minimum |
8 | slot voltage (mV), second cell specifies maximum slot voltage (mV). | 8 | slot voltage (mV), second cell specifies maximum slot voltage (mV). |
9 | Several ranges could be specified. | 9 | Several ranges could be specified. |
10 | - gpios : (optional) may specify GPIOs in this order: Card-Detect GPIO, | 10 | |
11 | Optional properties: | ||
12 | - gpios : may specify GPIOs in this order: Card-Detect GPIO, | ||
11 | Write-Protect GPIO. | 13 | Write-Protect GPIO. |
14 | - interrupts : the interrupt of a card detect interrupt. | ||
15 | - interrupt-parent : the phandle for the interrupt controller that | ||
16 | services interrupts for this device. | ||
12 | 17 | ||
13 | Example: | 18 | Example: |
14 | 19 | ||
@@ -20,4 +25,6 @@ Example: | |||
20 | &qe_pio_d 15 0>; | 25 | &qe_pio_d 15 0>; |
21 | voltage-ranges = <3300 3300>; | 26 | voltage-ranges = <3300 3300>; |
22 | spi-max-frequency = <50000000>; | 27 | spi-max-frequency = <50000000>; |
28 | interrupts = <42>; | ||
29 | interrupt-parent = <&PIC>; | ||
23 | }; | 30 | }; |
diff --git a/Documentation/devicetree/bindings/spi/spi_altera.txt b/Documentation/devicetree/bindings/spi/spi_altera.txt new file mode 100644 index 000000000000..dda375943506 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi_altera.txt | |||
@@ -0,0 +1,4 @@ | |||
1 | Altera SPI | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : should be "ALTR,spi-1.0". | ||
diff --git a/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt b/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt new file mode 100644 index 000000000000..d95c0b367a04 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt | |||
@@ -0,0 +1,12 @@ | |||
1 | OpenCores tiny SPI | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : should be "opencores,tiny-spi-rtlsvn2". | ||
5 | - gpios : should specify GPIOs used for chipselect. | ||
6 | Optional properties: | ||
7 | - clock-frequency : input clock frequency to the core. | ||
8 | - baud-width: width, in bits, of the programmable divider used to scale | ||
9 | the input clock to SCLK. | ||
10 | |||
11 | The clock-frequency and baud-width properties are needed only if the divider | ||
12 | is programmable. They are not needed if the divider is fixed. | ||