Can anyone give me some clues on how to hook these clocks up?

On Fri, Jun 13, 2014 at 12:22 PM, [email protected] <[email protected]> wrote:
> What should the clocks be?
> Why are there three I2S devices?
> Did I get interrupt and DMA values right?
>
> spdif@1c21000 {
> compatible = "allwinner,sun7i-a20-spdif";
> reg = <0x01C21000 0x20>;
> interrupts = <0 13 4>;
> clocks = <&apb1_gates 16>;
> dmas = <&dma 0 2>, <&dma 0 2>;
> dma-names = "rx", "tx";
> status = "disabled";
> }
>
> ac97@1c21400 {
> compatible = "allwinner,sun7i-a20-ac97";
> reg = <0x01C21400 0x20>;
> interrupts = <0 15 4>;
> clocks = <&apb1_gates 16>;
> dmas = <&dma 0 5>, <&dma 0 5>;
> dma-names = "rx", "tx";
> status = "disabled";
> }
>
> i2s0: i2s@1c22000 {
> compatible = "allwinner,sun7i-a20-i2s";
> reg = <0x01C22000 0x20>;
> interrupts = <0 16 4>;
> clocks = <&apb1_gates 16>;
> dmas = <&dma 0 2>, <&dma 0 3>;
> dma-names = "rx", "tx";
> status = "disabled";
> }
>
> i2s1: i2s@1c22400 {
> compatible = "allwinner,sun7i-a20-i2s";
> reg = <0x01C22400 0x20>;
> interrupts = <0 87 4>;
> clocks = <&apb1_gates 16>;
> dmas = <&dma 0 4>, <&dma 0 4>;
> dma-names = "rx", "tx";
> status = "disabled";
> }
>
> i2s2: i2s@1c24400 {
> compatible = "allwinner,sun7i-a20-i2s";
> reg = <0x01C24400 0x20>;
> interrupts = <0 90 4>;
> clocks = <&apb1_gates 16>;
> dmas = <&dma 0 6>, <&dma 0 6>;
> dma-names = "rx", "tx";
> status = "disabled";
> }
>
> codec@1c22c00 {
> compatible = "allwinner,sun7i-a20-codec";
> reg = <0x01C22c00 0x20>;
> interrupts = <0 30 4>;
> clocks = <&apb1_gates 16>;
> dmas = <&dma 0 19>, <&dma 0 19>;
> dma-names = "rx", "tx";
> status = "disabled";
> }
>
>
> --
> Jon Smirl
> [email protected]



-- 
Jon Smirl
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to