Hello Igor,
Thanks a lot for your reply. The resouce list has CAN_1 as you have mentioned in your reply, I have also initialized the resources for CAN_0 and CAN_1 for m4 in SCFW:
SCFW:
BRD_ERR (rm_set_resource_movable( pt_boot, SC_R_CAN_0, SC_R_CAN_1,
SC_TRUE));
The screenshot that I provided is also from sc_fw_api_qx_b0.pdf but from CLOCK list:

CM4:
Test 1 )
Initialize CAN0
CAN0 :- working
Flex_CAN0 is working perfectly.
Test 2)
Flex_CAN1:
Initialize CAN1
CAN1 :- not working
Initialized CAN1 in similar way as CAN_0. Does not work. As it cannot enable clock for FLEXCAN_1

When sc_pm_clock_enable function tries to enable the clock Gate, it sends an error "6" -> Unavailable (out of resources)

Test 3)
Initialize CAN0 resource first , Then CAN1 resource and initialize Flexcan_init with FLEXCAN1.
As mentioned in another thread: https://community.nxp.com/message/1313876?commentID=1313876#comment-1313876 to enable both resources CAN_0 and CAN_1
Quote from jimmychan
> "This will enable the clock as well, but if you use SC_R_CAN_1, I don't believe the clock will get enabled, which also explains why when you initialize CAN_0, CAN_1 then works."
I have also tried it -->
#if defined(BODY_FLEX_CAN)
if (sc_pm_set_resource_power_mode(ipc, SC_R_CAN_0, SC_PM_PW_MODE_ON) != SC_ERR_NONE)
{
PRINTF("Error: Failed to power on FLEXCAN\r\n");
}
if (sc_pm_set_resource_power_mode(ipc, SC_R_CAN_1, SC_PM_PW_MODE_ON) != SC_ERR_NONE)
{
PRINTF("Error: Failed to power on FLEXCAN\r\n");
}
#endif
if (sc_pm_set_resource_power_mode(ipc, SC_R_IRQSTR_M4_0, SC_PM_PW_MODE_ON) != SC_ERR_NONE)
{
PRINTF("Error: Failed to power on IRQSTR\r\n");
}
Also the clock does not work, FLEX_CAN1 failed to initialize.
Test 4):
Initialize CAN0 and then CAN1
Initialize CAN_0 :->

Flex_CAN_0 --> kclock_DMA_CAN0 --> initialized successfully

CAN0 :- working properly
After initialization of CAN0, initialize CAN1. It FAILS
Flex_CAN_1--> kclock_DMA_CAN1 --> initialization Failed
CAN1 :- NOT working in M4 imx8qxp