aboutsummaryrefslogtreecommitdiff
path: root/drivers/qe/fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/qe/fdt.c')
-rw-r--r--drivers/qe/fdt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/qe/fdt.c b/drivers/qe/fdt.c
index 53074889c1a..d7c7d13cab5 100644
--- a/drivers/qe/fdt.c
+++ b/drivers/qe/fdt.c
@@ -85,6 +85,8 @@ void ft_qe_setup(void *blob)
"bus-frequency", gd->qe_clk, 1);
do_fixup_by_compat_u32(blob, "fsl,qe",
"brg-frequency", gd->brg_clk, 1);
+ do_fixup_by_compat_u32(blob, "fsl,qe-gtm",
+ "clock-frequency", gd->qe_clk / 2, 1);
fdt_fixup_qe_firmware(blob);
#endif
}