48 lines · plain
1Imagination Technologies I2S Input Controller2 3Required Properties:4 5 - compatible : Compatible list, must contain "img,i2s-in"6 7 - #sound-dai-cells : Must be equal to 08 9 - reg : Offset and length of the register set for the device10 11 - clocks : Contains an entry for each entry in clock-names12 13 - clock-names : Must include the following entry:14 "sys" The system clock15 16 - dmas: Contains an entry for each entry in dma-names.17 18 - dma-names: Must include the following entry:19 "rx" Single DMA channel used by all active I2S channels20 21 - img,i2s-channels : Number of I2S channels instantiated in the I2S in block22 23Optional Properties:24 25 - interrupts : Contains the I2S in interrupts. Depending on26 the configuration, there may be no interrupts, one interrupt,27 or an interrupt per I2S channel. For the case where there is28 one interrupt per channel, the interrupts should be listed29 in ascending channel order30 31 - resets: Contains a phandle to the I2S in reset signal32 33 - reset-names: Contains the reset signal name "rst"34 35Example:36 37i2s_in: i2s-in@18100800 {38 compatible = "img,i2s-in";39 reg = <0x18100800 0x200>;40 interrupts = <GIC_SHARED 7 IRQ_TYPE_LEVEL_HIGH>;41 dmas = <&mdc 30 0xffffffff 0>;42 dma-names = "rx";43 clocks = <&cr_periph SYS_CLK_I2S_IN>;44 clock-names = "sys";45 img,i2s-channels = <6>;46 #sound-dai-cells = <0>;47};48