From: Kim Phillips Date: Mon, 2 May 2011 11:33:52 -0500 Subject: [U-Boot] [PATCH] mpc83xx fdt: do not adjust clock frequency of external UARTs In-Reply-To: <1302870633-14522-1-git-send-email-d.mueller@elsoft.ch> References: <1302870633-14522-1-git-send-email-d.mueller@elsoft.ch> Message-ID: <20110502113352.b8ca04cd.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 15 Apr 2011 14:30:33 +0200 David M?ller 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 > > --- > 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