xref: /freebsd/sys/contrib/device-tree/Bindings/sound/img,spdif-out.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Imagination Technologies SPDIF Output Controller
2
3Required Properties:
4
5  - compatible : Compatible list, must contain "img,spdif-out"
6
7  - #sound-dai-cells : Must be equal to 0
8
9  - reg : Offset and length of the register set for the device
10
11  - dmas: Contains an entry for each entry in dma-names.
12
13  - dma-names: Must include the following entry:
14	"tx"
15
16  - clocks : Contains an entry for each entry in clock-names.
17
18  - clock-names : Includes the following entries:
19	"sys"	The system clock
20	"ref"	The reference clock
21
22  - resets: Contains a phandle to the spdif out reset signal
23
24  - reset-names: Contains the reset signal name "rst"
25
26Optional Properties:
27
28  - interrupts : Contains the parallel out interrupt, if present
29
30Example:
31
32spdif_out: spdif-out@18100d00 {
33	compatible = "img,spdif-out";
34	reg = <0x18100D00 0x100>;
35	interrupts = <GIC_SHARED 21 IRQ_TYPE_LEVEL_HIGH>;
36	dmas = <&mdc 14 0xffffffff 0>;
37	dma-names = "tx";
38	clocks = <&cr_periph SYS_CLK_SPDIF_OUT>,
39		 <&clk_core CLK_SPDIF>;
40	clock-names = "sys", "ref";
41	resets = <&pistachio_reset PISTACHIO_RESET_SPDIF_OUT>;
42	reset-names = "rst";
43	#sound-dai-cells = <0>;
44};
45