]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc83xx: add "fsl, qe" compatible fixups
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 9 Jan 2008 17:57:40 +0000 (20:57 +0300)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 11 Jan 2008 02:52:47 +0000 (20:52 -0600)
New device trees will use "fsl,qe" compatible properties.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/fdt.c

index f21c54e80bc295e25bb5aaacc7643bdca3bf9d39..909171fd4f380ea05a67d98b5d90aa003e6e9b8d 100644 (file)
@@ -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