xref: /freebsd/sys/contrib/device-tree/Bindings/sound/amlogic,axg-spdifin.txt (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1* Amlogic Audio SPDIF Input
2
3Required properties:
4- compatible: 'amlogic,axg-spdifin' or
5	      'amlogic,g12a-spdifin' or
6	      'amlogic,sm1-spdifin'
7- interrupts: interrupt specifier for the spdif input.
8- clocks: list of clock phandle, one for each entry clock-names.
9- clock-names: should contain the following:
10  * "pclk" : peripheral clock.
11  * "refclk" : spdif input reference clock
12- #sound-dai-cells: must be 0.
13
14Optional property:
15- resets: phandle to the dedicated reset line of the spdif input.
16
17Example on the A113 SoC:
18
19spdifin: audio-controller@400 {
20	compatible = "amlogic,axg-spdifin";
21	reg = <0x0 0x400 0x0 0x30>;
22	#sound-dai-cells = <0>;
23	interrupts = <GIC_SPI 87 IRQ_TYPE_EDGE_RISING>;
24	clocks = <&clkc_audio AUD_CLKID_SPDIFIN>,
25		 <&clkc_audio AUD_CLKID_SPDIFIN_CLK>;
26	clock-names = "pclk", "refclk";
27};
28