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