ARM: bcm2835: override the HW UART periphid
authorJongsung Kim <neidhard.kim@lge.com>
Thu, 30 May 2013 04:07:39 +0000 (22:07 -0600)
committerOlof Johansson <olof@lixom.net>
Sun, 2 Jun 2013 18:50:41 +0000 (11:50 -0700)
commit13731d862cf5219216533a3b0de052cee4cc5038
tree9717cd08378c708b4c03af3206bdc9e6ffa32ae8
parent04b5e56fc31bac04517ba7fc801736ba99088082
ARM: bcm2835: override the HW UART periphid

Stephen Warren reported the recent commit 78506f2 (add support for
extended FIFO-size of PL011-r1p5) breaks the serial port on the
BCM2835 ARM SoC.

A UART compatible with the ARM PL011-r1p5 should have 32-deep FIFOs.
The BCM2835 UART just looks like an ARM PL011-r1p5, but has 16-deep
FIFOs just like PL011-r1p4 or earlier revisions. As a workaround for
this compatibility issue, this patch overrides the HW UART periphid
register values with the actually compatible UART periphid 0x00241011
(r1p3 or r1p4).

Reported-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/bcm2835.dtsi