aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'platforms')
-rw-r--r--platforms/astbmc/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c
index e78b5fa..8734f76 100644
--- a/platforms/astbmc/common.c
+++ b/platforms/astbmc/common.c
@@ -278,6 +278,12 @@ static void astbmc_fixup_dt(void)
if (dt_has_node_property(n, "#address-cells", NULL))
break;
}
+ dt_for_each_compatible(dt_root, n, "ibm,power9-lpc") {
+ if (!primary_lpc || dt_has_node_property(n, "primary", NULL))
+ primary_lpc = n;
+ if (dt_has_node_property(n, "#address-cells", NULL))
+ break;
+ }
if (!primary_lpc)
return;