diff options
| author | Nam Cao <[email protected]> | 2024-02-22 09:16:14 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-02-22 17:58:17 +0530 |
| commit | 034af1f85e8147cb5753933d231f5bf12c23bfb4 (patch) | |
| tree | 12407f0ee3d15eaea96654d2a3a9a6f05f950a1c | |
| parent | 88273fe19e97e76aa2645add370324840dc7222a (diff) | |
platform: starfive: correct system clock device tree node
Starfive names the system clock device tree node "starfive,jh7110-clkgen"
in all their git repositories. However, a different name is used in
upstream U-Boot (and also Linux): "starfive,jh7110-syscrg". Since
OpenSBI gets the device tree from U-Boot, this inconsistency leads the
problem that OpenSBI doesn't know the system clock device exists.
Correct this name to keep the consistency.
Signed-off-by: Nam Cao <[email protected]>
Acked-by: Minda Chen <[email protected]>
Tested-by: Minda Chen <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
| -rw-r--r-- | platform/generic/starfive/jh7110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/generic/starfive/jh7110.c b/platform/generic/starfive/jh7110.c index dcd6306b..4b221750 100644 --- a/platform/generic/starfive/jh7110.c +++ b/platform/generic/starfive/jh7110.c @@ -252,7 +252,7 @@ static int starfive_jh7110_inst_init(void *fdt) jh7110_inst.pmu_reg_base = addr; } - noff = fdt_node_offset_by_compatible(fdt, -1, "starfive,jh7110-clkgen"); + noff = fdt_node_offset_by_compatible(fdt, -1, "starfive,jh7110-syscrg"); if (-1 < noff) { rc = fdt_get_node_addr_size(fdt, noff, 0, &addr, NULL); if (rc) |
