4 - compatible: must be either "allwinner,sun4i-a10-codec" or
5 "allwinner,sun7i-a20-codec"
6 - reg: must contain the registers location and length
7 - interrupts: must contain the codec interrupt
8 - dmas: DMA channels for tx and rx dma. See the DMA client binding,
9 Documentation/devicetree/bindings/dma/dma.txt
10 - dma-names: should include "tx" and "rx".
11 - clocks: a list of phandle + clock-specifer pairs, one for each entry
13 - clock-names: should contain followings:
14 - "apb": the parent APB clock for this controller
15 - "codec": the parent module clock
16 - routing : A list of the connections between audio components. Each
17 entry is a pair of strings, the first being the connection's sink,
18 the second being the connection's source.
22 codec: codec@01c22c00 {
23 #sound-dai-cells = <0>;
24 compatible = "allwinner,sun7i-a20-codec";
25 reg = <0x01c22c00 0x40>;
26 interrupts = <0 30 4>;
27 clocks = <&apb0_gates 0>, <&codec_clk>;
28 clock-names = "apb", "codec";
29 dmas = <&dma 0 19>, <&dma 0 19>;
30 dma-names = "rx", "tx";
31 routing = "Headphone Jack", "HP Right",
32 "Headphone Jack", "HP Left";