xref: /freebsd/sys/contrib/device-tree/Bindings/sound/armada-370db-audio.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice Tree bindings for the Armada 370 DB audio
2*c66ec88fSEmmanuel Vadot================================================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThese Device Tree bindings are used to describe the audio complex
5*c66ec88fSEmmanuel Vadotfound on the Armada 370 DB platform.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotMandatory properties:
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot * compatible: must be "marvell,a370db-audio"
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot * marvell,audio-controller: a phandle that points to the audio
12*c66ec88fSEmmanuel Vadot   controller of the Armada 370 SoC.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot * marvell,audio-codec: a set of three phandles that points to:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot    1/ the analog audio codec connected to the Armada 370 SoC
17*c66ec88fSEmmanuel Vadot    2/ the S/PDIF transceiver
18*c66ec88fSEmmanuel Vadot    3/ the S/PDIF receiver
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotExample:
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot	sound {
23*c66ec88fSEmmanuel Vadot	      compatible = "marvell,a370db-audio";
24*c66ec88fSEmmanuel Vadot	      marvell,audio-controller = <&audio_controller>;
25*c66ec88fSEmmanuel Vadot	      marvell,audio-codec = <&audio_codec &spdif_out &spdif_in>;
26*c66ec88fSEmmanuel Vadot	};
27