// Definitions for audioinjector.net audio soundcard /dts-v1/; /plugin/; / { compatible = "brcm,bcm2835"; fragment@0 { target = <&i2s>; __overlay__ { status = "okay"; }; }; fragment@1 { target-path = "/"; __overlay__ { codec_bare: codec_bare { compatible = "linux,spdif-dit"; #sound-dai-cells = <0>; status = "okay"; }; }; }; fragment@2 { target = <&sound>; __overlay__ { compatible = "simple-audio-card"; i2s-controller = <&i2s>; status = "okay"; simple-audio-card,name = "audioinjector-bare"; simple-audio-card,format = "i2s"; simple-audio-card,bitclock-master = <&dailink0_master>; simple-audio-card,frame-master = <&dailink0_master>; dailink0_master: simple-audio-card,cpu { sound-dai = <&i2s>; dai-tdm-slot-num = <2>; dai-tdm-slot-width = <32>; }; snd_codec: simple-audio-card,codec { sound-dai = <&codec_bare>; }; }; }; };