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>
Thu, 15 Feb 2018 17:41:07 +0000 (17:41 +0000)
commit82f4fcec509798f65b681f9fea0f15380471cbc7
tree811fd7b3ca28984edd35c057d7e3a8f84af7f0a8
parenta8212635aae2db7cb159ff731ccd67aa510c45ce
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