Skip to content

Commit

Permalink
hdat: Add P9 compatible property
Browse files Browse the repository at this point in the history
Add p9 compatible property for various nodes.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
[oohall@gmail.com: remove ibm,power9-nx compat]
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
Vasant Hegde authored and stewartsmith committed Jan 15, 2017
1 parent 3fb2151 commit 79736e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hdata/spira.c
Expand Up @@ -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");
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 79736e7

Please sign in to comment.