[source] rt5350: added pcm interface in .dtsi

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 2 20:10:22 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/f9f636b94e3c160ac935380ef6cbb6ac4c95bb5a

commit f9f636b94e3c160ac935380ef6cbb6ac4c95bb5a
Author: Giuseppe Lippolis <giu.lippolis at gmail.com>
AuthorDate: Sun Jan 29 20:39:40 2017 +0100

    rt5350: added pcm interface in .dtsi
    
    Added the missing audio pcm interface in the .dtsi file for the rt5350
    device. The update has been verified from the data get from the datasheet
    and is very similar to the mt7620a.dtsi
    
    Signed-off-by: Giuseppe Lippolis <giu.lippolis at gmail.com>
---
 target/linux/ramips/dts/rt5350.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 5310ce8..a92c113 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -229,6 +229,19 @@
 			interrupts = <7>;
 		};
 
+		pcm: pcm at 2000 {
+			compatible = "ralink,rt5350-pcm";
+			reg = <0x2000 0x800>;
+
+			resets = <&rstctrl 11>;
+			reset-names = "pcm";
+
+			interrupt-parent = <&intc>;
+			interrupts = <4>;
+
+			status = "disabled";
+                };
+
 		gdma: gdma at 2800 {
 			compatible = "ralink,rt3883-gdma";
 			reg = <0x2800 0x800>;



More information about the lede-commits mailing list