aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/dma/tegra20-apbdma.txt5
-rw-r--r--Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt7
-rw-r--r--Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt10
-rw-r--r--Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt14
-rw-r--r--Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt14
-rw-r--r--Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt18
-rw-r--r--Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt14
-rw-r--r--Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt10
-rw-r--r--Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt10
9 files changed, 73 insertions, 29 deletions
diff --git a/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt b/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
index e0b166a7f04a..c6908e7c42cc 100644
--- a/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
+++ b/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
@@ -11,6 +11,10 @@ Required properties:
11 See ../reset/reset.txt for details. 11 See ../reset/reset.txt for details.
12- reset-names : Must include the following entries: 12- reset-names : Must include the following entries:
13 - dma 13 - dma
14- #dma-cells : Must be <1>. This dictates the length of DMA specifiers in
15 client nodes' dmas properties. The specifier represents the DMA request
16 select value for the peripheral. For more details, consult the Tegra TRM's
17 documentation of the APB DMA channel control register REQ_SEL field.
14 18
15Examples: 19Examples:
16 20
@@ -36,4 +40,5 @@ apbdma: dma@6000a000 {
36 clocks = <&tegra_car 34>; 40 clocks = <&tegra_car 34>;
37 resets = <&tegra_car 34>; 41 resets = <&tegra_car 34>;
38 reset-names = "dma"; 42 reset-names = "dma";
43 #dma-cells = <1>;
39}; 44};
diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
index 10d2afdb76f4..87507e9ce6db 100644
--- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
+++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
@@ -51,6 +51,11 @@ Required properties:
51 See ../reset/reset.txt for details. 51 See ../reset/reset.txt for details.
52- reset-names: Must include the following entries: 52- reset-names: Must include the following entries:
53 - i2c 53 - i2c
54- dmas: Must contain an entry for each entry in clock-names.
55 See ../dma/dma.txt for details.
56- dma-names: Must include the following entries:
57 - rx
58 - tx
54 59
55Example: 60Example:
56 61
@@ -64,5 +69,7 @@ Example:
64 clock-names = "div-clk", "fast-clk"; 69 clock-names = "div-clk", "fast-clk";
65 resets = <&tegra_car 12>; 70 resets = <&tegra_car 12>;
66 reset-names = "i2c"; 71 reset-names = "i2c";
72 dmas = <&apbdma 16>, <&apbdma 16>;
73 dma-names = "rx", "tx";
67 status = "disabled"; 74 status = "disabled";
68 }; 75 };
diff --git a/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt b/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt
index 74ebd4c2f99d..845850caf088 100644
--- a/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt
+++ b/Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt
@@ -4,14 +4,17 @@ Required properties:
4- compatible : should be "nvidia,tegra30-hsuart", "nvidia,tegra20-hsuart". 4- compatible : should be "nvidia,tegra30-hsuart", "nvidia,tegra20-hsuart".
5- reg: Should contain UART controller registers location and length. 5- reg: Should contain UART controller registers location and length.
6- interrupts: Should contain UART controller interrupts. 6- interrupts: Should contain UART controller interrupts.
7- nvidia,dma-request-selector : The Tegra DMA controller's phandle and
8 request selector for this UART controller.
9- clocks: Must contain one entry, for the module clock. 7- clocks: Must contain one entry, for the module clock.
10 See ../clocks/clock-bindings.txt for details. 8 See ../clocks/clock-bindings.txt for details.
11- resets : Must contain an entry for each entry in reset-names. 9- resets : Must contain an entry for each entry in reset-names.
12 See ../reset/reset.txt for details. 10 See ../reset/reset.txt for details.
13- reset-names : Must include the following entries: 11- reset-names : Must include the following entries:
14 - serial 12 - serial
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
15 18
16Optional properties: 19Optional properties:
17- nvidia,enable-modem-interrupt: Enable modem interrupts. Should be enable 20- nvidia,enable-modem-interrupt: Enable modem interrupts. Should be enable
@@ -24,10 +27,11 @@ serial@70006000 {
24 reg = <0x70006000 0x40>; 27 reg = <0x70006000 0x40>;
25 reg-shift = <2>; 28 reg-shift = <2>;
26 interrupts = <0 36 0x04>; 29 interrupts = <0 36 0x04>;
27 nvidia,dma-request-selector = <&apbdma 8>;
28 nvidia,enable-modem-interrupt; 30 nvidia,enable-modem-interrupt;
29 clocks = <&tegra_car 6>; 31 clocks = <&tegra_car 6>;
30 resets = <&tegra_car 6>; 32 resets = <&tegra_car 6>;
31 reset-names = "serial"; 33 reset-names = "serial";
34 dmas = <&apbdma 8>, <&apbdma 8>;
35 dma-names = "rx", "tx";
32 status = "disabled"; 36 status = "disabled";
33}; 37};
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt
index 2b6817f6e40e..eaf00102d92c 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.txt
@@ -4,14 +4,17 @@ Required properties:
4- compatible : "nvidia,tegra20-ac97" 4- compatible : "nvidia,tegra20-ac97"
5- reg : Should contain AC97 controller registers location and length 5- reg : Should contain AC97 controller registers location and length
6- interrupts : Should contain AC97 interrupt 6- interrupts : Should contain AC97 interrupt
7- clocks : Must contain one entry, for the module clock.
8 See ../clocks/clock-bindings.txt for details.
9- resets : Must contain an entry for each entry in reset-names. 7- resets : Must contain an entry for each entry in reset-names.
10 See ../reset/reset.txt for details. 8 See ../reset/reset.txt for details.
11- reset-names : Must include the following entries: 9- reset-names : Must include the following entries:
12 - ac97 10 - ac97
13- nvidia,dma-request-selector : The Tegra DMA controller's phandle and 11- dmas : Must contain an entry for each entry in clock-names.
14 request selector for the AC97 controller 12 See ../dma/dma.txt for details.
13- dma-names : Must include the following entries:
14 - rx
15 - tx
16- clocks : Must contain one entry, for the module clock.
17 See ../clocks/clock-bindings.txt for details.
15- nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number 18- nvidia,codec-reset-gpio : The Tegra GPIO controller's phandle and the number
16 of the GPIO used to reset the external AC97 codec 19 of the GPIO used to reset the external AC97 codec
17- nvidia,codec-sync-gpio : The Tegra GPIO controller's phandle and the number 20- nvidia,codec-sync-gpio : The Tegra GPIO controller's phandle and the number
@@ -23,10 +26,11 @@ ac97@70002000 {
23 compatible = "nvidia,tegra20-ac97"; 26 compatible = "nvidia,tegra20-ac97";
24 reg = <0x70002000 0x200>; 27 reg = <0x70002000 0x200>;
25 interrupts = <0 81 0x04>; 28 interrupts = <0 81 0x04>;
26 nvidia,dma-request-selector = <&apbdma 12>;
27 nvidia,codec-reset-gpio = <&gpio 170 0>; 29 nvidia,codec-reset-gpio = <&gpio 170 0>;
28 nvidia,codec-sync-gpio = <&gpio 120 0>; 30 nvidia,codec-sync-gpio = <&gpio 120 0>;
29 clocks = <&tegra_car 3>; 31 clocks = <&tegra_car 3>;
30 resets = <&tegra_car 3>; 32 resets = <&tegra_car 3>;
31 reset-names = "ac97"; 33 reset-names = "ac97";
34 dmas = <&apbdma 12>, <&apbdma 12>;
35 dma-names = "rx", "tx";
32}; 36};
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt
index 8b070aeca3db..dc30c6bfbe95 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt
@@ -4,14 +4,17 @@ Required properties:
4- compatible : "nvidia,tegra20-i2s" 4- compatible : "nvidia,tegra20-i2s"
5- reg : Should contain I2S registers location and length 5- reg : Should contain I2S registers location and length
6- interrupts : Should contain I2S interrupt 6- interrupts : Should contain I2S interrupt
7- clocks : Must contain one entry, for the module clock.
8 See ../clocks/clock-bindings.txt for details.
9- resets : Must contain an entry for each entry in reset-names. 7- resets : Must contain an entry for each entry in reset-names.
10 See ../reset/reset.txt for details. 8 See ../reset/reset.txt for details.
11- reset-names : Must include the following entries: 9- reset-names : Must include the following entries:
12 - i2s 10 - i2s
13- nvidia,dma-request-selector : The Tegra DMA controller's phandle and 11- dmas : Must contain an entry for each entry in clock-names.
14 request selector for this I2S controller 12 See ../dma/dma.txt for details.
13- dma-names : Must include the following entries:
14 - rx
15 - tx
16- clocks : Must contain one entry, for the module clock.
17 See ../clocks/clock-bindings.txt for details.
15 18
16Example: 19Example:
17 20
@@ -19,8 +22,9 @@ i2s@70002800 {
19 compatible = "nvidia,tegra20-i2s"; 22 compatible = "nvidia,tegra20-i2s";
20 reg = <0x70002800 0x200>; 23 reg = <0x70002800 0x200>;
21 interrupts = < 45 >; 24 interrupts = < 45 >;
22 nvidia,dma-request-selector = < &apbdma 2 >;
23 clocks = <&tegra_car 11>; 25 clocks = <&tegra_car 11>;
24 resets = <&tegra_car 11>; 26 resets = <&tegra_car 11>;
25 reset-names = "i2s"; 27 reset-names = "i2s";
28 dmas = <&apbdma 21>, <&apbdma 21>;
29 dma-names = "rx", "tx";
26}; 30};
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt
index 60d59a54ca07..32de7ec789aa 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-ahub.txt
@@ -7,11 +7,6 @@ Required properties:
7 - Tegra30 requires 2 entries, for the APBIF and AHUB/AUDIO register blocks. 7 - Tegra30 requires 2 entries, for the APBIF and AHUB/AUDIO register blocks.
8 - Tegra114 requires an additional entry, for the APBIF2 register block. 8 - Tegra114 requires an additional entry, for the APBIF2 register block.
9- interrupts : Should contain AHUB interrupt 9- interrupts : Should contain AHUB interrupt
10- nvidia,dma-request-selector : A list of the DMA channel specifiers. Each
11 entry contains the Tegra DMA controller's phandle and request selector.
12 If a single entry is present, the request selectors for the channels are
13 assumed to be contiguous, and increment from this value.
14 If multiple values are given, one value must be given per channel.
15- clocks : Must contain an entry for each entry in clock-names. 10- clocks : Must contain an entry for each entry in clock-names.
16 See ../clocks/clock-bindings.txt for details. 11 See ../clocks/clock-bindings.txt for details.
17- clock-names : Must include the following entries: 12- clock-names : Must include the following entries:
@@ -37,6 +32,14 @@ Required properties:
37 - adx 32 - adx
38- ranges : The bus address mapping for the configlink register bus. 33- ranges : The bus address mapping for the configlink register bus.
39 Can be empty since the mapping is 1:1. 34 Can be empty since the mapping is 1:1.
35- dmas : Must contain an entry for each entry in clock-names.
36 See ../dma/dma.txt for details.
37- dma-names : Must include the following entries:
38 - rx0 .. rx<n>
39 - tx0 .. tx<n>
40 ... where n is:
41 Tegra30: 3
42 Tegra114, Tegra124: 9
40- #address-cells : For the configlink bus. Should be <1>; 43- #address-cells : For the configlink bus. Should be <1>;
41- #size-cells : For the configlink bus. Should be <1>. 44- #size-cells : For the configlink bus. Should be <1>.
42 45
@@ -62,6 +65,11 @@ ahub@70080000 {
62 reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2", 65 reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
63 "i2s3", "i2s4", "dam0", "dam1", "dam2", 66 "i2s3", "i2s4", "dam0", "dam1", "dam2",
64 "spdif"; 67 "spdif";
68 dmas = <&apbdma 1>, <&apbdma 1>;
69 <&apbdma 2>, <&apbdma 2>;
70 <&apbdma 3>, <&apbdma 3>;
71 <&apbdma 4>, <&apbdma 4>;
72 dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2", "rx3", "tx3";
65 ranges; 73 ranges;
66 #address-cells = <1>; 74 #address-cells = <1>;
67 #size-cells = <1>; 75 #size-cells = <1>;
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt
index fcd9f67999de..7ea701e07dc2 100644
--- a/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt
+++ b/Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt
@@ -4,16 +4,19 @@ Required properties:
4- compatible : should be "nvidia,tegra114-spi". 4- compatible : should be "nvidia,tegra114-spi".
5- reg: Should contain SPI registers location and length. 5- reg: Should contain SPI registers location and length.
6- interrupts: Should contain SPI interrupts. 6- interrupts: Should contain SPI interrupts.
7- nvidia,dma-request-selector : The Tegra DMA controller's phandle and
8 request selector for this SPI controller.
9- clocks : Must contain an entry for each entry in clock-names.
10 See ../clocks/clock-bindings.txt for details.
11- clock-names : Must include the following entries: 7- clock-names : Must include the following entries:
12 - spi 8 - spi
13- resets : Must contain an entry for each entry in reset-names. 9- resets : Must contain an entry for each entry in reset-names.
14 See ../reset/reset.txt for details. 10 See ../reset/reset.txt for details.
15- reset-names : Must include the following entries: 11- reset-names : Must include the following entries:
16 - spi 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.
17 20
18Recommended properties: 21Recommended properties:
19- spi-max-frequency: Definition as per 22- spi-max-frequency: Definition as per
@@ -24,7 +27,6 @@ spi@7000d600 {
24 compatible = "nvidia,tegra114-spi"; 27 compatible = "nvidia,tegra114-spi";
25 reg = <0x7000d600 0x200>; 28 reg = <0x7000d600 0x200>;
26 interrupts = <0 82 0x04>; 29 interrupts = <0 82 0x04>;
27 nvidia,dma-request-selector = <&apbdma 16>;
28 spi-max-frequency = <25000000>; 30 spi-max-frequency = <25000000>;
29 #address-cells = <1>; 31 #address-cells = <1>;
30 #size-cells = <0>; 32 #size-cells = <0>;
@@ -32,5 +34,7 @@ spi@7000d600 {
32 clock-names = "spi"; 34 clock-names = "spi";
33 resets = <&tegra_car 44>; 35 resets = <&tegra_car 44>;
34 reset-names = "spi"; 36 reset-names = "spi";
37 dmas = <&apbdma 16>, <&apbdma 16>;
38 dma-names = "rx", "tx";
35 status = "disabled"; 39 status = "disabled";
36}; 40};
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt
index e144f144717f..bdf08e6dec9b 100644
--- a/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt
+++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt
@@ -4,14 +4,17 @@ Required properties:
4- compatible : should be "nvidia,tegra20-sflash". 4- compatible : should be "nvidia,tegra20-sflash".
5- reg: Should contain SFLASH registers location and length. 5- reg: Should contain SFLASH registers location and length.
6- interrupts: Should contain SFLASH interrupts. 6- interrupts: Should contain SFLASH interrupts.
7- nvidia,dma-request-selector : The Tegra DMA controller's phandle and
8 request selector for this SFLASH controller.
9- clocks : Must contain one entry, for the module clock. 7- clocks : Must contain one entry, for the module clock.
10 See ../clocks/clock-bindings.txt for details. 8 See ../clocks/clock-bindings.txt for details.
11- resets : Must contain an entry for each entry in reset-names. 9- resets : Must contain an entry for each entry in reset-names.
12 See ../reset/reset.txt for details. 10 See ../reset/reset.txt for details.
13- reset-names : Must include the following entries: 11- reset-names : Must include the following entries:
14 - spi 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
15 18
16Recommended properties: 19Recommended properties:
17- spi-max-frequency: Definition as per 20- spi-max-frequency: Definition as per
@@ -23,12 +26,13 @@ spi@7000c380 {
23 compatible = "nvidia,tegra20-sflash"; 26 compatible = "nvidia,tegra20-sflash";
24 reg = <0x7000c380 0x80>; 27 reg = <0x7000c380 0x80>;
25 interrupts = <0 39 0x04>; 28 interrupts = <0 39 0x04>;
26 nvidia,dma-request-selector = <&apbdma 16>;
27 spi-max-frequency = <25000000>; 29 spi-max-frequency = <25000000>;
28 #address-cells = <1>; 30 #address-cells = <1>;
29 #size-cells = <0>; 31 #size-cells = <0>;
30 clocks = <&tegra_car 43>; 32 clocks = <&tegra_car 43>;
31 resets = <&tegra_car 43>; 33 resets = <&tegra_car 43>;
32 reset-names = "spi"; 34 reset-names = "spi";
35 dmas = <&apbdma 11>, <&apbdma 11>;
36 dma-names = "rx", "tx";
33 status = "disabled"; 37 status = "disabled";
34}; 38};
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt
index 9393e28f444b..5db9144a33c8 100644
--- a/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt
+++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt
@@ -4,14 +4,17 @@ Required properties:
4- compatible : should be "nvidia,tegra20-slink", "nvidia,tegra30-slink". 4- compatible : should be "nvidia,tegra20-slink", "nvidia,tegra30-slink".
5- reg: Should contain SLINK registers location and length. 5- reg: Should contain SLINK registers location and length.
6- interrupts: Should contain SLINK interrupts. 6- interrupts: Should contain SLINK interrupts.
7- nvidia,dma-request-selector : The Tegra DMA controller's phandle and
8 request selector for this SLINK controller.
9- clocks : Must contain one entry, for the module clock. 7- clocks : Must contain one entry, for the module clock.
10 See ../clocks/clock-bindings.txt for details. 8 See ../clocks/clock-bindings.txt for details.
11- resets : Must contain an entry for each entry in reset-names. 9- resets : Must contain an entry for each entry in reset-names.
12 See ../reset/reset.txt for details. 10 See ../reset/reset.txt for details.
13- reset-names : Must include the following entries: 11- reset-names : Must include the following entries:
14 - spi 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
15 18
16Recommended properties: 19Recommended properties:
17- spi-max-frequency: Definition as per 20- spi-max-frequency: Definition as per
@@ -23,12 +26,13 @@ spi@7000d600 {
23 compatible = "nvidia,tegra20-slink"; 26 compatible = "nvidia,tegra20-slink";
24 reg = <0x7000d600 0x200>; 27 reg = <0x7000d600 0x200>;
25 interrupts = <0 82 0x04>; 28 interrupts = <0 82 0x04>;
26 nvidia,dma-request-selector = <&apbdma 16>;
27 spi-max-frequency = <25000000>; 29 spi-max-frequency = <25000000>;
28 #address-cells = <1>; 30 #address-cells = <1>;
29 #size-cells = <0>; 31 #size-cells = <0>;
30 clocks = <&tegra_car 44>; 32 clocks = <&tegra_car 44>;
31 resets = <&tegra_car 44>; 33 resets = <&tegra_car 44>;
32 reset-names = "spi"; 34 reset-names = "spi";
35 dmas = <&apbdma 16>, <&apbdma 16>;
36 dma-names = "rx", "tx";
33 status = "disabled"; 37 status = "disabled";
34}; 38};