kernel: bump 5.4 to 5.4.143
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-5.4 / 950-0858-overlays-Fix-miniuart-bt-krnbt-parameter.patch
1 From 2d54451c77c85e153046baebdfedeabc224a59d7 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Thu, 2 Jul 2020 15:21:05 +0100
4 Subject: [PATCH] overlays: Fix miniuart-bt "krnbt" parameter
5
6 Although superficially appealing, an overlay parameter that targets a
7 label in the base DTB is not currently supported. Instead it is
8 necessary to create a fragment targeting the label which is patched
9 by the parameter.
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts | 8 +++++++-
14 1 file changed, 7 insertions(+), 1 deletion(-)
15
16 --- a/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts
17 +++ b/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts
18 @@ -81,7 +81,13 @@
19 };
20 };
21
22 + fragment@7 {
23 + target = <&minibt>;
24 + minibt_frag: __overlay__ {
25 + };
26 + };
27 +
28 __overrides__ {
29 - krnbt = <&minibt>,"status";
30 + krnbt = <&minibt_frag>,"status";
31 };
32 };