1*c66ec88fSEmmanuel Vadot* Amlogic Audio SPDIF Input 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: 'amlogic,axg-spdifin' or 5*c66ec88fSEmmanuel Vadot 'amlogic,g12a-spdifin' or 6*c66ec88fSEmmanuel Vadot 'amlogic,sm1-spdifin' 7*c66ec88fSEmmanuel Vadot- interrupts: interrupt specifier for the spdif input. 8*c66ec88fSEmmanuel Vadot- clocks: list of clock phandle, one for each entry clock-names. 9*c66ec88fSEmmanuel Vadot- clock-names: should contain the following: 10*c66ec88fSEmmanuel Vadot * "pclk" : peripheral clock. 11*c66ec88fSEmmanuel Vadot * "refclk" : spdif input reference clock 12*c66ec88fSEmmanuel Vadot- #sound-dai-cells: must be 0. 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel VadotOptional property: 15*c66ec88fSEmmanuel Vadot- resets: phandle to the dedicated reset line of the spdif input. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel VadotExample on the A113 SoC: 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadotspdifin: audio-controller@400 { 20*c66ec88fSEmmanuel Vadot compatible = "amlogic,axg-spdifin"; 21*c66ec88fSEmmanuel Vadot reg = <0x0 0x400 0x0 0x30>; 22*c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 23*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 87 IRQ_TYPE_EDGE_RISING>; 24*c66ec88fSEmmanuel Vadot clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, 25*c66ec88fSEmmanuel Vadot <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; 26*c66ec88fSEmmanuel Vadot clock-names = "pclk", "refclk"; 27*c66ec88fSEmmanuel Vadot}; 28