summaryrefslogtreecommitdiff
path: root/drivers/qe/fdt.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-10-15 17:47:16 +0400
committerKumar Gala <galak@kernel.crashing.org>2009-10-27 10:04:17 -0500
commit3fca80375981fe83d4674a0267183b469a1ea7ff (patch)
tree086e8479c459b16088096832b87ca9d569c43f4c /drivers/qe/fdt.c
parent14809b6c21c89dd65abaf3fea7627fb5ea0f78a3 (diff)
downloadu-boot-imx-3fca80375981fe83d4674a0267183b469a1ea7ff.zip
u-boot-imx-3fca80375981fe83d4674a0267183b469a1ea7ff.tar.gz
u-boot-imx-3fca80375981fe83d4674a0267183b469a1ea7ff.tar.bz2
mpc85xx: Configure QE USB for MPC8569E-MDS boards
Setup QE pin multiplexing for USB function, configure needed BCSRs and add some fdt fixups. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
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 5307488..d7c7d13 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
}