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