1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Audio Graph Card2 (MIX + TDM Split)
5 * Copyright (C) 2022 Renesas Electronics Corp.
10 * The HDMI output is ignored due to the limited number of subdevices
12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0)
13 * (B) CPU1 (2ch) --/ (MIX-1)
15 * (A) aplay -D plughw:0,0 xxx.wav
16 * (B) aplay -D plughw:0,1 xxx.wav
18 * (A) arecord -D plughw:0,0 xxx.wav
22 compatible = "audio-graph-card2";
23 label = "snd-ulcb-mix";
25 routing = "ak4613 Playback", "DAI0 Playback",
26 "ak4613 Playback", "DAI1 Playback",
27 "DAI0 Capture", "ak4613 Capture";
29 links = <&fe_a /* (A) CPU0 */
31 &be_x /* (X) ak4613 */
47 fe_a: port@0 { reg = <0>; fe_a_ep: endpoint { remote-endpoint = <&rsnd_a_ep>; }; };
48 fe_b: port@1 { reg = <1>; fe_b_ep: endpoint { remote-endpoint = <&rsnd_b_ep>; }; };
57 be_x: port { be_x_ep: endpoint { remote-endpoint = <&ak4613_x_ep>; }; };
69 convert-rate = <48000>;
71 ak4613_x_ep: endpoint {
72 remote-endpoint = <&be_x_ep>;
92 remote-endpoint = <&fe_a_ep>;
95 playback = <&src1 &ctu02 &mix0 &dvc0 &ssi0>;
96 capture = <&ssi1 &src0 &dvc1>;
104 rsnd_b_ep: endpoint {
105 remote-endpoint = <&fe_b_ep>;
108 playback = <&src2 &ctu03 &mix0 &dvc0 &ssi0>;