[Skiboot] [PATCH 10/11] hdat: Add P9 compatible property
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Wed Sep 28 22:05:32 AEST 2016
Add p9 compatible property for various nodes.
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
hdata/spira.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/hdata/spira.c b/hdata/spira.c
index b89416c..8f8eb49 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -258,6 +258,10 @@ static struct dt_node *add_xscom_node(uint64_t base, uint32_t hw_id,
dt_add_property_strings(node, "compatible",
"ibm,xscom", "ibm,power8-xscom");
break;
+ case proc_gen_p9:
+ dt_add_property_strings(node, "compatible",
+ "ibm,xscom", "ibm,power9-xscom");
+ break;
default:
dt_add_property_strings(node, "compatible", "ibm,xscom");
}
@@ -574,6 +578,9 @@ static void add_chiptod_node(unsigned int chip_id, int flags)
case proc_gen_p8:
compat_str = "ibm,power8-chiptod";
break;
+ case proc_gen_p9:
+ compat_str = "ibm,power9-chiptod";
+ break;
default:
return;
}
@@ -710,6 +717,9 @@ static void add_nx_node(u32 gcid)
case proc_gen_p8:
cp_str = "ibm,power8-nx";
break;
+ case proc_gen_p9:
+ cp_str = "ibm,power9-nx";
+ break;
default:
return;
}
--
2.5.5
More information about the Skiboot
mailing list