def shmemGenerator(state):
    shmem_node = FdtNode(('scp-shmem@%x' % 0))
    shmem_node.appendCompatible(['arm,scmi-shmem'])
    shmem_node.append(FdtPropertyWords('reg', (state.addrCells(0) + state.sizeCells(512))))
    shmem_node.appendPhandle(('scmi_virt' + str(self.virt_id)))
    return shmem_node
def shmemGenerator(state):
    shmem_node = FdtNode(('scp-shmem@%x' % 0))
    shmem_node.appendCompatible(['arm,scmi-shmem'])
    shmem_node.append(FdtPropertyWords('reg', (state.addrCells(0) + state.sizeCells(512))))
    shmem_node.appendPhandle(('scmi_virt' + str(self.virt_id)))
    return shmem_node