[U-Boot] [PATCH] arm: dts: omap: add reg-shift to serial device tree node

Simon Glass sjg at chromium.org
Thu Nov 26 18:49:54 CET 2015


On 26 November 2015 at 01:19, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> With the commit 'c7b9686d5d48 ("ns16550: unify serial_omap")' all
> TI platforms are broken with DM/DT boot as ns16550 driver expects
> reg-shift from DT which is not populated for TI platforms.
> Earlier it worked as it was hard coded to 2 in serial-omap
> driver. So adding the reg-shift to serial nodes for dra7, am4372
> and am33xx dtsi files. Tested this patch on am437x-sk-evm,
> am437x-gp-evm, am335x-boneblack, dra74x-evm and dra72x-evm.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> ---
>
> reg-shift was hard coded to 2 in both u-boot and kernel driver,
> so the DT entry was never added in TI platforms.
>
> Sending this fix first to u-boot as dm boot of TI platforms are
> failing to boot. Will be submitting the patch kernel also ASAP.
>
> ---
>  arch/arm/dts/am33xx.dtsi |  6 ++++++
>  arch/arm/dts/am4372.dtsi |  6 ++++++
>  arch/arm/dts/dra7.dtsi   | 10 ++++++++++
>  3 files changed, 22 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list