mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
20402106a3
As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From 97230b9a008e1c6707ad1bafa4ebd4d6b11a022f Mon Sep 17 00:00:00 2001
|
|
From: David Lechner <david@lechnology.com>
|
|
Date: Mon, 27 Jun 2016 22:52:22 -0500
|
|
Subject: [PATCH 416/423] Add critical information for getting pi3-miniuart-bt
|
|
overlay to work
|
|
|
|
Bluetooth on RPi 3 using uart1 will not work without setting core_freq=250 in config.txt. This is not
|
|
documented anywhere, so this seems like a good place to start.
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -691,7 +691,9 @@ Info: Switch Pi3 Bluetooth function to
|
|
N.B. It is also necessary to edit /lib/systemd/system/hciuart.service
|
|
and replace ttyAMA0 with ttyS0, unless you have a system with udev rules
|
|
that create /dev/serial0 and /dev/serial1, in which case use
|
|
- /dev/serial1 instead because it will always be correct.
|
|
+ /dev/serial1 instead because it will always be correct. Furthermore,
|
|
+ you must also set core_freq=250 in config.txt or the miniuart will not
|
|
+ work.
|
|
Load: dtoverlay=pi3-miniuart-bt
|
|
Params: <None>
|
|
|