GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / spi / sh-hspi.txt
1 Renesas HSPI.
2
3 Required properties:
4 - compatible       : "renesas,hspi-<soctype>", "renesas,hspi" as fallback.
5                      Examples with soctypes are:
6                        - "renesas,hspi-r8a7778" (R-Car M1)
7                        - "renesas,hspi-r8a7779" (R-Car H1)
8 - reg              : Offset and length of the register set for the device
9 - interrupt-parent : The phandle for the interrupt controller that
10                      services interrupts for this device
11 - interrupts       : Interrupt specifier
12 - #address-cells   : Must be <1>
13 - #size-cells      : Must be <0>
14
15 Pinctrl properties might be needed, too.  See
16 Documentation/devicetree/bindings/pinctrl/renesas,*.
17
18 Example:
19
20         hspi0: spi@fffc7000 {
21                 compatible = "renesas,hspi-r8a7778", "renesas,hspi";
22                 reg = <0xfffc7000 0x18>;
23                 interrupt-parent = <&gic>;
24                 interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27         };
28