1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/spi/renesas,rspi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas (Quad) Serial Peripheral Interface (RSPI/QSPI)
10 - Geert Uytterhoeven <geert+renesas@glider.be>
17 - renesas,rspi-sh7757 # SH7757
18 - const: renesas,rspi # Legacy SH
22 - renesas,rspi-r7s72100 # RZ/A1H
23 - renesas,rspi-r7s9210 # RZ/A2
24 - const: renesas,rspi-rz # RZ/A
28 - renesas,qspi-r8a7743 # RZ/G1M
29 - renesas,qspi-r8a7744 # RZ/G1N
30 - renesas,qspi-r8a7745 # RZ/G1E
31 - renesas,qspi-r8a77470 # RZ/G1C
32 - renesas,qspi-r8a7790 # R-Car H2
33 - renesas,qspi-r8a7791 # R-Car M2-W
34 - renesas,qspi-r8a7792 # R-Car V2H
35 - renesas,qspi-r8a7793 # R-Car M2-N
36 - renesas,qspi-r8a7794 # R-Car E2
37 - const: renesas,qspi # R-Car Gen2 and RZ/G1
45 - description: A combined interrupt
47 - description: Error interrupt (SPEI)
48 - description: Receive Interrupt (SPRI)
49 - description: Transmit Interrupt (SPTI)
71 Must contain a list of pairs of references to DMA specifiers, one for
72 transmission, and one for reception.
84 Total number of native chip selects.
85 Hardware limitations related to chip selects:
86 - When using GPIO chip selects, at least one native chip select must
87 be left unused, as it will be driven anyway.
102 - $ref: spi-controller.yaml#
128 #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
129 #include <dt-bindings/interrupt-controller/arm-gic.h>
130 #include <dt-bindings/power/r8a7791-sysc.h>
133 compatible = "renesas,qspi-r8a7791", "renesas,qspi";
134 reg = <0xe6b10000 0x2c>;
135 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
136 clocks = <&cpg CPG_MOD 917>;
137 dmas = <&dmac0 0x17>, <&dmac0 0x18>, <&dmac1 0x17>, <&dmac1 0x18>;
138 dma-names = "tx", "rx", "tx", "rx";
139 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
142 #address-cells = <1>;