18c2ecf20Sopenharmony_ciADI AXI-SPDIF controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible : Must be "adi,axi-spdif-tx-1.00.a" 58c2ecf20Sopenharmony_ci - reg : Must contain SPDIF core's registers location and length 68c2ecf20Sopenharmony_ci - clocks : Pairs of phandle and specifier referencing the controller's clocks. 78c2ecf20Sopenharmony_ci The controller expects two clocks, the clock used for the AXI interface and 88c2ecf20Sopenharmony_ci the clock used as the sampling rate reference clock sample. 98c2ecf20Sopenharmony_ci - clock-names: "axi" for the clock to the AXI interface, "ref" for the sample 108c2ecf20Sopenharmony_ci rate reference clock. 118c2ecf20Sopenharmony_ci - dmas: Pairs of phandle and specifier for the DMA channel that is used by 128c2ecf20Sopenharmony_ci the core. The core expects one dma channel for transmit. 138c2ecf20Sopenharmony_ci - dma-names : Must be "tx" 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciFor more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties 168c2ecf20Sopenharmony_ciplease check: 178c2ecf20Sopenharmony_ci * resource-names.txt 188c2ecf20Sopenharmony_ci * clock/clock-bindings.txt 198c2ecf20Sopenharmony_ci * dma/dma.txt 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciExample: 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci spdif: spdif@77400000 { 248c2ecf20Sopenharmony_ci compatible = "adi,axi-spdif-tx-1.00.a"; 258c2ecf20Sopenharmony_ci reg = <0x77600000 0x1000>; 268c2ecf20Sopenharmony_ci clocks = <&clk 15>, <&audio_clock>; 278c2ecf20Sopenharmony_ci clock-names = "axi", "ref"; 288c2ecf20Sopenharmony_ci dmas = <&ps7_dma 0>; 298c2ecf20Sopenharmony_ci dma-names = "tx"; 308c2ecf20Sopenharmony_ci }; 31