u-boot-brain/cpu/mpc85xx
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
..
commproc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk 85xx: Add -mno-spe to e500/85xx builds 2008-04-29 20:08:43 +02:00
cpu_init.c 85xx: init gd as early as possible 2008-12-04 03:15:43 -06:00
cpu.c Moved initialization of QE Ethernet controller to cpu_eth_init() 2008-11-09 21:38:03 -08:00
ddr-gen1.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ddr-gen2.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ddr-gen3.c 85xx: Fix the incorrect register used for DDR erratum1 2008-10-24 17:29:37 -05:00
ether_fcc.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 mpc85xx: Add support for the MPC8536 2008-08-27 11:43:54 -05:00
mp.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mp.h 85xx: Add cpu_mp_lmb_reserve helper to reserve boot page 2008-03-26 11:43:04 -05:00
mpc8536_serdes.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
pci.c 85xx: Add PORDEVSR_PCI1 define 2008-12-04 03:15:43 -06:00
qe_io.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
release.S 85xx: Add basic e500mc core support 2008-10-24 15:10:47 -05:00
resetvec.S * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
serial_scc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
speed.c Merge 'next' branch 2008-10-18 21:59:44 +02:00
start.S Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
tlb.c 85xx: Add support to populate addr map based on TLB settings 2008-12-19 18:20:08 -06:00
traps.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00