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