xref: /linux/Documentation/devicetree/bindings/spi/renesas,hspi.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
185d27be8SSimon Horman# SPDX-License-Identifier: GPL-2.0
285d27be8SSimon Horman%YAML 1.2
385d27be8SSimon Horman---
485d27be8SSimon Horman$id: http://devicetree.org/schemas/spi/renesas,hspi.yaml#
585d27be8SSimon Horman$schema: http://devicetree.org/meta-schemas/core.yaml#
685d27be8SSimon Horman
785d27be8SSimon Hormantitle: Renesas HSPI
885d27be8SSimon Horman
985d27be8SSimon Hormanmaintainers:
1085d27be8SSimon Horman  - Geert Uytterhoeven <geert+renesas@glider.be>
1185d27be8SSimon Horman
1285d27be8SSimon HormanallOf:
1385d27be8SSimon Horman  - $ref: spi-controller.yaml#
1485d27be8SSimon Horman
1585d27be8SSimon Hormanproperties:
1685d27be8SSimon Horman  compatible:
1785d27be8SSimon Horman    items:
1885d27be8SSimon Horman      - enum:
1985d27be8SSimon Horman          - renesas,hspi-r8a7778 # R-Car M1A
2085d27be8SSimon Horman          - renesas,hspi-r8a7779 # R-Car H1
2185d27be8SSimon Horman      - const: renesas,hspi
2285d27be8SSimon Horman
2385d27be8SSimon Horman  reg:
2485d27be8SSimon Horman    maxItems: 1
2585d27be8SSimon Horman
2685d27be8SSimon Horman  interrupts:
2785d27be8SSimon Horman    maxItems: 1
2885d27be8SSimon Horman
2985d27be8SSimon Horman  clocks:
3085d27be8SSimon Horman    maxItems: 1
3185d27be8SSimon Horman
3285d27be8SSimon Horman  power-domains:
3385d27be8SSimon Horman    maxItems: 1
3485d27be8SSimon Horman
3585d27be8SSimon Hormanrequired:
3685d27be8SSimon Horman  - compatible
3785d27be8SSimon Horman  - reg
3885d27be8SSimon Horman  - interrupts
3985d27be8SSimon Horman  - clocks
4085d27be8SSimon Horman  - '#address-cells'
4185d27be8SSimon Horman  - '#size-cells'
4285d27be8SSimon Horman
43*6fdc6e23SRob HerringunevaluatedProperties: false
44*6fdc6e23SRob Herring
4585d27be8SSimon Hormanexamples:
4685d27be8SSimon Horman  - |
4785d27be8SSimon Horman    #include <dt-bindings/clock/r8a7778-clock.h>
4885d27be8SSimon Horman    #include <dt-bindings/interrupt-controller/irq.h>
4985d27be8SSimon Horman
5085d27be8SSimon Horman    hspi0: spi@fffc7000 {
5185d27be8SSimon Horman        compatible = "renesas,hspi-r8a7778", "renesas,hspi";
5285d27be8SSimon Horman        reg = <0xfffc7000 0x18>;
5385d27be8SSimon Horman        interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
5485d27be8SSimon Horman        clocks = <&mstp0_clks R8A7778_CLK_HSPI>;
5585d27be8SSimon Horman        power-domains = <&cpg_clocks>;
5685d27be8SSimon Horman        #address-cells = <1>;
5785d27be8SSimon Horman        #size-cells = <0>;
5885d27be8SSimon Horman    };
59