aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2016-10-29 20:06:34 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-12-21 14:48:37 +1100
commit8818b86bef13627fd71f34f410a3784678abef2a (patch)
treed8fba12bb3250e8a67acb208b1514efa70117733
parent4c47f77b14879ecd5b248fdf0f69a3c4fa218001 (diff)
downloadskiboot-8818b86bef13627fd71f34f410a3784678abef2a.zip
skiboot-8818b86bef13627fd71f34f410a3784678abef2a.tar.gz
skiboot-8818b86bef13627fd71f34f410a3784678abef2a.tar.bz2
hdat: Add PSI HB xscom details
Add PSI HB XSCOM address. SCOM address and length is taken from p9 example dts (doc/device-tree/examples/power9-phb4.dts). Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hdata/spira.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hdata/spira.c b/hdata/spira.c
index 3054bb0..f3b3502 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -309,6 +309,11 @@ static void add_psihb_node(struct dt_node *np)
psi_slen = 0x20;
psi_comp = "ibm,power8-psihb-x";
break;
+ case proc_gen_p9:
+ psi_scom = 0x5012900;
+ psi_slen = 0x100;
+ psi_comp = "ibm,power9-psihb-x";
+ break;
default:
psi_comp = NULL;
}