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-r8a7778" (R-Car M1A)
9 - "renesas,rcar_sound-r8a7790" (R-Car H2)
10 - "renesas,rcar_sound-r8a7791" (R-Car M2-W)
11 - reg : Should contain the register physical address.
13 SRU/ADG/SSI if generation1
14 SRU/ADG/SSIU/SSI if generation2
15 - rcar_sound,ssi : Should contain SSI feature.
16 The number of SSI subnode should be same as HW.
18 - rcar_sound,src : Should contain SRC feature.
19 The number of SRC subnode should be same as HW.
21 - rcar_sound,ctu : Should contain CTU feature.
22 The number of CTU subnode should be same as HW.
24 - rcar_sound,mix : Should contain MIX feature.
25 The number of MIX subnode should be same as HW.
27 - rcar_sound,dvc : Should contain DVC feature.
28 The number of DVC subnode should be same as HW.
30 - rcar_sound,dai : DAI contents.
31 The number of DAI subnode should be same as HW.
34 SSI subnode properties:
35 - interrupts : Should contain SSI interrupt for PIO transfer
36 - shared-pin : if shared clock pin
37 - pio-transfer : use PIO transfer mode
38 - no-busif : BUSIF is not ussed when [mem -> SSI] via DMA case
39 - dma : Should contain Audio DMAC entry
40 - dma-names : SSI case "rx" (=playback), "tx" (=capture)
41 SSIU case "rxu" (=playback), "txu" (=capture)
43 SRC subnode properties:
44 - dma : Should contain Audio DMAC entry
45 - dma-names : "rx" (=playback), "tx" (=capture)
47 DVC subnode properties:
48 - dma : Should contain Audio DMAC entry
49 - dma-names : "tx" (=playback/capture)
51 DAI subnode properties:
52 - playback : list of playback modules
53 - capture : list of capture modules
57 rcar_sound: sound@ec500000 {
58 #sound-dai-cells = <1>;
59 compatible = "renesas,rcar_sound-r8a7791", "renesas,rcar_sound-gen2";
60 reg = <0 0xec500000 0 0x1000>, /* SCU */
61 <0 0xec5a0000 0 0x100>, /* ADG */
62 <0 0xec540000 0 0x1000>, /* SSIU */
63 <0 0xec541000 0 0x1280>, /* SSI */
64 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
65 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
67 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
68 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
69 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
70 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
71 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
72 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
73 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
74 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
75 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
76 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
77 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
78 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
79 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
80 clock-names = "ssi-all",
81 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
82 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
83 "src.9", "src.8", "src.7", "src.6", "src.5",
84 "src.4", "src.3", "src.2", "src.1", "src.0",
86 "clk_a", "clk_b", "clk_c", "clk_i";
90 dmas = <&audma0 0xbc>;
94 dmas = <&audma0 0xbe>;
117 interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
118 dmas = <&audma0 0x85>, <&audma1 0x9a>;
119 dma-names = "rx", "tx";
122 interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>;
123 dmas = <&audma0 0x87>, <&audma1 0x9c>;
124 dma-names = "rx", "tx";
127 interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>;
128 dmas = <&audma0 0x89>, <&audma1 0x9e>;
129 dma-names = "rx", "tx";
132 interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>;
133 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
134 dma-names = "rx", "tx";
137 interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>;
138 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
139 dma-names = "rx", "tx";
142 interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>;
143 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
144 dma-names = "rx", "tx";
147 interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>;
148 dmas = <&audma0 0x91>, <&audma1 0xb4>;
149 dma-names = "rx", "tx";
152 interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>;
153 dmas = <&audma0 0x93>, <&audma1 0xb6>;
154 dma-names = "rx", "tx";
157 interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>;
158 dmas = <&audma0 0x95>, <&audma1 0xb8>;
159 dma-names = "rx", "tx";
162 interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>;
163 dmas = <&audma0 0x97>, <&audma1 0xba>;
164 dma-names = "rx", "tx";
170 interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;
171 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
172 dma-names = "rx", "tx", "rxu", "txu";
175 interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>;
176 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
177 dma-names = "rx", "tx", "rxu", "txu";
180 interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>;
181 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
182 dma-names = "rx", "tx", "rxu", "txu";
185 interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>;
186 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
187 dma-names = "rx", "tx", "rxu", "txu";
190 interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>;
191 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
192 dma-names = "rx", "tx", "rxu", "txu";
195 interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>;
196 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
197 dma-names = "rx", "tx", "rxu", "txu";
200 interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>;
201 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
202 dma-names = "rx", "tx", "rxu", "txu";
205 interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>;
206 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
207 dma-names = "rx", "tx", "rxu", "txu";
210 interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>;
211 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
212 dma-names = "rx", "tx", "rxu", "txu";
215 interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>;
216 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
217 dma-names = "rx", "tx", "rxu", "txu";
223 playback = <&ssi5 &src5>;