please provide me a device tree node setup for enabling remote from for this file imx8mn-var-som-symphony-m7.dtsi and imx8mn-var-som-symphony-m7.dts i am unable to setup remoteproc .....in sys/class/ remoteproc/ there is no remoteproc0 folder is availble that i can able to on or off m7 core plxx provide me content for these file to enable remoteproc i am new in this
Hi @prabhatel131,
Hi @Dhruvit i have variscite imx8mn symphony board not evk type ... so should i have to make change is imx8mn-evk-rpmsg.dts file for enabling remoteproc .
this is the content of imx8mn-var-som-symphony-m7.dtsi file . please suggest me what changes should i do in this .
#include <dt-bindings/clock/imx8mn-clock.h>
/ {
imx8mn-cm7 {
compatible = "fsl,imx8mn-cm7";
rsc-da = <0x40000000>;
mbox-names = "tx", "rx", "rxdb";
mboxes = <&mu 0 1
&mu 1 1
&mu 3 1>;
// memory-region = <&vdev0vring0>, <&vdev0vring1>, <&vdevbuffer>, <&m_core_reserved>;
memory-region = <&vdev0vring0>, <&vdev0vring1>, <&vdevbuffer>, <&m_core_reserved>, <&rsc_table> ,<&m7_ddr_alias>,<&m7_itcm>, <&m7_dtcm>;
status = "okay";
};
reserved-memory
{
#address-cells = <2>;
#size-cells = <2>;
ranges;
/delete-node/linux,cma;
m_core_reserved: m_core@0x7e000000 {
no-map;
reg = <0 0x7e000000 0 0x1000000>;
};
vdev0vring0: vdev0vring0@40000000 {
compatible = "shared-dma-pool";
reg = <0 0x40000000 0 0x8000>;
no-map;
};
vdev0vring1: vdev0vring1@40008000 {
compatible = "shared-dma-pool";
reg = <0 0x40008000 0 0x8000>;
no-map;
};
vdevbuffer: vdevbuffer@0x40400000 {
compatible = "shared-dma-pool";
reg = <0 0x40400000 0 0x100000>;
no-map;
};
rsc_table: rsc_table@40000000 {
compatible = "fsl,imx8mn-resource-table";
reg = <0x40000000 0x1000>;
no-map;
};
m7_ddr_alias: m4@0x10000000 {
no-map;
reg = <0 0x10000000 0 0x1000000>;
};
m7_itcm: m4@0x7E0000 {
no-map;
reg = <0 0x7E0000 0 0x20000>;
};
m7_dtcm: m4@0x800000 {
no-map;
reg = <0 0x800000 0 0x20000>;
};
};
};
&clk {
init-on-array = <
IMX8MN_CLK_UART4_ROOT
>;
};
/*
* ATTENTION: M7 may use IPs like below
* ECSPI1, GPIO4, GPT1, I2C4, WDOG1, PWM3, SDMA1/3, UART3
*/
&ecspi1 {
status = "disabled";
};
&i2c4 {
status = "disabled";
};
&pwm3 {
status = "disabled";
};
&rpmsg{
/*
* 64K for one rpmsg instance:
* --0x40000000~0x4000ffff: pingpong
*/
vdev-nums = <1>;
reg = <0x0 0x40000000 0x0 0x10000>;
memory-region = <&vdevbuffer>;
// status = "disabled";
status = "okay";
};
&sdma1{
status = "disabled";
};
&uart3 {
status = "disabled";
}
~
~
~
Hi @prabhatel131,
Hi NXP Support Team,plzz give your suggestion to solve the issue