MLK-13729-1 ARM: imx: add the reg into the rpmsg node
authorRichard Zhu <hongxing.zhu@nxp.com>
Fri, 6 Jan 2017 05:53:44 +0000 (13:53 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:58:19 +0000 (14:58 -0500)
In order to remove the hard-coded vring buffer in
the driver, input the vring buffer by device tree
node.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
arch/arm/boot/dts/imx6sx-sdb-m4.dts
arch/arm/boot/dts/imx7d-sdb-m4.dtsi

index 7b67b8e..61a1db3 100644 (file)
@@ -57,6 +57,8 @@
 };
 
 &rpmsg{
+       vdev-nums = <1>;
+       reg = <0xbfff0000 0x10000>;
        status = "okay";
 };
 
index 1b29fc3..deba9ef 100644 (file)
@@ -54,6 +54,8 @@
 };
 
 &rpmsg{
+       vdev-nums = <1>;
+       reg = <0xbfff0000 0x10000>;
        status = "okay";
 };