12f52475bSKuninori Morimoto# SPDX-License-Identifier: GPL-2.0 22f52475bSKuninori Morimoto%YAML 1.2 32f52475bSKuninori Morimoto--- 42f52475bSKuninori Morimoto$id: http://devicetree.org/schemas/sound/renesas,fsi.yaml# 52f52475bSKuninori Morimoto$schema: http://devicetree.org/meta-schemas/core.yaml# 62f52475bSKuninori Morimoto 7*451a0445SGeert Uytterhoeventitle: Renesas FIFO-buffered Serial Interface (FSI) 82f52475bSKuninori Morimoto 92f52475bSKuninori Morimotomaintainers: 102f52475bSKuninori Morimoto - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 112f52475bSKuninori Morimoto 122f52475bSKuninori Morimotoproperties: 132f52475bSKuninori Morimoto $nodename: 142f52475bSKuninori Morimoto pattern: "^sound@.*" 152f52475bSKuninori Morimoto 162f52475bSKuninori Morimoto compatible: 172f52475bSKuninori Morimoto oneOf: 182f52475bSKuninori Morimoto # for FSI2 SoC 192f52475bSKuninori Morimoto - items: 202f52475bSKuninori Morimoto - enum: 21*451a0445SGeert Uytterhoeven - renesas,fsi2-sh73a0 # SH-Mobile AG5 22*451a0445SGeert Uytterhoeven - renesas,fsi2-r8a7740 # R-Mobile A1 232f52475bSKuninori Morimoto - enum: 242f52475bSKuninori Morimoto - renesas,sh_fsi2 252f52475bSKuninori Morimoto # for Generic 262f52475bSKuninori Morimoto - items: 272f52475bSKuninori Morimoto - enum: 282f52475bSKuninori Morimoto - renesas,sh_fsi 292f52475bSKuninori Morimoto - renesas,sh_fsi2 302f52475bSKuninori Morimoto 312f52475bSKuninori Morimoto reg: 322f52475bSKuninori Morimoto maxItems: 1 332f52475bSKuninori Morimoto 342f52475bSKuninori Morimoto interrupts: 352f52475bSKuninori Morimoto maxItems: 1 362f52475bSKuninori Morimoto 37*451a0445SGeert Uytterhoeven clocks: 38*451a0445SGeert Uytterhoeven maxItems: 1 39*451a0445SGeert Uytterhoeven 40*451a0445SGeert Uytterhoeven power-domains: 41*451a0445SGeert Uytterhoeven maxItems: 1 42*451a0445SGeert Uytterhoeven 43*451a0445SGeert Uytterhoeven '#sound-dai-cells': 44*451a0445SGeert Uytterhoeven const: 1 45*451a0445SGeert Uytterhoeven 462f52475bSKuninori Morimoto fsia,spdif-connection: 472f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 482f52475bSKuninori Morimoto description: FSI is connected by S/PDIF 492f52475bSKuninori Morimoto 502f52475bSKuninori Morimoto fsia,stream-mode-support: 512f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 522f52475bSKuninori Morimoto description: FSI supports 16bit stream mode 532f52475bSKuninori Morimoto 542f52475bSKuninori Morimoto fsia,use-internal-clock: 552f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 562f52475bSKuninori Morimoto description: FSI uses internal clock when master mode 572f52475bSKuninori Morimoto 582f52475bSKuninori Morimoto fsib,spdif-connection: 592f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 602f52475bSKuninori Morimoto description: same as fsia 612f52475bSKuninori Morimoto 622f52475bSKuninori Morimoto fsib,stream-mode-support: 632f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 642f52475bSKuninori Morimoto description: same as fsia 652f52475bSKuninori Morimoto 662f52475bSKuninori Morimoto fsib,use-internal-clock: 672f52475bSKuninori Morimoto $ref: /schemas/types.yaml#/definitions/flag 682f52475bSKuninori Morimoto description: same as fsia 692f52475bSKuninori Morimoto 702f52475bSKuninori Morimotorequired: 712f52475bSKuninori Morimoto - compatible 722f52475bSKuninori Morimoto - reg 732f52475bSKuninori Morimoto - interrupts 74*451a0445SGeert Uytterhoeven - clocks 75*451a0445SGeert Uytterhoeven - power-domains 76*451a0445SGeert Uytterhoeven - '#sound-dai-cells' 772f52475bSKuninori Morimoto 787f464532SRob HerringadditionalProperties: false 797f464532SRob Herring 802f52475bSKuninori Morimotoexamples: 812f52475bSKuninori Morimoto - | 82*451a0445SGeert Uytterhoeven #include <dt-bindings/clock/r8a7740-clock.h> 83*451a0445SGeert Uytterhoeven #include <dt-bindings/interrupt-controller/arm-gic.h> 84*451a0445SGeert Uytterhoeven sh_fsi2: sound@fe1f0000 { 852f52475bSKuninori Morimoto compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2"; 86*451a0445SGeert Uytterhoeven reg = <0xfe1f0000 0x400>; 87*451a0445SGeert Uytterhoeven interrupts = <GIC_SPI 9 0x4>; 88*451a0445SGeert Uytterhoeven clocks = <&mstp3_clks R8A7740_CLK_FSI>; 89*451a0445SGeert Uytterhoeven power-domains = <&pd_a4mp>; 902f52475bSKuninori Morimoto 91*451a0445SGeert Uytterhoeven #sound-dai-cells = <1>; 922f52475bSKuninori Morimoto fsia,spdif-connection; 932f52475bSKuninori Morimoto fsia,stream-mode-support; 942f52475bSKuninori Morimoto fsia,use-internal-clock; 952f52475bSKuninori Morimoto }; 96