From: Anton Vorontsov Date: Wed, 9 Jan 2008 17:57:40 +0000 (+0300) Subject: mpc83xx: add "fsl, qe" compatible fixups X-Git-Tag: v1.3.2-rc1~100^2~32^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b3d2cde7a3aa1e83b7968cdff929e52c8cc617bb;p=oweals%2Fu-boot.git mpc83xx: add "fsl, qe" compatible fixups New device trees will use "fsl,qe" compatible properties. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips --- diff --git a/cpu/mpc83xx/fdt.c b/cpu/mpc83xx/fdt.c index f21c54e80b..909171fd4f 100644 --- a/cpu/mpc83xx/fdt.c +++ b/cpu/mpc83xx/fdt.c @@ -52,6 +52,12 @@ void ft_cpu_setup(void *blob, bd_t *bd) "bus-frequency", gd->qe_clk, 1); do_fixup_by_prop_u32(blob, "device_type", "qe", 4, "brg-frequency", gd->brg_clk, 1); + do_fixup_by_compat_u32(blob, "fsl,qe", + "clock-frequency", gd->qe_clk, 1); + do_fixup_by_compat_u32(blob, "fsl,qe", + "bus-frequency", gd->qe_clk, 1); + do_fixup_by_compat_u32(blob, "fsl,qe", + "brg-frequency", gd->brg_clk, 1); #endif #ifdef CFG_NS16550