[U-Boot] [PATCH] mpc83xx fdt: do not adjust clock frequency of external UARTs

Kim Phillips
2011-05-02T16:33:52Z

On Fri, 15 Apr 2011 14:30:33 +0200
David M?ller <d.mueller@elsoft.ch> wrote:

> The current 83xx FDT implementation adjusts the clock frequency of all
> 16550 UARTs found in the device tree. This behaviour is ok for the UARTs
> which are part of the SoC, but wrong for any additional external UART.
>
> Signed-off-by: David M?ller <d.mueller@elsoft.ch>
>
> ---
> arch/powerpc/cpu/mpc83xx/fdt.c | 27 +++++++++++++++++++++++++--
> 1 files changed, 25 insertions(+), 2 deletions(-)

(a) this is not an mpc83xx-specific issue

(b) the fdt code here should instead be modified to only adjust clock
properties on UART nodes contained within the SoC node, not the entire
fdt.

Any UARTs not a part of the SoC should get their clocks updated in
board/ code (or, as in this case, set manually in the device tree).

Kim