1* Rockchip SPDIF transceiver
2
3The S/PDIF audio block is a stereo transceiver that allows the
4processor to receive and transmit digital audio via an coaxial cable or
5a fibre cable.
6
7Required properties:
8
9- compatible: should be one of the following:
10   - "rockchip,rk3288-spdif", "rockchip,rk3188-spdif" or
11     "rockchip,rk3066-spdif"
12- reg: physical base address of the controller and length of memory mapped
13  region.
14- interrupts: should contain the SPDIF interrupt.
15- dmas: DMA specifiers for tx dma. See the DMA client binding,
16  Documentation/devicetree/bindings/dma/dma.txt
17- dma-names: should be "tx"
18- clocks: a list of phandle + clock-specifier pairs, one for each entry
19  in clock-names.
20- clock-names: should contain following:
21   - "hclk": clock for SPDIF controller
22   - "mclk" : clock for SPDIF bus
23
24Required properties on RK3288:
25  - rockchip,grf: the phandle of the syscon node for the general register
26                   file (GRF)
27
28Example for the rk3188 SPDIF controller:
29
30spdif: spdif@0x1011e000 {
31	compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
32	reg = <0x1011e000 0x2000>;
33	interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
34	dmas = <&dmac1_s 8>;
35	dma-names = "tx";
36	clock-names = "hclk", "mclk";
37	clocks = <&cru HCLK_SPDIF>, <&cru SCLK_SPDIF>;
38	status = "disabled";
39	#sound-dai-cells = <0>;
40};
41