1Renesas MSIOF spi controller
2
3Required properties:
4- compatible           : "renesas,msiof-r8a7743" (RZ/G1M)
5			 "renesas,msiof-r8a7745" (RZ/G1E)
6			 "renesas,msiof-r8a7790" (R-Car H2)
7			 "renesas,msiof-r8a7791" (R-Car M2-W)
8			 "renesas,msiof-r8a7792" (R-Car V2H)
9			 "renesas,msiof-r8a7793" (R-Car M2-N)
10			 "renesas,msiof-r8a7794" (R-Car E2)
11			 "renesas,msiof-r8a7795" (R-Car H3)
12			 "renesas,msiof-r8a7796" (R-Car M3-W)
13			 "renesas,msiof-r8a77965" (R-Car M3-N)
14			 "renesas,msiof-sh73a0" (SH-Mobile AG5)
15			 "renesas,sh-mobile-msiof" (generic SH-Mobile compatibile device)
16			 "renesas,rcar-gen2-msiof" (generic R-Car Gen2 and RZ/G1 compatible device)
17			 "renesas,rcar-gen3-msiof" (generic R-Car Gen3 compatible device)
18			 "renesas,sh-msiof"      (deprecated)
19
20			 When compatible with the generic version, nodes
21			 must list the SoC-specific version corresponding
22			 to the platform first followed by the generic
23			 version.
24
25- reg                  : A list of offsets and lengths of the register sets for
26			 the device.
27			 If only one register set is present, it is to be used
28			 by both the CPU and the DMA engine.
29			 If two register sets are present, the first is to be
30			 used by the CPU, and the second is to be used by the
31			 DMA engine.
32- interrupts           : Interrupt specifier
33- #address-cells       : Must be <1>
34- #size-cells          : Must be <0>
35
36Optional properties:
37- clocks               : Must contain a reference to the functional clock.
38- num-cs               : Total number of chip selects (default is 1).
39			 Up to 3 native chip selects are supported:
40			   0: MSIOF_SYNC
41			   1: MSIOF_SS1
42			   2: MSIOF_SS2
43			 Hardware limitations related to chip selects:
44			   - Native chip selects are always deasserted in
45			     between transfers that are part of the same
46			     message.  Use cs-gpios to work around this.
47			   - All slaves using native chip selects must use the
48			     same spi-cs-high configuration.  Use cs-gpios to
49			     work around this.
50			   - When using GPIO chip selects, at least one native
51			     chip select must be left unused, as it will be
52			     driven anyway.
53- dmas                 : Must contain a list of two references to DMA
54			 specifiers, one for transmission, and one for
55			 reception.
56- dma-names            : Must contain a list of two DMA names, "tx" and "rx".
57- spi-slave            : Empty property indicating the SPI controller is used
58			 in slave mode.
59- renesas,dtdl         : delay sync signal (setup) in transmit mode.
60			 Must contain one of the following values:
61			 0   (no bit delay)
62			 50  (0.5-clock-cycle delay)
63			 100 (1-clock-cycle delay)
64			 150 (1.5-clock-cycle delay)
65			 200 (2-clock-cycle delay)
66
67- renesas,syncdl       : delay sync signal (hold) in transmit mode.
68			 Must contain one of the following values:
69			 0   (no bit delay)
70			 50  (0.5-clock-cycle delay)
71			 100 (1-clock-cycle delay)
72			 150 (1.5-clock-cycle delay)
73			 200 (2-clock-cycle delay)
74			 300 (3-clock-cycle delay)
75
76Optional properties, deprecated for soctype-specific bindings:
77- renesas,tx-fifo-size : Overrides the default tx fifo size given in words
78			 (default is 64)
79- renesas,rx-fifo-size : Overrides the default rx fifo size given in words
80			 (default is 64)
81
82Pinctrl properties might be needed, too.  See
83Documentation/devicetree/bindings/pinctrl/renesas,*.
84
85Example:
86
87	msiof0: spi@e6e20000 {
88		compatible = "renesas,msiof-r8a7791",
89			     "renesas,rcar-gen2-msiof";
90		reg = <0 0xe6e20000 0 0x0064>;
91		interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
92		clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
93		dmas = <&dmac0 0x51>, <&dmac0 0x52>;
94		dma-names = "tx", "rx";
95		#address-cells = <1>;
96		#size-cells = <0>;
97	};
98