xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mrvl,pxa-ssp.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMarvell PXA SSP CPU DAI bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot	compatible	Must be "mrvl,pxa-ssp-dai"
6*c66ec88fSEmmanuel Vadot	port		A phandle reference to a PXA ssp upstream device
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotOptional properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot	clock-names
11*c66ec88fSEmmanuel Vadot	clocks		Through "clock-names" and "clocks", external clocks
12*c66ec88fSEmmanuel Vadot			can be configured. If a clock names "extclk" exists,
13*c66ec88fSEmmanuel Vadot			it will be set to the mclk rate of the audio stream
14*c66ec88fSEmmanuel Vadot			and be used as clock provider of the DAI.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot	/* upstream device */
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	ssp1: ssp@41000000 {
21*c66ec88fSEmmanuel Vadot		compatible = "mrvl,pxa3xx-ssp";
22*c66ec88fSEmmanuel Vadot		reg = <0x41000000 0x40>;
23*c66ec88fSEmmanuel Vadot		interrupts = <24>;
24*c66ec88fSEmmanuel Vadot		clock-names = "pxa27x-ssp.0";
25*c66ec88fSEmmanuel Vadot	};
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot	/* DAI as user */
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot	ssp_dai0: ssp_dai@0 {
30*c66ec88fSEmmanuel Vadot		compatible = "mrvl,pxa-ssp-dai";
31*c66ec88fSEmmanuel Vadot		port = <&ssp1>;
32*c66ec88fSEmmanuel Vadot		#sound-dai-cells = <0>;
33*c66ec88fSEmmanuel Vadot	};
34*c66ec88fSEmmanuel Vadot
35