summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso
blob: 18c3082f68e6ea0c6b9ad1402f17ffff674998bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// SPDX-License-Identifier: GPL-2.0-only OR MIT
/**
 * Audio playback via HDMI for AM625-SK and AM62-LP SK.
 *
 * Links:
 * AM625 SK: https://www.ti.com/tool/SK-AM62
 * AM62-LP SK: https://www.ti.com/tool/SK-AM62-LP
 *
 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
 */

/dts-v1/;
/plugin/;

&{/} {
	hdmi_audio: sound-sii9022 {
		compatible = "simple-audio-card";
		simple-audio-card,name = "AM62x-Sil9022-HDMI";
		simple-audio-card,format = "i2s";
		simple-audio-card,bitclock-master = <&hdmi_dailink_master>;
		simple-audio-card,frame-master = <&hdmi_dailink_master>;

		hdmi_dailink_master: simple-audio-card,cpu {
			sound-dai = <&mcasp1>;
			system-clock-direction-out;
		};

		simple-audio-card,codec {
			sound-dai = <&sii9022>;
		};
	};
};

&mcasp1 {
	auxclk-fs-ratio = <2177>;
};

&codec_audio {
	status = "disabled";
};