xref: /freebsd/sys/contrib/device-tree/Bindings/spi/renesas,hspi.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/spi/renesas,hspi.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Renesas HSPI
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Geert Uytterhoeven <geert+renesas@glider.be>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel VadotallOf:
13c66ec88fSEmmanuel Vadot  - $ref: spi-controller.yaml#
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    items:
18c66ec88fSEmmanuel Vadot      - enum:
19c66ec88fSEmmanuel Vadot          - renesas,hspi-r8a7778 # R-Car M1A
20c66ec88fSEmmanuel Vadot          - renesas,hspi-r8a7779 # R-Car H1
21c66ec88fSEmmanuel Vadot      - const: renesas,hspi
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  reg:
24c66ec88fSEmmanuel Vadot    maxItems: 1
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  interrupts:
27c66ec88fSEmmanuel Vadot    maxItems: 1
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot  clocks:
30c66ec88fSEmmanuel Vadot    maxItems: 1
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadot  power-domains:
33c66ec88fSEmmanuel Vadot    maxItems: 1
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadotrequired:
36c66ec88fSEmmanuel Vadot  - compatible
37c66ec88fSEmmanuel Vadot  - reg
38c66ec88fSEmmanuel Vadot  - interrupts
39c66ec88fSEmmanuel Vadot  - clocks
40c66ec88fSEmmanuel Vadot  - '#address-cells'
41c66ec88fSEmmanuel Vadot  - '#size-cells'
42c66ec88fSEmmanuel Vadot
43*6be33864SEmmanuel VadotunevaluatedProperties: false
44*6be33864SEmmanuel Vadot
45c66ec88fSEmmanuel Vadotexamples:
46c66ec88fSEmmanuel Vadot  - |
47c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/r8a7778-clock.h>
48c66ec88fSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
49c66ec88fSEmmanuel Vadot
50c66ec88fSEmmanuel Vadot    hspi0: spi@fffc7000 {
51c66ec88fSEmmanuel Vadot        compatible = "renesas,hspi-r8a7778", "renesas,hspi";
52c66ec88fSEmmanuel Vadot        reg = <0xfffc7000 0x18>;
53c66ec88fSEmmanuel Vadot        interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
54c66ec88fSEmmanuel Vadot        clocks = <&mstp0_clks R8A7778_CLK_HSPI>;
55c66ec88fSEmmanuel Vadot        power-domains = <&cpg_clocks>;
56c66ec88fSEmmanuel Vadot        #address-cells = <1>;
57c66ec88fSEmmanuel Vadot        #size-cells = <0>;
58c66ec88fSEmmanuel Vadot    };
59