mpc85xx: add mpic timer clock frequency to avoid boot log warning
authorJohn Crispin <john@openwrt.org>
Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)
commitd975bdf8569981760cb15fc32d3c027cf99ee246
tree74679f1c7f276e968ab2b3dfa0a2f26ae10b6f0a
parent0bd73d6ff0adb4de12eae71e5e0093ad01b9426a
mpc85xx: add mpic timer clock frequency to avoid boot log warning

MPIC timers are enabled in the config, however a devicetree clock setting
is missing causing the following error:
/soc@ffe00000/timer@41100: cannot get timer frequency.
/soc@ffe00000/timer@42100: cannot get timer frequency.

This patch adds the missing clock and avoids the error.
It's a functional copy of this code
do_fixup_by_compat_u32(blob, "fsl,mpic",
        "clock-frequency", get_bus_freq(0), 1);
in arch/powerpc/cpu/mpc85xx/fdt.c in the u-boot code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44501
target/linux/mpc85xx/patches-3.18/142-add-mpic-timer-clock-frequency.patch [new file with mode: 0644]