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)
commit2f544d56d0188cc89d7156ddfcf6932093fffda8
treeae76cf99292fed6382f72fddaec7bac86fbea10c
parent850b3169ed240659f39334760c9e295162fbed86
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]