ppc/pnv: Generate phandle for the "interrupt-parent" property
commitf47a08d1a71825c10188968251e6f4a8ef647b99
authorCédric Le Goater <clg@kaod.org>
Tue, 23 Jul 2019 09:01:38 +0000 (23 11:01 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 28 Aug 2019 23:45:18 +0000 (29 09:45 +1000)
treeaac0773f2bc6ab505852f3d68feca99c584c31b6
parent45a73a19606488e093ecd0cef42ce28d8c4d37c4
ppc/pnv: Generate phandle for the "interrupt-parent" property

Devices such as the BT or serial devices require a valid
"interrupt-parent" phandle in the device tree and it is currently
empty (0x0). It was not a problem until now but since OpenFirmare
started using a recent libdft (>= 1.4.7), petitboot fails to boot the
system image with error :

   dtc_resize: fdt_open_into returned FDT_ERR_BADMAGIC

Provide a phandle for the LPC bus.

Suggested-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190723090138.30623-1-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c