diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-07-27 10:50:21 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-21 16:43:27 -0400 |
commit | 44cdcfc2d91041df422ffa6713c1066c12257ccd (patch) | |
tree | 0e538feb5b6f8d92344424c9abbc93ba9cce2a55 | |
parent | bcf884504bac05df5e47766142eed304fa3ad953 (diff) |
ARM: sun5i: Add the Audio codec DT node
The A13 and A10s also have the audio codec present. List it in the device
tree.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r-- | arch/arm/boot/dts/sun5i.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 17a6b7d58fbf..59a9426e3bd4 100644 --- a/arch/arm/boot/dts/sun5i.dtsi +++ b/arch/arm/boot/dts/sun5i.dtsi | |||
@@ -589,6 +589,19 @@ | |||
589 | status = "disabled"; | 589 | status = "disabled"; |
590 | }; | 590 | }; |
591 | 591 | ||
592 | codec: codec@01c22c00 { | ||
593 | #sound-dai-cells = <0>; | ||
594 | compatible = "allwinner,sun4i-a10-codec"; | ||
595 | reg = <0x01c22c00 0x40>; | ||
596 | interrupts = <30>; | ||
597 | clocks = <&apb0_gates 0>, <&codec_clk>; | ||
598 | clock-names = "apb", "codec"; | ||
599 | dmas = <&dma SUN4I_DMA_NORMAL 19>, | ||
600 | <&dma SUN4I_DMA_NORMAL 19>; | ||
601 | dma-names = "rx", "tx"; | ||
602 | status = "disabled"; | ||
603 | }; | ||
604 | |||
592 | sid: eeprom@01c23800 { | 605 | sid: eeprom@01c23800 { |
593 | compatible = "allwinner,sun4i-a10-sid"; | 606 | compatible = "allwinner,sun4i-a10-sid"; |
594 | reg = <0x01c23800 0x10>; | 607 | reg = <0x01c23800 0x10>; |