arm: dts: add the rpmsg into the dts file

- Mailbox is used in the RPMSG implementation.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
This commit is contained in:
Richard Zhu 2019-07-18 17:07:36 +08:00 committed by Dong Aisheng
parent d7373a4bdd
commit 291d77d276
4 changed files with 62 additions and 12 deletions

View File

@ -1365,12 +1365,7 @@
compatible = "fsl,imx6sx-mu";
reg = <0x02294000 0x4000>;
interrupts = <0 90 0x04>;
status = "okay";
};
rpmsg: rpmsg{
compatible = "fsl,imx6sx-rpmsg";
status = "disabled";
#mbox-cells = <2>;
};
uart6: serial@22a0000 {
@ -1456,4 +1451,18 @@
status = "disabled";
};
};
rpmsg: rpmsg{
compatible = "fsl,imx6sx-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 = <&mu 0 1
&mu 1 1
&mu 3 1>;
status = "disabled";
};
};

View File

@ -181,12 +181,7 @@
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX7D_MU_ROOT_CLK>;
clock-names = "mu";
status = "okay";
};
rpmsg: rpmsg{
compatible = "fsl,imx7d-rpmsg";
status = "disabled";
#mbox-cells = <2>;
};
sema4: sema4@30ac0000 {
@ -294,6 +289,20 @@
fsl,imx7d-pcie-phy = <&pcie_phy>;
status = "disabled";
};
rpmsg: rpmsg{
compatible = "fsl,imx7d-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 = <&mu 0 1
&mu 1 1
&mu 3 1>;
status = "disabled";
};
};
&ca_funnel_in_ports {

View File

@ -59,6 +59,17 @@
status = "okay";
};
&rpmsg{
/*
* 64K for one rpmsg instance, default using 2 rpmsg instances:
* --0x9FF00000~0x9FF0FFFF: pmic,pm,audio,keys,gpio,sensor
* --0x9FF10000~0x9FF1FFFF: pingpong,virtual tty
*/
vdev-nums = <2>;
reg = <0x9FF00000 0x20000>;
status = "okay";
};
&tpm4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm0>;

View File

@ -129,6 +129,13 @@
<&pcc2 IMX7ULP_CLK_DMA_MUX1>;
};
mu: mu@40220000 {
compatible = "fsl,imx7ulp-mu", "fsl,imx6sx-mu";
reg = <0x40220000 0x1000>;
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
#mbox-cells = <2>;
};
crypto: crypto@40240000 {
compatible = "fsl,sec-v4.0";
#address-cells = <1>;
@ -461,4 +468,18 @@
clocks = <&scg1 IMX7ULP_CLK_DUMMY>;
};
};
rpmsg: rpmsg{
compatible = "fsl,imx7ulp-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 = <&mu 0 1
&mu 1 1
&mu 3 1>;
status = "disabled";
};
};