MLK-13720-5: ARM: dts: imx7ulp-evk: support multi rpmsg instances
authorRobin Gong <yibin.gong@nxp.com>
Thu, 5 Jan 2017 06:20:55 +0000 (14:20 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:58:06 +0000 (14:58 -0500)
Add 'vdev-nums' to imply how many rpmsg instances used in kernel. If
it beyond the 5, please enlarge the 'MAX_VDEV_NUMS' in imx_rpmsg.c

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
(cherry picked from commit 0cbc0fdc4cce2c292aded56619d1001f7c936a6f)

arch/arm/boot/dts/imx7ulp-evk.dts

index 1009eff..ee7488d 100644 (file)
 };
 
 &rpmsg{
+       /*
+        * 64K for one rpmsg instance, default using 2 rpmsg instances:
+        * --0x9FF00000~0x9FF01FFF: pingpong
+        * --0x9FF10000~0x9FF11FFF: pmic
+        */
+       vdev-nums = <2>;
+       reg = <0x9FF00000 0x20000>;
        status = "okay";
 };