Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /** |
| 3 | * Audio playback via HDMI for AM625-SK and AM62-LP SK. |
| 4 | * |
| 5 | * Links: |
| 6 | * AM625 SK: https://www.ti.com/tool/SK-AM62 |
| 7 | * AM62-LP SK: https://www.ti.com/tool/SK-AM62-LP |
| 8 | * |
| 9 | * Copyright (C) 2023 Texas Instruments Incorporated - http://www.ti.com/ |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | /plugin/; |
| 14 | |
| 15 | &{/} { |
| 16 | hdmi_audio: sound-sii9022 { |
| 17 | compatible = "simple-audio-card"; |
| 18 | simple-audio-card,name = "AM62x-Sil9022-HDMI"; |
| 19 | simple-audio-card,format = "i2s"; |
| 20 | simple-audio-card,bitclock-master = <&hdmi_dailink_master>; |
| 21 | simple-audio-card,frame-master = <&hdmi_dailink_master>; |
| 22 | |
| 23 | hdmi_dailink_master: simple-audio-card,cpu { |
| 24 | sound-dai = <&mcasp1>; |
| 25 | system-clock-direction-out; |
| 26 | }; |
| 27 | |
| 28 | simple-audio-card,codec { |
| 29 | sound-dai = <&sii9022>; |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | &mcasp1 { |
| 35 | auxclk-fs-ratio = <2177>; |
| 36 | }; |
| 37 | |
| 38 | &codec_audio { |
| 39 | status = "disabled"; |
| 40 | }; |