mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
f984d3889c
Synchronize R-Car R8A77951 H3 DTs with Linux 6.5.3, commit 238589d0f7b421aae18c5704dc931595019fa6c7 . Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
85 lines
1.4 KiB
Text
85 lines
1.4 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree for ULCB + Audio Graph Card
|
|
*
|
|
* Copyright (C) 2022 Renesas Electronics Corp.
|
|
*/
|
|
|
|
/*
|
|
* (A) CPU0 <-----> ak4613
|
|
* (B) CPU1 -----> HDMI
|
|
*
|
|
* (A) aplay -D plughw:0,0 xxx.wav
|
|
* (B) aplay -D plughw:0,1 xxx.wav
|
|
*
|
|
* (A) arecord -D plughw:0,0 xxx.wav
|
|
*/
|
|
|
|
/ {
|
|
sound_card: sound {
|
|
compatible = "audio-graph-card";
|
|
label = "rcar-sound";
|
|
|
|
dais = <&rsnd_port0 /* (A) CPU0 <-> ak4613 */
|
|
&rsnd_port1 /* (B) CPU1 -> HDMI */
|
|
>;
|
|
};
|
|
};
|
|
|
|
&ak4613 {
|
|
#sound-dai-cells = <0>;
|
|
|
|
port {
|
|
/*
|
|
* (A) CPU0 <-> ak4613
|
|
*/
|
|
ak4613_endpoint: endpoint {
|
|
remote-endpoint = <&rsnd_for_ak4613>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&hdmi0 {
|
|
ports {
|
|
port@2 {
|
|
/*
|
|
* (B) CPU1 -> HDMI
|
|
*/
|
|
dw_hdmi0_snd_in: endpoint {
|
|
remote-endpoint = <&rsnd_for_hdmi>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&rcar_sound {
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
rsnd_port0: port@0 {
|
|
/*
|
|
* (A) CPU0 <-> ak4613
|
|
*/
|
|
reg = <0>;
|
|
rsnd_for_ak4613: endpoint {
|
|
remote-endpoint = <&ak4613_endpoint>;
|
|
bitclock-master;
|
|
frame-master;
|
|
playback = <&ssi0>, <&src0>, <&dvc0>;
|
|
capture = <&ssi1>, <&src1>, <&dvc1>;
|
|
};
|
|
};
|
|
rsnd_port1: port@1 {
|
|
/*
|
|
* (B) CPU1 -> HDMI
|
|
*/
|
|
reg = <1>;
|
|
rsnd_for_hdmi: endpoint {
|
|
remote-endpoint = <&dw_hdmi0_snd_in>;
|
|
bitclock-master;
|
|
frame-master;
|
|
playback = <&ssi2>;
|
|
};
|
|
};
|
|
};
|
|
};
|