ARM: dts: Add fake CTS signal to pi3-miniuart-bt
authorPhil Elwell <phil@raspberrypi.org>
Wed, 1 Nov 2017 12:24:28 +0000 (12:24 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:57:24 +0000 (15:57 +0100)
commit6e4b98f2d2e72d08ab1544486690baa02bc1bcc7
treeb89bba0820248b919e8da7acc02fbd152e27c791
parent51d87cac37edbd3d6dd79aa905813ac83d9aae49
ARM: dts: Add fake CTS signal to pi3-miniuart-bt

The Pi 3B rev 1.3 and the Pi Zero W have flow control signals to the
BT modem, which work well using UART0 (a.k.a. ttyAMA0). Because of
this, the pin wired to the modem's CTS line has to be held low in
order for it to transmit data.

Unfortunately the mini-UART (or its driver) appears to have a flow
control issue, causing hciattach to stall during modem initialisation.

As a workaround (potentially short-term), configure GPIO 31 as an
output driving low (the default state for an output).

See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=138223&start=100#p1228339

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/overlays/pi3-miniuart-bt-overlay.dts