1*c66ec88fSEmmanuel VadotADI AXI-SPDIF controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible : Must be "adi,axi-spdif-tx-1.00.a" 5*c66ec88fSEmmanuel Vadot - reg : Must contain SPDIF core's registers location and length 6*c66ec88fSEmmanuel Vadot - clocks : Pairs of phandle and specifier referencing the controller's clocks. 7*c66ec88fSEmmanuel Vadot The controller expects two clocks, the clock used for the AXI interface and 8*c66ec88fSEmmanuel Vadot the clock used as the sampling rate reference clock sample. 9*c66ec88fSEmmanuel Vadot - clock-names: "axi" for the clock to the AXI interface, "ref" for the sample 10*c66ec88fSEmmanuel Vadot rate reference clock. 11*c66ec88fSEmmanuel Vadot - dmas: Pairs of phandle and specifier for the DMA channel that is used by 12*c66ec88fSEmmanuel Vadot the core. The core expects one dma channel for transmit. 13*c66ec88fSEmmanuel Vadot - dma-names : Must be "tx" 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel VadotFor more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties 16*c66ec88fSEmmanuel Vadotplease check: 17*c66ec88fSEmmanuel Vadot * resource-names.txt 18*c66ec88fSEmmanuel Vadot * clock/clock-bindings.txt 19*c66ec88fSEmmanuel Vadot * dma/dma.txt 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel VadotExample: 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot spdif: spdif@77400000 { 24*c66ec88fSEmmanuel Vadot compatible = "adi,axi-spdif-tx-1.00.a"; 25*c66ec88fSEmmanuel Vadot reg = <0x77600000 0x1000>; 26*c66ec88fSEmmanuel Vadot clocks = <&clk 15>, <&audio_clock>; 27*c66ec88fSEmmanuel Vadot clock-names = "axi", "ref"; 28*c66ec88fSEmmanuel Vadot dmas = <&ps7_dma 0>; 29*c66ec88fSEmmanuel Vadot dma-names = "tx"; 30*c66ec88fSEmmanuel Vadot }; 31