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