[U-Boot] [PATCH] arm: dts: omap: add reg-shift to serial device tree node
Thomas Chou
thomas at wytron.com.tw
Fri Nov 27 13:32:31 CET 2015
Hi Mugunthan,
On 2015年11月26日 17:19, Mugunthan V N 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(+)
>
Acked-by: Thomas Chou <thomas at wytron.com.tw>
More information about the U-Boot
mailing list