xref: /freebsd/sys/contrib/device-tree/Bindings/sound/amlogic,axg-spdifout.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Amlogic Audio SPDIF Output
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: 'amlogic,axg-spdifout' or
5*c66ec88fSEmmanuel Vadot	      'amlogic,g12a-spdifout' or
6*c66ec88fSEmmanuel Vadot	      'amlogic,sm1-spdifout'
7*c66ec88fSEmmanuel Vadot- clocks: list of clock phandle, one for each entry clock-names.
8*c66ec88fSEmmanuel Vadot- clock-names: should contain the following:
9*c66ec88fSEmmanuel Vadot  * "pclk" : peripheral clock.
10*c66ec88fSEmmanuel Vadot  * "mclk" : master clock
11*c66ec88fSEmmanuel Vadot- #sound-dai-cells: must be 0.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional property:
14*c66ec88fSEmmanuel Vadot- resets: phandle to the dedicated reset line of the spdif output.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample on the A113 SoC:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadotspdifout: audio-controller@480 {
19*c66ec88fSEmmanuel Vadot	compatible = "amlogic,axg-spdifout";
20*c66ec88fSEmmanuel Vadot	reg = <0x0 0x480 0x0 0x50>;
21*c66ec88fSEmmanuel Vadot	#sound-dai-cells = <0>;
22*c66ec88fSEmmanuel Vadot	clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
23*c66ec88fSEmmanuel Vadot		 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
24*c66ec88fSEmmanuel Vadot	clock-names = "pclk", "mclk";
25*c66ec88fSEmmanuel Vadot};
26