1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/spi/renesas,sh-msiof.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas MSIOF SPI controller
10 - Geert Uytterhoeven <geert+renesas@glider.be>
13 - $ref: spi-controller.yaml#
19 - const: renesas,msiof-sh73a0 # SH-Mobile AG5
20 - const: renesas,sh-mobile-msiof # generic SH-Mobile compatible
24 - renesas,msiof-r8a7743 # RZ/G1M
25 - renesas,msiof-r8a7744 # RZ/G1N
26 - renesas,msiof-r8a7745 # RZ/G1E
27 - renesas,msiof-r8a77470 # RZ/G1C
28 - renesas,msiof-r8a7790 # R-Car H2
29 - renesas,msiof-r8a7791 # R-Car M2-W
30 - renesas,msiof-r8a7792 # R-Car V2H
31 - renesas,msiof-r8a7793 # R-Car M2-N
32 - renesas,msiof-r8a7794 # R-Car E2
33 - const: renesas,rcar-gen2-msiof # generic R-Car Gen2 and RZ/G1
37 - renesas,msiof-r8a774a1 # RZ/G2M
38 - renesas,msiof-r8a774b1 # RZ/G2N
39 - renesas,msiof-r8a774c0 # RZ/G2E
40 - renesas,msiof-r8a7795 # R-Car H3
41 - renesas,msiof-r8a7796 # R-Car M3-W
42 - renesas,msiof-r8a77965 # R-Car M3-N
43 - renesas,msiof-r8a77970 # R-Car V3M
44 - renesas,msiof-r8a77980 # R-Car V3H
45 - renesas,msiof-r8a77990 # R-Car E3
46 - renesas,msiof-r8a77995 # R-Car D3
47 - const: renesas,rcar-gen3-msiof # generic R-Car Gen3 and RZ/G2
50 - const: renesas,sh-msiof # deprecated
57 - description: CPU and DMA engine registers
59 - description: CPU registers
60 - description: DMA engine registers
70 Total number of chip selects (default is 1).
71 Up to 3 native chip selects are supported:
75 Hardware limitations related to chip selects:
76 - Native chip selects are always deasserted in between transfers
77 that are part of the same message. Use cs-gpios to work around
79 - All slaves using native chip selects must use the same spi-cs-high
80 configuration. Use cs-gpios to work around this.
81 - When using GPIO chip selects, at least one native chip select must
82 be left unused, as it will be driven anyway.
98 description: delay sync signal (setup) in transmit mode.
100 - $ref: /schemas/types.yaml#/definitions/uint32
103 - 50 # 0.5-clock-cycle delay
104 - 100 # 1-clock-cycle delay
105 - 150 # 1.5-clock-cycle delay
106 - 200 # 2-clock-cycle delay
109 description: delay sync signal (hold) in transmit mode
111 - $ref: /schemas/types.yaml#/definitions/uint32
114 - 50 # 0.5-clock-cycle delay
115 - 100 # 1-clock-cycle delay
116 - 150 # 1.5-clock-cycle delay
117 - 200 # 2-clock-cycle delay
118 - 300 # 3-clock-cycle delay
120 renesas,tx-fifo-size:
121 # deprecated for soctype-specific bindings
123 Override the default TX fifo size. Unit is words. Ignored if 0.
125 - $ref: /schemas/types.yaml#/definitions/uint32
129 renesas,rx-fifo-size:
130 # deprecated for soctype-specific bindings
132 Override the default RX fifo size. Unit is words. Ignored if 0.
134 - $ref: /schemas/types.yaml#/definitions/uint32
147 #include <dt-bindings/clock/r8a7791-clock.h>
148 #include <dt-bindings/interrupt-controller/irq.h>
150 msiof0: spi@e6e20000 {
151 compatible = "renesas,msiof-r8a7791", "renesas,rcar-gen2-msiof";
152 reg = <0 0xe6e20000 0 0x0064>;
153 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
154 clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
155 dmas = <&dmac0 0x51>, <&dmac0 0x52>;
156 dma-names = "tx", "rx";
157 #address-cells = <1>;