[Skiboot] [PATCH 03/14] hdat: Add P9 compatible property

Oliver O'Halloran oohall at gmail.com
Thu Jan 12 14:54:02 AEDT 2017


From: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

Add p9 compatible property for various nodes.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
[oohall at gmail.com: remove ibm,power9-nx compat]
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hdata/spira.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/hdata/spira.c b/hdata/spira.c
index a19b4db92a8a..5c122398cc2e 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");
 	}
@@ -578,6 +582,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;
 	}
-- 
2.7.4



More information about the Skiboot mailing list