aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/spi/sh-msiof.txt23
-rw-r--r--Documentation/devicetree/bindings/spi/spi-rspi.txt10
2 files changed, 28 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt
index f24baf3b6cc1..d11c3721e7cd 100644
--- a/Documentation/devicetree/bindings/spi/sh-msiof.txt
+++ b/Documentation/devicetree/bindings/spi/sh-msiof.txt
@@ -6,8 +6,17 @@ Required properties:
6 "renesas,sh-mobile-msiof" for SH Mobile series. 6 "renesas,sh-mobile-msiof" for SH Mobile series.
7 Examples with soctypes are: 7 Examples with soctypes are:
8 "renesas,msiof-r8a7790" (R-Car H2) 8 "renesas,msiof-r8a7790" (R-Car H2)
9 "renesas,msiof-r8a7791" (R-Car M2) 9 "renesas,msiof-r8a7791" (R-Car M2-W)
10- reg : Offset and length of the register set for the device 10 "renesas,msiof-r8a7792" (R-Car V2H)
11 "renesas,msiof-r8a7793" (R-Car M2-N)
12 "renesas,msiof-r8a7794" (R-Car E2)
13- reg : A list of offsets and lengths of the register sets for
14 the device.
15 If only one register set is present, it is to be used
16 by both the CPU and the DMA engine.
17 If two register sets are present, the first is to be
18 used by the CPU, and the second is to be used by the
19 DMA engine.
11- interrupt-parent : The phandle for the interrupt controller that 20- interrupt-parent : The phandle for the interrupt controller that
12 services interrupts for this device 21 services interrupts for this device
13- interrupts : Interrupt specifier 22- interrupts : Interrupt specifier
@@ -17,12 +26,16 @@ Required properties:
17Optional properties: 26Optional properties:
18- clocks : Must contain a reference to the functional clock. 27- clocks : Must contain a reference to the functional clock.
19- num-cs : Total number of chip-selects (default is 1) 28- num-cs : Total number of chip-selects (default is 1)
29- dmas : Must contain a list of two references to DMA
30 specifiers, one for transmission, and one for
31 reception.
32- dma-names : Must contain a list of two DMA names, "tx" and "rx".
20 33
21Optional properties, deprecated for soctype-specific bindings: 34Optional properties, deprecated for soctype-specific bindings:
22- renesas,tx-fifo-size : Overrides the default tx fifo size given in words 35- renesas,tx-fifo-size : Overrides the default tx fifo size given in words
23 (default is 64) 36 (default is 64)
24- renesas,rx-fifo-size : Overrides the default rx fifo size given in words 37- renesas,rx-fifo-size : Overrides the default rx fifo size given in words
25 (default is 64, or 256 on R-Car H2 and M2) 38 (default is 64, or 256 on R-Car Gen2)
26 39
27Pinctrl properties might be needed, too. See 40Pinctrl properties might be needed, too. See
28Documentation/devicetree/bindings/pinctrl/renesas,*. 41Documentation/devicetree/bindings/pinctrl/renesas,*.
@@ -31,9 +44,11 @@ Example:
31 44
32 msiof0: spi@e6e20000 { 45 msiof0: spi@e6e20000 {
33 compatible = "renesas,msiof-r8a7791"; 46 compatible = "renesas,msiof-r8a7791";
34 reg = <0 0xe6e20000 0 0x0064>; 47 reg = <0 0xe6e20000 0 0x0064>, <0 0xe7e20000 0 0x0064>;
35 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; 48 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
36 clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; 49 clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
50 dmas = <&dmac0 0x51>, <&dmac0 0x52>;
51 dma-names = "tx", "rx";
37 #address-cells = <1>; 52 #address-cells = <1>;
38 #size-cells = <0>; 53 #size-cells = <0>;
39 status = "disabled"; 54 status = "disabled";
diff --git a/Documentation/devicetree/bindings/spi/spi-rspi.txt b/Documentation/devicetree/bindings/spi/spi-rspi.txt
index d57d82a74054..8f4169f63936 100644
--- a/Documentation/devicetree/bindings/spi/spi-rspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-rspi.txt
@@ -11,7 +11,10 @@ Required properties:
11 - "renesas,rspi-sh7757" (SH) 11 - "renesas,rspi-sh7757" (SH)
12 - "renesas,rspi-r7s72100" (RZ/A1H) 12 - "renesas,rspi-r7s72100" (RZ/A1H)
13 - "renesas,qspi-r8a7790" (R-Car H2) 13 - "renesas,qspi-r8a7790" (R-Car H2)
14 - "renesas,qspi-r8a7791" (R-Car M2) 14 - "renesas,qspi-r8a7791" (R-Car M2-W)
15 - "renesas,qspi-r8a7792" (R-Car V2H)
16 - "renesas,qspi-r8a7793" (R-Car M2-N)
17 - "renesas,qspi-r8a7794" (R-Car E2)
15- reg : Address start and address range size of the device 18- reg : Address start and address range size of the device
16- interrupts : A list of interrupt-specifiers, one for each entry in 19- interrupts : A list of interrupt-specifiers, one for each entry in
17 interrupt-names. 20 interrupt-names.
@@ -30,6 +33,9 @@ Required properties:
30 33
31Optional properties: 34Optional properties:
32- clocks : Must contain a reference to the functional clock. 35- clocks : Must contain a reference to the functional clock.
36- dmas : Must contain a list of two references to DMA specifiers,
37 one for transmission, and one for reception.
38- dma-names : Must contain a list of two DMA names, "tx" and "rx".
33 39
34Pinctrl properties might be needed, too. See 40Pinctrl properties might be needed, too. See
35Documentation/devicetree/bindings/pinctrl/renesas,*. 41Documentation/devicetree/bindings/pinctrl/renesas,*.
@@ -58,4 +64,6 @@ Examples:
58 num-cs = <1>; 64 num-cs = <1>;
59 #address-cells = <1>; 65 #address-cells = <1>;
60 #size-cells = <0>; 66 #size-cells = <0>;
67 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
68 dma-names = "tx", "rx";
61 }; 69 };