ppc/pnv: add a LPC Controller model for POWER9
commit15376c66fab71fc66d2b1c9ade3359474746ddba
authorCédric Le Goater <clg@kaod.org>
Thu, 7 Mar 2019 22:35:39 +0000 (7 23:35 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2019 03:33:04 +0000 (12 14:33 +1100)
treeed07799b886d789ac10141eb5c430cbb0cfa0378
parent64d011d56ea2cd72f8f8c937526f851685296231
ppc/pnv: add a LPC Controller model for POWER9

The LPC Controller on POWER9 is very similar to the one found on
POWER8 but accesses are now done via on MMIOs, without the XSCOM and
ECCB logic. The device tree is populated differently so we add a
specific POWER9 routine for the purpose.

SerIRQ routing is yet to be done.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190307223548.20516-7-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_lpc.c
include/hw/ppc/pnv.h
include/hw/ppc/pnv_lpc.h