1 // SPDX-License-Identifier: GPL-2.0-only
2 // Definitions to add I2S audio from the Toshiba TC358743 HDMI to CSI2 bridge.
3 // Requires tc358743 overlay to have been loaded to actually function.
8 compatible = "brcm,bcm2835";
20 tc358743_codec: tc358743-codec {
21 #sound-dai-cells = <0>;
22 compatible = "linux,spdif-dir";
30 sound_overlay: __overlay__ {
31 compatible = "simple-audio-card";
32 simple-audio-card,format = "i2s";
33 simple-audio-card,name = "tc358743";
34 simple-audio-card,bitclock-master = <&dailink0_slave>;
35 simple-audio-card,frame-master = <&dailink0_slave>;
38 simple-audio-card,cpu {
40 dai-tdm-slot-num = <2>;
41 dai-tdm-slot-width = <32>;
43 dailink0_slave: simple-audio-card,codec {
44 sound-dai = <&tc358743_codec>;
50 card-name = <&sound_overlay>,"simple-audio-card,name";