MLK-13904-4: ARM: dts: add rpmsg audio sound card device note
authorShengjiu Wang <shengjiu.wang@freescale.com>
Wed, 15 Feb 2017 03:24:05 +0000 (11:24 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:42 +0000 (15:10 -0500)
audio will use the fourth slot in rpmsg address space.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Acked-by: Robin Gong <yibin.gong@nxp.com>
arch/arm/boot/dts/imx7ulp-evk.dts

index 0ede400..6108b3a 100644 (file)
                                regulator-always-on;
                };
        };
+
+       rpmsg_i2s: rpmsg-i2s {
+               compatible = "fsl,imx7ulp-rpmsg-i2s";
+               /* the audio device index in m4 domain */
+               fsl,audioindex = <0> ;
+               status = "okay";
+       };
+
+       sound-rpmsg {
+               compatible = "fsl,imx-audio-rpmsg";
+               model = "rpmsg-audio";
+               cpu-dai = <&rpmsg_i2s>;
+       };
 };
 
 &iomuxc1 {
         * --0x9FF00000~0x9FF0FFFF: pingpong
         * --0x9FF10000~0x9FF1FFFF: pmic
         * --0x9FF20000~0x9FF2FFFF: pm
+        * --0x9FF30000~0x9FF3FFFF: audio
         */
-       vdev-nums = <3>;
-       reg = <0x9FF00000 0x30000>;
+       vdev-nums = <4>;
+       reg = <0x9FF00000 0x40000>;
        status = "okay";
 };