4 - compatible : "renesas,rcar_sound-<soctype>", fallbacks
5 "renesas,rcar_sound-gen1" if generation1, and
6 "renesas,rcar_sound-gen2" if generation2
7 Examples with soctypes are:
8 - "renesas,rcar_sound-r8a7790" (R-Car H2)
9 - "renesas,rcar_sound-r8a7791" (R-Car M2-W)
10 - reg : Should contain the register physical address.
12 SRU/ADG/SSI if generation1
13 SRU/ADG/SSIU/SSI if generation2
14 - rcar_sound,ssi : Should contain SSI feature.
15 The number of SSI subnode should be same as HW.
17 - rcar_sound,src : Should contain SRC feature.
18 The number of SRC subnode should be same as HW.
20 - rcar_sound,dvc : Should contain DVC feature.
21 The number of DVC subnode should be same as HW.
23 - rcar_sound,dai : DAI contents.
24 The number of DAI subnode should be same as HW.
27 SSI subnode properties:
28 - interrupts : Should contain SSI interrupt for PIO transfer
29 - shared-pin : if shared clock pin
30 - pio-transfer : use PIO transfer mode
31 - no-busif : BUSIF is not ussed when [mem -> SSI] via DMA case
32 - dma : Should contain Audio DMAC entry
33 - dma-names : SSI case "rx" (=playback), "tx" (=capture)
34 SSIU case "rxu" (=playback), "txu" (=capture)
36 SRC subnode properties:
37 - dma : Should contain Audio DMAC entry
38 - dma-names : "rx" (=playback), "tx" (=capture)
40 DVC subnode properties:
41 - dma : Should contain Audio DMAC entry
42 - dma-names : "tx" (=playback/capture)
44 DAI subnode properties:
45 - playback : list of playback modules
46 - capture : list of capture modules
50 rcar_sound: rcar_sound@ec500000 {
51 #sound-dai-cells = <1>;
52 compatible = "renesas,rcar_sound-r8a7791", "renesas,rcar_sound-gen2";
53 reg = <0 0xec500000 0 0x1000>, /* SCU */
54 <0 0xec5a0000 0 0x100>, /* ADG */
55 <0 0xec540000 0 0x1000>, /* SSIU */
56 <0 0xec541000 0 0x1280>, /* SSI */
57 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
58 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
60 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
61 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
62 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
63 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
64 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
65 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
66 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
67 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
68 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
69 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
70 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
71 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
72 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
73 clock-names = "ssi-all",
74 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
75 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
76 "src.9", "src.8", "src.7", "src.6", "src.5",
77 "src.4", "src.3", "src.2", "src.1", "src.0",
79 "clk_a", "clk_b", "clk_c", "clk_i";
83 dmas = <&audma0 0xbc>;
87 dmas = <&audma0 0xbe>;
94 interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
95 dmas = <&audma0 0x85>, <&audma1 0x9a>;
96 dma-names = "rx", "tx";
99 interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>;
100 dmas = <&audma0 0x87>, <&audma1 0x9c>;
101 dma-names = "rx", "tx";
104 interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>;
105 dmas = <&audma0 0x89>, <&audma1 0x9e>;
106 dma-names = "rx", "tx";
109 interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>;
110 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
111 dma-names = "rx", "tx";
114 interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>;
115 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
116 dma-names = "rx", "tx";
119 interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>;
120 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
121 dma-names = "rx", "tx";
124 interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>;
125 dmas = <&audma0 0x91>, <&audma1 0xb4>;
126 dma-names = "rx", "tx";
129 interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>;
130 dmas = <&audma0 0x93>, <&audma1 0xb6>;
131 dma-names = "rx", "tx";
134 interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>;
135 dmas = <&audma0 0x95>, <&audma1 0xb8>;
136 dma-names = "rx", "tx";
139 interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>;
140 dmas = <&audma0 0x97>, <&audma1 0xba>;
141 dma-names = "rx", "tx";
147 interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;
148 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
149 dma-names = "rx", "tx", "rxu", "txu";
152 interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>;
153 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
154 dma-names = "rx", "tx", "rxu", "txu";
157 interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>;
158 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
159 dma-names = "rx", "tx", "rxu", "txu";
162 interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>;
163 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
164 dma-names = "rx", "tx", "rxu", "txu";
167 interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>;
168 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
169 dma-names = "rx", "tx", "rxu", "txu";
172 interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>;
173 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
174 dma-names = "rx", "tx", "rxu", "txu";
177 interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>;
178 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
179 dma-names = "rx", "tx", "rxu", "txu";
182 interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>;
183 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
184 dma-names = "rx", "tx", "rxu", "txu";
187 interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>;
188 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
189 dma-names = "rx", "tx", "rxu", "txu";
192 interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>;
193 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
194 dma-names = "rx", "tx", "rxu", "txu";
200 playback = <&ssi5 &src5>;