ARM: dts: omap5: Add McPDM and DMIC section to the dtsi file
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 29 Aug 2012 13:31:07 +0000 (16:31 +0300)
committerBenoit Cousson <b-cousson@ti.com>
Fri, 7 Sep 2012 17:22:58 +0000 (19:22 +0200)
To be able to load the McPDM and DMIC driver when booted with device tree.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
arch/arm/boot/dts/omap5.dtsi

index aa97e93..9ac75b3 100644 (file)
                        ti,hwmods = "kbd";
                };
 
+               mcpdm: mcpdm@40132000 {
+                       compatible = "ti,omap4-mcpdm";
+                       reg = <0x40132000 0x7f>, /* MPU private access */
+                             <0x49032000 0x7f>; /* L3 Interconnect */
+                       reg-names = "mpu", "dma";
+                       interrupts = <0 112 0x4>;
+                       interrupt-parent = <&gic>;
+                       ti,hwmods = "mcpdm";
+               };
+
+               dmic: dmic@4012e000 {
+                       compatible = "ti,omap4-dmic";
+                       reg = <0x4012e000 0x7f>, /* MPU private access */
+                             <0x4902e000 0x7f>; /* L3 Interconnect */
+                       reg-names = "mpu", "dma";
+                       interrupts = <0 114 0x4>;
+                       interrupt-parent = <&gic>;
+                       ti,hwmods = "dmic";
+               };
+
                mcbsp1: mcbsp@40122000 {
                        compatible = "ti,omap4-mcbsp";
                        reg = <0x40122000 0xff>, /* MPU private access */