Browse Source

fix(versal-net): correct device node indexes

Currently, the peripheral node indexes are incorrect
for Versal NET due to which incorrect node error is
generated and permission to set the device as wakeup
source is failed. Correct Versal NET peripheral node
indexes to fix above issue.

Fixes: 662aafd6475e ("feat(xilinx): add device node indexes")
Change-Id: I4a2d76f375645e13512599a0272d9322ff6fafd3
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
pull/1999/head
Jay Buddhabhatti 1 year ago
committed by Akshay Belsare
parent
commit
66b5620c87
  1. 96
      plat/xilinx/common/include/pm_node.h

96
plat/xilinx/common/include/pm_node.h

@ -188,54 +188,54 @@ enum pm_device_node_idx {
XPM_NODEIDX_DEV_GT_10 = 0x53,
#if defined(PLAT_versal_net)
XPM_NODEIDX_DEV_ACPU_0_0 = 0x54,
XPM_NODEIDX_DEV_ACPU_0_1 = 0x55,
XPM_NODEIDX_DEV_ACPU_0_2 = 0x56,
XPM_NODEIDX_DEV_ACPU_0_3 = 0x57,
XPM_NODEIDX_DEV_ACPU_1_0 = 0x58,
XPM_NODEIDX_DEV_ACPU_1_1 = 0x59,
XPM_NODEIDX_DEV_ACPU_1_2 = 0x5A,
XPM_NODEIDX_DEV_ACPU_1_3 = 0x5B,
XPM_NODEIDX_DEV_ACPU_2_0 = 0x5C,
XPM_NODEIDX_DEV_ACPU_2_1 = 0x5D,
XPM_NODEIDX_DEV_ACPU_2_2 = 0x5E,
XPM_NODEIDX_DEV_ACPU_2_3 = 0x5F,
XPM_NODEIDX_DEV_ACPU_3_0 = 0x60,
XPM_NODEIDX_DEV_ACPU_3_1 = 0x61,
XPM_NODEIDX_DEV_ACPU_3_2 = 0x62,
XPM_NODEIDX_DEV_ACPU_3_3 = 0x63,
XPM_NODEIDX_DEV_RPU_A_0 = 0x64,
XPM_NODEIDX_DEV_RPU_A_1 = 0x65,
XPM_NODEIDX_DEV_RPU_B_0 = 0x66,
XPM_NODEIDX_DEV_RPU_B_1 = 0x67,
XPM_NODEIDX_DEV_OCM_0_0 = 0x68,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