]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt
Merge tag 'renesas-soc-fixes-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / Documentation / devicetree / bindings / spi / nvidia,tegra114-spi.txt
1 NVIDIA Tegra114 SPI controller.
2
3 Required properties:
4 - compatible : should be "nvidia,tegra114-spi".
5 - reg: Should contain SPI registers location and length.
6 - interrupts: Should contain SPI interrupts.
7 - clock-names : Must include the following entries:
8   - spi
9 - resets : Must contain an entry for each entry in reset-names.
10   See ../reset/reset.txt for details.
11 - reset-names : Must include the following entries:
12   - spi
13 - dmas : Must contain an entry for each entry in clock-names.
14   See ../dma/dma.txt for details.
15 - dma-names : Must include the following entries:
16   - rx
17   - tx
18 - clocks : Must contain an entry for each entry in clock-names.
19   See ../clocks/clock-bindings.txt for details.
20
21 Recommended properties:
22 - spi-max-frequency: Definition as per
23                      Documentation/devicetree/bindings/spi/spi-bus.txt
24 Example:
25
26 spi@7000d600 {
27         compatible = "nvidia,tegra114-spi";
28         reg = <0x7000d600 0x200>;
29         interrupts = <0 82 0x04>;
30         spi-max-frequency = <25000000>;
31         #address-cells = <1>;
32         #size-cells = <0>;
33         clocks = <&tegra_car 44>;
34         clock-names = "spi";
35         resets = <&tegra_car 44>;
36         reset-names = "spi";
37         dmas = <&apbdma 16>, <&apbdma 16>;
38         dma-names = "rx", "tx";
39         status = "disabled";
40 };