About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / spi / nvidia,tegra114-spi.txt




Custom Search

Based on kernel version 4.0. Page generated on 2015-04-14 21:22 EST.

1	NVIDIA Tegra114 SPI controller.
2	
3	Required properties:
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.
7	- reg: Should contain SPI registers location and length.
8	- interrupts: Should contain SPI interrupts.
9	- clock-names : Must include the following entries:
10	  - spi
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
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.
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>;
32		spi-max-frequency = <25000000>;
33		#address-cells = <1>;
34		#size-cells = <0>;
35		clocks = <&tegra_car 44>;
36		clock-names = "spi";
37		resets = <&tegra_car 44>;
38		reset-names = "spi";
39		dmas = <&apbdma 16>, <&apbdma 16>;
40		dma-names = "rx", "tx";
41		status = "disabled";
42	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.