u-boot-brain/cpu/mpc86xx
Trent Piepho 58ec4866ed mpc8[56]xx: Put localbus clock in device tree
Export the localbus frequency in the device tree, the same way the CPU, TB,
CCB, and various other frequencies are exported in their respective device
tree nodes.

Some localbus devices need this information to be programed correctly, so
it makes sense to export it along with the other frequencies.

Unfortunately, when someone wrote the localbus dts bindings, they didn't
bother to define what the "compatible" property should be.  So it seems no
one was quite sure what to put in their dts files.

Based on current existing dts files in the kernel source, I've used
"fsl,pq3-localbus" and "fsl,elbc" for MPC85xx, which are used by almost all
of the 85xx devices, and are looked for by the Linux code.  The eLBC is
apparently not entirely backward compatible with the pq3 LBC and so eLBC
equipped platforms like 8572 won't use pq3-localbus.

For MPC86xx, I've used "fsl,elbc" which is used by some of the 86xx systems
and is also looked for by the Linux code.  On MPC8641, I've also used
"fsl,mpc8641-localbus" as it is also commonly used in dts files, some of
which don't use "fsl,elbc" or any other acceptable name to match on.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-19 18:20:20 -06:00
..
cache.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk PPC: Use r2 instead of r29 as global data pointer 2008-02-14 22:43:22 +01:00
cpu_init.c mpc86xx: Move setup_bats into cpu_init_f 2008-11-10 10:10:02 -06:00
cpu.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ddr-8641.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
fdt.c mpc8[56]xx: Put localbus clock in device tree 2008-12-19 18:20:20 -06:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile powerpc: change 86xx SMP boot method 2008-11-04 10:58:50 -06:00
mp.c powerpc: change 86xx SMP boot method 2008-11-04 10:58:50 -06:00
mp.h powerpc: change 86xx SMP boot method 2008-11-04 10:58:50 -06:00
release.S Fix new found CFG_ 2008-12-14 10:55:30 +01:00
speed.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
start.S Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
traps.c Fix some more print() format errors. 2008-07-11 01:16:00 +02:00