kernel: bump 5.4 to 5.4.143
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-5.4 / 950-0962-ARM-dts-Limit-BT-modem-baud-rate-on-3B.patch
1 From 27f210c863d3349d41e366fb7573e9dcc0708e3d Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 4 Sep 2020 09:04:29 +0100
4 Subject: [PATCH] ARM: dts: Limit BT modem baud rate on 3B
5
6 The 3B doesn't have the flow control signals connected to the BT modem,
7 which limits the maximum usable baud rate to below 1 Mbaud. Use
8 921600 as a relatively safe default value, but the krnbt_baudrate
9 parameter can still override it.
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 4 ++++
14 1 file changed, 4 insertions(+)
15
16 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
17 +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
18 @@ -117,6 +117,10 @@
19 status = "okay";
20 };
21
22 +&bt {
23 + max-speed = <921600>;
24 +};
25 +
26 &spi0 {
27 pinctrl-names = "default";
28 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;