brcm2708: add linux 4.19 support
[oweals/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0180-overlays-pi3-disable-bt-Clear-out-bt_pins-node.patch
1 From 3bbbf9c1d2e2459c9a74adf0e7b771ac2b9f7451 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 29 Oct 2018 10:38:31 +0000
4 Subject: [PATCH 180/703] overlays: pi3-disable-bt: Clear out bt_pins node
5
6 The pi3-disable-bt overlay does not (and cannot) delete the bt_pins
7 node, but emptying its properties (including brcm,pins) is a way of
8 signalling to the hciuart systemd service that Bluetooth has been
9 disabled.
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
12 ---
13  arch/arm/boot/dts/overlays/pi3-disable-bt-overlay.dts | 9 +++++++++
14  1 file changed, 9 insertions(+)
15
16 --- a/arch/arm/boot/dts/overlays/pi3-disable-bt-overlay.dts
17 +++ b/arch/arm/boot/dts/overlays/pi3-disable-bt-overlay.dts
18 @@ -37,6 +37,15 @@
19         };
20  
21         fragment@3 {
22 +               target = <&bt_pins>;
23 +               __overlay__ {
24 +                       brcm,pins;
25 +                       brcm,function;
26 +                       brcm,pull;
27 +               };
28 +       };
29 +
30 +       fragment@4 {
31                 target-path = "/aliases";
32                 __overlay__ {
33                         serial0 = "/soc/serial@7e201000";