1
0
Fork 0

arm64: dts: imx8qxp: add the rpmsg support

Add the rpmsg support.
- Setup the rpmsg reserved memory, one is used for vring, the other one
is used for shared buffers.
- The mailbox of the lsio mu5a is used by rpmsg on imx8qxp platforms

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Richard Zhu 2019-04-15 18:27:28 +08:00 committed by Dong Aisheng
parent 86d846cbd4
commit 5f96d0fe49
3 changed files with 42 additions and 0 deletions

View File

@ -137,6 +137,14 @@ lsio_subsys: bus@5d000000 {
status = "disabled";
};
lsio_mu5: mailbox@5d200000 {
compatible = "fsl,imx6sx-mu";
reg = <0x5d200000 0x10000>;
interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
#mbox-cells = <2>;
power-domains = <&pd IMX_SC_R_MU_5A>;
};
lsio_mu13: mailbox@5d280000 {
compatible = "fsl,imx8-mu-dsp", "fsl,imx6sx-mu";
reg = <0x5d280000 0x10000>;

View File

@ -513,6 +513,15 @@
status = "okay";
};
&rpmsg{
/*
* 64K for one rpmsg instance:
*/
vdev-nums = <2>;
reg = <0x0 0x90000000 0x0 0x20000>;
status = "okay";
};
&usbphy1 {
status = "okay";
};

View File

@ -134,6 +134,15 @@
#size-cells = <2>;
ranges;
rpmsg_reserved: rpmsg@0x90000000 {
no-map;
reg = <0 0x90000000 0 0x400000>;
};
rpmsg_dma_reserved:rpmsg_dma@0x90400000 {
compatible = "shared-dma-pool";
no-map;
reg = <0 0x90400000 0 0x1C00000>;
};
dsp_reserved: dsp@92400000 {
reg = <0 0x92400000 0 0x2000000>;
no-map;
@ -313,6 +322,22 @@
status = "disabled";
};
rpmsg: rpmsg{
compatible = "fsl,imx8qxp-rpmsg";
/* up to now, the following channels are used in imx rpmsg
* - tx1/rx1: messages channel.
* - general interrupt1: remote proc finish re-init rpmsg stack
* when A core is partition reset.
*/
mbox-names = "tx", "rx", "rxdb";
mboxes = <&lsio_mu5 0 1
&lsio_mu5 1 1
&lsio_mu5 3 1>;
mub-partition = <3>;
memory-region = <&rpmsg_dma_reserved>;
status = "disabled";
};
imx8_gpu_ss: imx8_gpu_ss {
compatible = "fsl,imx8qxp-gpu", "fsl,imx8-gpu-ss";
cores = <&gpu_3d0>;