1* Rockchip SPDIF Receiver 2 3The S/PDIF audio block is a stereo receiver that allows the 4processor to receive and digital audio via an coaxial cable or 5a fibre cable. 6 7Required properties: 8 9- compatible: should be one of the following: 10 - "rockchip,rk3308-spdifrx" 11- reg: physical base address of the controller and length of memory mapped 12 region. 13- interrupts: should contain the SPDIF interrupt. 14- dmas: DMA specifiers for rx dma. See the DMA client binding, 15 Documentation/devicetree/bindings/dma/dma.txt 16- dma-names: should be "rx" 17- clocks: a list of phandle + clock-specifier pairs, one for each entry 18 in clock-names. 19- clock-names: should contain following: 20 - "hclk": clock for SPDIF controller 21 - "mclk" : clock for SPDIF bus 22- resets: a list of phandle + reset-specifer paris, one for each entry in reset-names. 23- reset-names: reset names, should include "spdifrx-m". 24 25Example for the rk3308 SPDIF-RX controller: 26 27spdif_rx: spdif-rx@ff3b0000 { 28 compatible = "rockchip,rk3308-spdifrx"; 29 reg = <0x0 0xff3b0000 0x0 0x1000>; 30 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 31 clocks = <&cru SCLK_SPDIF_RX>, <&cru HCLK_SPDIFRX>; 32 clock-names = "mclk", "hclk"; 33 dmas = <&dmac1 14>; 34 dma-names = "rx"; 35 resets = <&cru SRST_SPDIFRX_M>; 36 reset-names = "spdifrx-m"; 37 status = "disabled"; 38}; 39