WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / spi / renesas,hspi.yaml
blobc0eccf70303926c6bce85d729cfdfac8e7b584d4
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/spi/renesas,hspi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas HSPI
9 maintainers:
10   - Geert Uytterhoeven <geert+renesas@glider.be>
12 allOf:
13   - $ref: spi-controller.yaml#
15 properties:
16   compatible:
17     items:
18       - enum:
19           - renesas,hspi-r8a7778 # R-Car M1A
20           - renesas,hspi-r8a7779 # R-Car H1
21       - const: renesas,hspi
23   reg:
24     maxItems: 1
26   interrupts:
27     maxItems: 1
29   clocks:
30     maxItems: 1
32   power-domains:
33     maxItems: 1
35 required:
36   - compatible
37   - reg
38   - interrupts
39   - clocks
40   - '#address-cells'
41   - '#size-cells'
43 unevaluatedProperties: false
45 examples:
46   - |
47     #include <dt-bindings/clock/r8a7778-clock.h>
48     #include <dt-bindings/interrupt-controller/irq.h>
50     hspi0: spi@fffc7000 {
51         compatible = "renesas,hspi-r8a7778", "renesas,hspi";
52         reg = <0xfffc7000 0x18>;
53         interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
54         clocks = <&mstp0_clks R8A7778_CLK_HSPI>;
55         power-domains = <&cpg_clocks>;
56         #address-cells = <1>;
57         #size-cells = <0>;
58     };