Commit | Line | Data |
---|---|---|
f333a331 LD |
1 | NVIDIA Tegra114 SPI controller. |
2 | ||
3 | Required properties: | |
193c9d23 PW |
4 | - compatible : For Tegra114, must contain "nvidia,tegra114-spi". |
5 | Otherwise, must contain '"nvidia,<chip>-spi", "nvidia,tegra114-spi"' where | |
6 | <chip> is tegra124, tegra132, or tegra210. | |
f333a331 LD |
7 | - reg: Should contain SPI registers location and length. |
8 | - interrupts: Should contain SPI interrupts. | |
d8f64797 SW |
9 | - clock-names : Must include the following entries: |
10 | - spi | |
07999587 SW |
11 | - resets : Must contain an entry for each entry in reset-names. |
12 | See ../reset/reset.txt for details. | |
13 | - reset-names : Must include the following entries: | |
14 | - spi | |
ed520c90 SW |
15 | - dmas : Must contain an entry for each entry in clock-names. |
16 | See ../dma/dma.txt for details. | |
17 | - dma-names : Must include the following entries: | |
18 | - rx | |
19 | - tx | |
20 | - clocks : Must contain an entry for each entry in clock-names. | |
21 | See ../clocks/clock-bindings.txt for details. | |
f333a331 LD |
22 | |
23 | Recommended properties: | |
24 | - spi-max-frequency: Definition as per | |
25 | Documentation/devicetree/bindings/spi/spi-bus.txt | |
26 | Example: | |
27 | ||
28 | spi@7000d600 { | |
29 | compatible = "nvidia,tegra114-spi"; | |
30 | reg = <0x7000d600 0x200>; | |
31 | interrupts = <0 82 0x04>; | |
f333a331 LD |
32 | spi-max-frequency = <25000000>; |
33 | #address-cells = <1>; | |
34 | #size-cells = <0>; | |
d8f64797 SW |
35 | clocks = <&tegra_car 44>; |
36 | clock-names = "spi"; | |
07999587 SW |
37 | resets = <&tegra_car 44>; |
38 | reset-names = "spi"; | |
ed520c90 SW |
39 | dmas = <&apbdma 16>, <&apbdma 16>; |
40 | dma-names = "rx", "tx"; | |
f333a331 LD |
41 | status = "disabled"; |
42 | }; |