2013-02-22 12:37:39 +00:00
|
|
|
NVIDIA Tegra114 SPI controller.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "nvidia,tegra114-spi".
|
|
|
|
- reg: Should contain SPI registers location and length.
|
|
|
|
- interrupts: Should contain SPI interrupts.
|
2013-11-06 21:00:25 +00:00
|
|
|
- clock-names : Must include the following entries:
|
|
|
|
- spi
|
2013-11-07 17:11:27 +00:00
|
|
|
- resets : Must contain an entry for each entry in reset-names.
|
|
|
|
See ../reset/reset.txt for details.
|
|
|
|
- reset-names : Must include the following entries:
|
|
|
|
- spi
|
2013-11-11 20:04:19 +00:00
|
|
|
- dmas : Must contain an entry for each entry in clock-names.
|
|
|
|
See ../dma/dma.txt for details.
|
|
|
|
- dma-names : Must include the following entries:
|
|
|
|
- rx
|
|
|
|
- tx
|
|
|
|
- clocks : Must contain an entry for each entry in clock-names.
|
|
|
|
See ../clocks/clock-bindings.txt for details.
|
2013-02-22 12:37:39 +00:00
|
|
|
|
|
|
|
Recommended properties:
|
|
|
|
- spi-max-frequency: Definition as per
|
|
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Example:
|
|
|
|
|
|
|
|
spi@7000d600 {
|
|
|
|
compatible = "nvidia,tegra114-spi";
|
|
|
|
reg = <0x7000d600 0x200>;
|
|
|
|
interrupts = <0 82 0x04>;
|
|
|
|
spi-max-frequency = <25000000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-11-06 21:00:25 +00:00
|
|
|
clocks = <&tegra_car 44>;
|
|
|
|
clock-names = "spi";
|
2013-11-07 17:11:27 +00:00
|
|
|
resets = <&tegra_car 44>;
|
|
|
|
reset-names = "spi";
|
2013-11-11 20:04:19 +00:00
|
|
|
dmas = <&apbdma 16>, <&apbdma 16>;
|
|
|
|
dma-names = "rx", "tx";
|
2013-02-22 12:37:39 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|